DevKit updates for 4.x branch #2209
Annotations
13 errors
|
PHPStan:
tests/Model/CategoryTest.php#L90
Method Sonata\ClassificationBundle\Model\Category@anonymous/tests/Model/CategoryTest.php:89::getId() never returns string so it can be removed from the return type.
|
|
PHPStan:
tests/Model/CategoryTest.php#L90
Method Sonata\ClassificationBundle\Model\Category@anonymous/tests/Model/CategoryTest.php:89::getId() never returns null so it can be removed from the return type.
|
|
PHPStan:
tests/Model/CategoryTest.php#L77
Method Sonata\ClassificationBundle\Model\Category@anonymous/tests/Model/CategoryTest.php:76::getId() never returns string so it can be removed from the return type.
|
|
PHPStan:
tests/Model/CategoryTest.php#L77
Method Sonata\ClassificationBundle\Model\Category@anonymous/tests/Model/CategoryTest.php:76::getId() never returns null so it can be removed from the return type.
|
|
PHPStan:
tests/Model/CategoryTest.php#L70
Method Sonata\ClassificationBundle\Model\Category@anonymous/tests/Model/CategoryTest.php:69::getId() never returns string so it can be removed from the return type.
|
|
PHPStan:
tests/Model/CategoryTest.php#L70
Method Sonata\ClassificationBundle\Model\Category@anonymous/tests/Model/CategoryTest.php:69::getId() never returns null so it can be removed from the return type.
|
|
PHPStan:
tests/Model/CategoryTest.php#L32
Method Sonata\ClassificationBundle\Model\Category@anonymous/tests/Model/CategoryTest.php:31::getId() never returns string so it can be removed from the return type.
|
|
PHPStan:
tests/Model/CategoryTest.php#L32
Method Sonata\ClassificationBundle\Model\Category@anonymous/tests/Model/CategoryTest.php:31::getId() never returns null so it can be removed from the return type.
|
|
PHPStan:
tests/Controller/CategoryAdminControllerTest.php#L269
Method Sonata\ClassificationBundle\Model\Category@anonymous/tests/Controller/CategoryAdminControllerTest.php:268::getId() never returns string so it can be removed from the return type.
|
|
PHPStan:
tests/Controller/CategoryAdminControllerTest.php#L269
Method Sonata\ClassificationBundle\Model\Category@anonymous/tests/Controller/CategoryAdminControllerTest.php:268::getId() never returns null so it can be removed from the return type.
|
|
Psalm
Process completed with exit code 2.
|
|
MissingTemplateParam:
tests/Admin/AdminTest.php#L54
tests/Admin/AdminTest.php:54:22: MissingTemplateParam: Sonata\ClassificationBundle\Tests\Admin\_home_runner_work_SonataClassificationBundle_SonataClassificationBundle_tests_Admin_AdminTest_php_54_1633 has missing template params when extending Sonata\ClassificationBundle\Admin\ContextAwareAdmin, expecting 1 (see https://psalm.dev/182)
|
|
MissingTemplateParam:
tests/Admin/AdminTest.php#L47
tests/Admin/AdminTest.php:47:22: MissingTemplateParam: Sonata\ClassificationBundle\Tests\Admin\_home_runner_work_SonataClassificationBundle_SonataClassificationBundle_tests_Admin_AdminTest_php_47_1391 has missing template params when extending Sonata\ClassificationBundle\Admin\ContextAwareAdmin, expecting 1 (see https://psalm.dev/182)
|