Improve compatibility with other operating systems #481
code-quality.yml
on: pull_request
code-quality
/
Lint GitHub Actions workflows
4s
code-quality
/
Lint PHP files
17s
code-quality
/
Lint Gherkin Feature files
21s
code-quality
/
Spell check
5s
code-quality
/
PHPCS
25s
code-quality
/
PHPStan
24s
Annotations
11 errors and 2 warnings
|
code-quality / PHPStan
Process completed with exit code 1.
|
|
code-quality / PHPStan:
src/Context/WhenStepDefinitions.php (in context of class WP_CLI/Tests/Context/FeatureContext)#L118
Parameter #1 $proc of method WP_CLI\Tests\Context\FeatureContext::wpcli_tests_invoke_proc() expects WP_CLI\Process, WP_CLI\Tests\Context\Process given.
|
|
code-quality / PHPStan:
src/Context/WhenStepDefinitions.php (in context of class WP_CLI/Tests/Context/FeatureContext)#L90
Parameter #1 $proc of method WP_CLI\Tests\Context\FeatureContext::wpcli_tests_invoke_proc() expects WP_CLI\Process, WP_CLI\Tests\Context\Process given.
|
|
code-quality / PHPStan:
src/Context/Process.php#L85
Parameter #2 $descriptorspec of function WP_CLI\Utils\proc_open_compat expects array<int, string>, array<int, array<int, (bool|string)>> given.
|
|
code-quality / PHPStan:
src/Context/Process.php#L52
Method WP_CLI\Tests\Context\Process::create() has parameter $env with no value type specified in iterable type array.
|
|
code-quality / PHPStan:
src/Context/Process.php#L43
Property WP_CLI\Tests\Context\Process::$run_times type has no value type specified in iterable type array.
|
|
code-quality / PHPStan:
src/Context/Process.php#L29
Property WP_CLI\Tests\Context\Process::$descriptors type has no value type specified in iterable type array.
|
|
code-quality / PHPStan:
src/Context/Process.php#L24
Property WP_CLI\Tests\Context\Process::$env type has no value type specified in iterable type array.
|
|
code-quality / PHPCS
Process completed with exit code 1.
|
|
code-quality / PHPCS:
tests/tests/TestBehatTags.php#L242
String "Imagick Loaded in Test: " does not require double quotes; use single quotes instead
|
|
code-quality / PHPCS
Process completed with exit code 2.
|
|
code-quality / PHPCS:
src/Context/Process.php#L85
Equals sign not aligned with surrounding assignments; expected 8 spaces but found 2 spaces
|
|
code-quality / PHPCS:
tests/tests/TestBehatTags.php#L69
Equals sign not aligned correctly; expected 1 space but found 2 spaces
|