Initial setup for file serve #3336
integrate.yaml
on: pull_request
Unit test
/
Supported Versions Matrix
4s
Code Coverage
/
Code Coverage
5m 25s
Coding Standards
54s
Check architecture
20s
xml-lint
1m 19s
Matrix: Lint root / Lint yaml & Composer
Matrix: Static analysis / Static Code Analysis
Matrix: Unit test / Tests
Matrix: Functional test / Tests
Matrix: integration test / Tests
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.
|