replace test script with phpunit script and before and after scripts #25
main.yml
on: push
Composer config validation
3s
PHP syntax validation
2s
Matrix: phpstan
Annotations
12 errors and 3 warnings
phpstan (8.3):
Test/Case/Controller/Component/FilterComponentTest.php#L52
Undefined variable: $method
|
phpstan (8.3):
Test/Case/Controller/Component/FilterComponentTest.php#L210
Dead catch - InvalidArgumentException is never thrown in the try block.
|
phpstan (8.3):
Test/Case/Controller/Component/FilterComponentTest.php#L214
Unreachable statement - code above always terminates.
|
phpstan (8.3):
Test/Case/Controller/Component/FilterComponentTest.php#L309
Call to an undefined method FilterComponentTest::setExpectedException().
|
phpstan (8.3):
Test/Case/Controller/Component/FilterComponentTest.php#L315
Call to an undefined method FilterComponentTest::setExpectedException().
|
phpstan (8.3):
Test/Case/Model/Behaviors/FilteredBehaviorTest.php#L53
Parameter #1 $object of function get_class expects object, bool|object given.
|
phpstan (8.3):
Test/Case/Model/Behaviors/FilteredBehaviorTest.php#L134
Call to an undefined method AppModel|Document|Document2|Document3::setFilterValues().
|
phpstan (8.3):
Test/Case/Model/Behaviors/FilteredBehaviorTest.php#L135
Call to an undefined method AppModel|Document|Document2|Document3::getFilterValues().
|
phpstan (8.3):
Test/Case/Model/Behaviors/FilteredBehaviorTest.php#L155
Call to an undefined method AppModel|Document|Document2|Document3::setFilterValues().
|
phpstan (8.3):
Test/Case/Model/Behaviors/FilteredBehaviorTest.php#L157
Parameter #1 $exception of method PHPUnit\Framework\TestCase::expectException() expects class-string<Throwable>, string given.
|
phpstan (8.1)
The job was canceled because "_8_3" failed.
|
phpstan (8.2)
The job was canceled because "_8_3" failed.
|
PHP syntax validation
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
Composer config validation
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
phpstan (8.3)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|