v4 back compat work #438
static-analysis.yml
on: pull_request
Static Analysis
33s
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)#L23
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)#L23
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/.
|