Quality assurance #9237
Annotations
11 errors and 2 warnings
|
Rector
Process completed with exit code 255.
|
|
PHPStan:
tests/Form/FormErrorIteratorToConstraintViolationListTest.php#L52
Generator expects value type array{int, iterable<Symfony\Component\Form\FormError>&Symfony\Component\Form\FormErrorIterator}, array{0, Symfony\Component\Form\FormErrorIterator<Symfony\Component\Form\FormError>} given.
|
|
PHPStan:
tests/Form/FormErrorIteratorToConstraintViolationListTest.php#L50
Parameter #2 $formErrors of method Sonata\AdminBundle\Tests\Form\FormErrorIteratorToConstraintViolationListTest::testTransform() expects iterable<Symfony\Component\Form\FormError>&Symfony\Component\Form\FormErrorIterator, Symfony\Component\Form\FormErrorIterator<*NEVER*> given.
|
|
PHPStan:
tests/Form/FormErrorIteratorToConstraintViolationListTest.php#L50
Generator expects value type array{int, iterable<Symfony\Component\Form\FormError>&Symfony\Component\Form\FormErrorIterator}, array{0, Symfony\Component\Form\FormErrorIterator<*NEVER*>} given.
|
|
PHPStan:
tests/Admin/PoolTest.php#L433
Method Sonata\AdminBundle\Tests\Admin\PoolTest::getGroupArray() should return array{label: string, translation_domain: string, label_catalogue?: string, icon: string, items: list<array{admin: string, roles: list<string>, route_absolute: bool, route_params: array<string, string>}|array{label: string, roles: list<string>, route: string, route_absolute: bool, route_params: array<string, string>}>, keep_open: bool, on_top: bool, provider?: string, ...} but returns array{label: '', translation_domain: '', icon: '', items: array{array{label: '', route: '', route_absolute: false, route_params: array{}, roles: array{}, admin?: string}}, keep_open: false, on_top: false, roles: array{}}.
|
|
PHPStan:
src/Security/Handler/AclSecurityHandler.php#L190
No error with identifier varTag.type is reported on line 190.
|
|
PHPStan:
src/Menu/Provider/GroupMenuProvider.php#L165
Offset 'route' on array{label: string, roles: list<string>, route: string, route_absolute: bool, route_params: array<string, string>} in isset() always exists and is not nullable.
|
|
PHPStan:
src/Menu/Provider/GroupMenuProvider.php#L165
Call to function assert() with true will always evaluate to true.
|
|
PHPStan:
src/Menu/Provider/GroupMenuProvider.php#L116
Offset 'roles' on array{admin: '', roles: list<string>, route_absolute: bool, route_params: array<string, string>}|array{label: string, roles: list<string>, route: string, route_absolute: bool, route_params: array<string, string>} in isset() always exists and is not nullable.
|
|
PHPStan:
src/Filter/Filter.php#L238
No error to ignore is reported on line 238.
|
|
PHPStan:
src/Admin/Pool.php#L100
No error to ignore is reported on line 100.
|
|
Rector
Node.js 20 is deprecated. The following actions target Node.js 20 but are being forced to run on Node.js 24: actions/cache@0400d5f644dc74513175e3cd8d07132dd4860809, actions/checkout@v4. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
|
|
PHPStan
Node.js 20 is deprecated. The following actions target Node.js 20 but are being forced to run on Node.js 24: actions/cache@0400d5f644dc74513175e3cd8d07132dd4860809, actions/checkout@v4. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
|