Quality assurance #1454
Annotations
6 errors and 1 warning
Psalm:
tests/BaseTest.php#L166
tests/BaseTest.php:166: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)
|
Psalm:
tests/BaseTest.php#L177
tests/BaseTest.php:177: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)
|
Psalm:
tests/CoreTest.php#L254
tests/CoreTest.php:254:35: InvalidArgument: 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 Sonata\EntityAuditBundle\Tests\Fixtures\Core\UserAudit::class provided (see https://psalm.dev/004)
|
Psalm:
tests/CoreTest.php#L294
tests/CoreTest.php:294:35: InvalidArgument: 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 Sonata\EntityAuditBundle\Tests\Fixtures\Core\ProfileAudit::class provided (see https://psalm.dev/004)
|
Psalm:
tests/Issue/Issue318Test.php#L38
tests/Issue/Issue318Test.php:38:47: 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<Sonata\EntityAuditBundle\Tests\Fixtures\Issue\Issue318User> provided (see https://psalm.dev/193)
|
Psalm
Process completed with exit code 2.
|
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/.
|
Loading