Skip to content

Quality assurance #1824

Quality assurance

Quality assurance #1824

Triggered via schedule May 10, 2024 00:47
Status Failure
Total duration 2m 49s
Artifacts

qa.yaml

on: schedule
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 3 warnings
MissingClassConstType: src/Admin/Extension/AbstractTranslatableAdminExtension.php#L34
src/Admin/Extension/AbstractTranslatableAdminExtension.php:34:18: MissingClassConstType: Class constant "Sonata\TranslationBundle\Admin\Extension\AbstractTranslatableAdminExtension::TRANSLATABLE_LOCALE_PARAMETER" should have a declared type. (see https://psalm.dev/359)
MissingClassConstType: src/Enum/TranslationFilterMode.php#L21
src/Enum/TranslationFilterMode.php:21:18: MissingClassConstType: Class constant "Sonata\TranslationBundle\Enum\TranslationFilterMode::KNPLABS" should have a declared type. (see https://psalm.dev/359)
MissingClassConstType: src/Enum/TranslationFilterMode.php#L22
src/Enum/TranslationFilterMode.php:22:18: MissingClassConstType: Class constant "Sonata\TranslationBundle\Enum\TranslationFilterMode::GEDMO" should have a declared type. (see https://psalm.dev/359)
MissingClassConstType: src/Enum/TranslationFilterMode.php#L24
src/Enum/TranslationFilterMode.php:24:18: MissingClassConstType: Class constant "Sonata\TranslationBundle\Enum\TranslationFilterMode::AVAILABLE_FILTER_TYPES" should have a declared type. (see https://psalm.dev/359)
UnusedPsalmSuppress: tests/Admin/Extension/AbstractTranslatableAdminExtensionTest.php#L32
tests/Admin/Extension/AbstractTranslatableAdminExtensionTest.php:32:24: UnusedPsalmSuppress: This suppression is never used (see https://psalm.dev/207)
MissingClassConstType: tests/App/DataFixtures/GedmoCategoryFixtures.php#L23
tests/App/DataFixtures/GedmoCategoryFixtures.php:23:18: MissingClassConstType: Class constant "Sonata\TranslationBundle\Tests\App\DataFixtures\GedmoCategoryFixtures::CATEGORY" should have a declared type. (see https://psalm.dev/359)
UndefinedInterfaceMethod: tests/App/DataFixtures/GedmoCategoryFixtures.php#L31
tests/App/DataFixtures/GedmoCategoryFixtures.php:31:15: UndefinedInterfaceMethod: Method Doctrine\Persistence\ObjectRepository::translate does not exist (see https://psalm.dev/181)
MissingClassConstType: tests/App/DataFixtures/KnpCategoryFixtures.php#L22
tests/App/DataFixtures/KnpCategoryFixtures.php:22:18: MissingClassConstType: Class constant "Sonata\TranslationBundle\Tests\App\DataFixtures\KnpCategoryFixtures::CATEGORY" should have a declared type. (see https://psalm.dev/359)
ArgumentTypeCoercion: tests/Traits/DoctrineOrmTestCase.php#L57
tests/Traits/DoctrineOrmTestCase.php:57:79: ArgumentTypeCoercion: Argument 1 of Doctrine\ORM\EntityManager::getClassMetadata expects TGeneratedFromParam0:fn-doctrine\orm\entitymanagerinterface::getclassmetadata as (class-string<T:fn-doctrine\orm\entitymanagerinterface::getclassmetadata as object>)|string, but parent type class-string provided (see https://psalm.dev/193)
MissingClassConstType: tests/Traits/GedmoOrmTest.php#L28
tests/Traits/GedmoOrmTest.php:28:18: MissingClassConstType: Class constant "Sonata\TranslationBundle\Tests\Traits\GedmoOrmTest::ARTICLE" should have a declared type. (see https://psalm.dev/359)
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/.