Skip to content

Fix: active state in side menu for nested child admins #7826

Fix: active state in side menu for nested child admins

Fix: active state in side menu for nested child admins #7826

Triggered via pull request April 10, 2024 14:55
Status Failure
Total duration 1m 7s
Artifacts

qa.yaml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

6 errors and 3 warnings
InvalidArgument: tests/Menu/Matcher/Voter/AdminVoterTest.php#L65
tests/Menu/Matcher/Voter/AdminVoterTest.php:65:111: InvalidArgument: Argument 3 of Sonata\AdminBundle\Tests\Menu\Matcher\Voter\AdminVoterTest::getNestedChildAdmin expects string, but true provided (see https://psalm.dev/004)
InvalidArgument: tests/Menu/Matcher/Voter/AdminVoterTest.php#L66
tests/Menu/Matcher/Voter/AdminVoterTest.php:66:115: InvalidArgument: Argument 3 of Sonata\AdminBundle\Tests\Menu\Matcher\Voter\AdminVoterTest::getNestedChildAdmin expects string, but true provided (see https://psalm.dev/004)
Psalm
Process completed with exit code 2.
PHPStan: tests/Menu/Matcher/Voter/AdminVoterTest.php#L65
Parameter #3 $childCode of method Sonata\AdminBundle\Tests\Menu\Matcher\Voter\AdminVoterTest::getNestedChildAdmin() expects string, true given.
PHPStan: tests/Menu/Matcher/Voter/AdminVoterTest.php#L66
Parameter #3 $childCode of method Sonata\AdminBundle\Tests\Menu\Matcher\Voter\AdminVoterTest::getNestedChildAdmin() expects string, true given.
PHPStan
Process completed with exit code 1.
Psalm
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/cache@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
PHPStan
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/cache@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Rector
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/cache@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.