Quality assurance #2285
Annotations
10 errors and 3 warnings
Rector
Process completed with exit code 1.
|
PHPStan:
src/Model/ModelManager.php#L194
Call to function array_filter() requires parameter #2 to be passed to avoid loose comparison semantics.
|
PHPStan
Process completed with exit code 1.
|
MissingClassConstType:
src/Filter/NumberFilter.php#L23
src/Filter/NumberFilter.php:23:19: MissingClassConstType: Class constant "Sonata\DoctrineMongoDBAdminBundle\Filter\NumberFilter::CHOICES" should have a declared type. (see https://psalm.dev/359)
|
MissingClassConstType:
src/Model/ModelManager.php#L40
src/Model/ModelManager.php:40:18: MissingClassConstType: Class constant "Sonata\DoctrineMongoDBAdminBundle\Model\ModelManager::ID_SEPARATOR" should have a declared type. (see https://psalm.dev/359)
|
MissingClassConstType:
src/Model/ModelManager.php#L42
src/Model/ModelManager.php:42:19: MissingClassConstType: Class constant "Sonata\DoctrineMongoDBAdminBundle\Model\ModelManager::BATCH_SIZE" should have a declared type. (see https://psalm.dev/359)
|
MissingClassConstType:
tests/App/DataFixtures/MongoDB/AuthorFixtures.php#L24
tests/App/DataFixtures/MongoDB/AuthorFixtures.php:24:18: MissingClassConstType: Class constant "Sonata\DoctrineMongoDBAdminBundle\Tests\App\DataFixtures\MongoDB\AuthorFixtures::AUTHOR" should have a declared type. (see https://psalm.dev/359)
|
MissingClassConstType:
tests/App/DataFixtures/MongoDB/CategoryFixtures.php#L22
tests/App/DataFixtures/MongoDB/CategoryFixtures.php:22:18: MissingClassConstType: Class constant "Sonata\DoctrineMongoDBAdminBundle\Tests\App\DataFixtures\MongoDB\CategoryFixtures::CATEGORY" should have a declared type. (see https://psalm.dev/359)
|
MissingClassConstType:
tests/Filter/FilterWithQueryBuilderTest.php#L23
tests/Filter/FilterWithQueryBuilderTest.php:23:21: MissingClassConstType: Class constant "Sonata\DoctrineMongoDBAdminBundle\Tests\Filter\FilterWithQueryBuilderTest::DEFAULT_FIELD_NAME" should have a declared type. (see https://psalm.dev/359)
|
Psalm
Process completed with exit code 2.
|
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/.
|
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/.
|
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/.
|