Skip to content

v4 back compat work #440

v4 back compat work

v4 back compat work #440

Triggered via pull request January 31, 2024 09:00
Status Failure
Total duration 42s
Artifacts

static-analysis.yml

on: pull_request
Static Analysis
30s
Static Analysis
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 1 warning
Static Analysis: src/Adapters/Symfony/Component/Process/Process.php#L32
Parameter #1 $haystack of function str_contains expects string, string|false given.
Static Analysis: src/Adapters/Symfony/Component/Process/Process.php#L38
Call to an undefined method lucatume\WPBrowser\Adapters\Symfony\Component\Process\Process::inheritEnvironmentVariables().
Static Analysis: src/Module/WPBrowser.php#L54
Parameter #2 $callback of function array_filter expects (callable(Symfony\Component\BrowserKit\Cookie): bool)|null, Closure(mixed): (0|1|false) given.
Static Analysis: src/Module/WPWebDriver.php#L145
Parameter #2 $callback of function array_filter expects (callable(Symfony\Component\BrowserKit\Cookie): bool)|null, Closure(mixed): (0|1|false) given.
Static Analysis: src/TestCase/WPTestCasePHPUnitMethodsTrait.php (in context of class lucatume/WPBrowser/TestCase/WPTestCase)#L10
Method lucatume\WPBrowser\TestCase\WPTestCase::setUpBeforeClass() has no return type specified.
Static Analysis: src/TestCase/WPTestCasePHPUnitMethodsTrait.php (in context of class lucatume/WPBrowser/TestCase/WPTestCase)#L10
Return type mixed of method lucatume\WPBrowser\TestCase\WPTestCase::setUpBeforeClass() is not covariant with return type void of method Codeception\PHPUnit\TestCase::setUpBeforeClass().
Static Analysis: src/TestCase/WPTestCasePHPUnitMethodsTrait.php (in context of class lucatume/WPBrowser/TestCase/WPTestCase)#L16
Method lucatume\WPBrowser\TestCase\WPTestCase::setUp() has no return type specified.
Static Analysis: src/TestCase/WPTestCasePHPUnitMethodsTrait.php (in context of class lucatume/WPBrowser/TestCase/WPTestCase)#L16
Return type mixed of method lucatume\WPBrowser\TestCase\WPTestCase::setUp() is not covariant with return type void of method Codeception\PHPUnit\TestCase::setUp().
Static Analysis: src/TestCase/WPTestCasePHPUnitMethodsTrait.php (in context of class lucatume/WPBrowser/TestCase/WPTestCase)#L32
Method lucatume\WPBrowser\TestCase\WPTestCase::tearDown() has no return type specified.
Static Analysis: src/TestCase/WPTestCasePHPUnitMethodsTrait.php (in context of class lucatume/WPBrowser/TestCase/WPTestCase)#L32
Return type mixed of method lucatume\WPBrowser\TestCase\WPTestCase::tearDown() is not covariant with return type void of method Codeception\PHPUnit\TestCase::tearDown().
Static Analysis
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/cache@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.