Skip to content

Initial setup for file serve #3336

Initial setup for file serve

Initial setup for file serve #3336

Triggered via pull request August 25, 2025 21:44
Status Failure
Total duration 5m 29s
Artifacts

integrate.yaml

on: pull_request
Unit test  /  Supported Versions Matrix
4s
Unit test / Supported Versions Matrix
Code Coverage  /  Code Coverage
5m 25s
Code Coverage / Code Coverage
Coding Standards
54s
Coding Standards
Check architecture
20s
Check architecture
xml-lint
1m 19s
xml-lint
Matrix: Lint root / Lint yaml & Composer
Matrix: Static analysis / Static Code Analysis
Matrix: Unit test / Tests
Functional test  /  Supported Versions Matrix
3s
Functional test / Supported Versions Matrix
integration test  /  Supported Versions Matrix
5s
integration test / Supported Versions Matrix
Matrix: Functional test / Tests
Matrix: integration test / Tests
Fit to window
Zoom out
Zoom in

Annotations

20 errors
Static analysis / Static Code Analysis (8.2): packages/guides-cli/src/Command/Run.php#L70
Property phpDocumentor\Guides\Cli\Command\Run::$themeManager is never read, only written.
Static analysis / Static Code Analysis (8.2): packages/guides-cli/src/Command/Run.php#L0
Ignored error pattern #^Parameter \#2 \$documentArray of class phpDocumentor\\Guides\\Handlers\\RenderCommand constructor expects array\<phpDocumentor\\Guides\\Nodes\\DocumentNode\>, mixed given\.$# in path /home/runner/work/guides/guides/packages/guides-cli/src/Command/Run.php was not matched in reported errors.
Static analysis / Static Code Analysis (8.2): packages/guides-cli/src/Command/Run.php#L0
Ignored error pattern #^Parameter \#1 \$value of function count expects array\|Countable, mixed given\.$# in path /home/runner/work/guides/guides/packages/guides-cli/src/Command/Run.php was not matched in reported errors.
Static analysis / Static Code Analysis (8.2): packages/guides-cli/src/Command/Run.php#L0
Ignored error pattern #^Parameter \#1 \$showProgressBar of method phpDocumentor\\Guides\\Settings\\ProjectSettings\:\:setShowProgressBar\(\) expects bool, mixed given\.$# in path /home/runner/work/guides/guides/packages/guides-cli/src/Command/Run.php was not matched in reported errors.
Static analysis / Static Code Analysis (8.2): packages/guides-cli/src/Command/Run.php#L0
Ignored error pattern #^Parameter \#1 \$outputFormats of method phpDocumentor\\Guides\\Settings\\ProjectSettings\:\:setOutputFormats\(\) expects array\<string\>, mixed given\.$# in path /home/runner/work/guides/guides/packages/guides-cli/src/Command/Run.php was not matched in reported errors.
Static analysis / Static Code Analysis (8.2): packages/guides-cli/src/Command/Run.php#L0
Ignored error pattern #^Parameter \#1 \$documents of class phpDocumentor\\Guides\\Handlers\\CompileDocumentsCommand constructor expects array\<phpDocumentor\\Guides\\Nodes\\DocumentNode\>, mixed given\.$# in path /home/runner/work/guides/guides/packages/guides-cli/src/Command/Run.php was not matched in reported errors.
Static analysis / Static Code Analysis (8.2): packages/guides-cli/src/Command/Run.php#L0
Ignored error pattern #^Cannot cast mixed to string\.$# in path /home/runner/work/guides/guides/packages/guides-cli/src/Command/Run.php was not matched in reported errors.
Static analysis / Static Code Analysis (8.2): packages/guides-cli/src/Command/Run.php#L0
Ignored error pattern #^Call to function method_exists\(\) with phpDocumentor\\Guides\\Settings\\ProjectSettings and 'setExcludes' will always evaluate to true\.$# in path /home/runner/work/guides/guides/packages/guides-cli/src/Command/Run.php was not matched in reported errors.
Static analysis / Static Code Analysis (8.2): packages/guides-cli/src/Command/Run.php#L0
Ignored error pattern #^Call to function method_exists\(\) with phpDocumentor\\Guides\\Settings\\ProjectSettings and 'getExcludes' will always evaluate to true\.$# in path /home/runner/work/guides/guides/packages/guides-cli/src/Command/Run.php was not matched in reported errors.
Static analysis / Static Code Analysis (8.2): packages/filesystem/src/FlysystemV1/FlysystemV1.php#L81
Call to an undefined method League\Flysystem\FilesystemInterface::directoryExists().
Coding Standards: packages/guides-cli/src/Internal/Watcher/INotifyWatcher.php#L7
Type Evenement\EventEmitter is not used in this file.
Coding Standards: packages/guides-cli/src/Internal/RunCommandHandler.php#L104
Function array_reduce() should not be referenced via a fallback global name, but via a use statement.
Coding Standards: packages/guides-cli/src/Internal/RunCommandHandler.php#L102
Function assert() should not be referenced via a fallback global name, but via a use statement.
Coding Standards: packages/guides-cli/src/Internal/RunCommandHandler.php#L101
Function array_shift() should not be referenced via a fallback global name, but via a use statement.
Coding Standards: packages/guides-cli/src/Internal/RunCommandHandler.php#L100
Function array_map() should not be referenced via a fallback global name, but via a use statement.
Coding Standards: packages/guides-cli/src/Internal/RunCommandHandler.php#L89
Function method_exists() should not be referenced via a fallback global name, but via a use statement.
Coding Standards: packages/guides-cli/src/Internal/RunCommandHandler.php#L33
Method \phpDocumentor\Guides\Cli\Internal\RunCommandHandler::handle() does not have @return annotation for its traversable return value.
Coding Standards: packages/guides-cli/src/Internal/RunCommandHandler.php#L30
The closing parenthesis and the opening brace of a multi-line function declaration must be on the same line
Coding Standards: packages/guides-cli/resources/config/services.php#L61
Space found before semicolon; expected ");" but found ")\n ;"
Coding Standards: packages/guides-cli/resources/config/services.php#L11
Use statements should be sorted alphabetically. The first wrong one is phpDocumentor\Guides\Cli\Command\SettingsBuilder.