Skip to content

WIP fix unit tests #3 #23

WIP fix unit tests #3

WIP fix unit tests #3 #23

Triggered via push May 28, 2024 13:21
Status Failure
Total duration 38s
Artifacts

main.yml

on: push
Composer config validation
3s
Composer config validation
PHP syntax validation
2s
PHP syntax validation
Matrix: phpstan
Fit to window
Zoom out
Zoom in

Annotations

21 errors and 4 warnings
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): Test/Case/Controller/Component/FilterComponentTest.php#L210
Dead catch - InvalidArgumentException is never thrown in the try block.
phpstan (8.1): Test/Case/Controller/Component/FilterComponentTest.php#L214
Unreachable statement - code above always terminates.
phpstan (8.1): Test/Case/Controller/Component/FilterComponentTest.php#L309
Call to an undefined method FilterComponentTest::setExpectedException().
phpstan (8.1): Test/Case/Controller/Component/FilterComponentTest.php#L315
Call to an undefined method FilterComponentTest::setExpectedException().
phpstan (8.1): Test/Case/Model/Behaviors/FilteredBehaviorTest.php#L53
Parameter #1 $object of function get_class expects object, bool|object given.
phpstan (8.1): Test/Case/Model/Behaviors/FilteredBehaviorTest.php#L134
Call to an undefined method AppModel|Document|Document2|Document3::setFilterValues().
phpstan (8.1): Test/Case/Model/Behaviors/FilteredBehaviorTest.php#L135
Call to an undefined method AppModel|Document|Document2|Document3::getFilterValues().
phpstan (8.1): Test/Case/Model/Behaviors/FilteredBehaviorTest.php#L155
Call to an undefined method AppModel|Document|Document2|Document3::setFilterValues().
phpstan (8.1): Test/Case/Model/Behaviors/FilteredBehaviorTest.php#L157
Parameter #1 $exception of method PHPUnit\Framework\TestCase::expectException() expects class-string<Throwable>, string given.
phpstan (8.2)
The job was canceled because "_8_3" failed.
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/.
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/.
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/.
phpstan (8.1)
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/.