Improve compatibility with other operating systems #491
code-quality.yml
on: pull_request
code-quality
/
Lint GitHub Actions workflows
8s
code-quality
/
Lint PHP files
21s
code-quality
/
Lint Gherkin Feature files
18s
code-quality
/
Spell check
6s
code-quality
/
PHPCS
22s
code-quality
/
PHPStan
23s
Annotations
10 errors
|
code-quality / PHPStan
Process completed with exit code 1.
|
|
code-quality / PHPStan:
tests/tests/TestBehatTags.php#L38
Method WP_CLI\Tests\Tests\TestBehatTags::remove_dir() has no return type specified.
|
|
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 / PHPStan:
src/Context/FeatureContext.php#L1203
Method WP_CLI\Tests\Context\FeatureContext::proc() has parameter $extra_env with no type specified.
|