Skip to content

Use Repository managed by Doctrine automatically #3923

Use Repository managed by Doctrine automatically

Use Repository managed by Doctrine automatically #3923

Triggered via pull request February 17, 2025 14:21
Status Failure
Total duration 53s
Artifacts
This run and associated checks have been archived and are scheduled for deletion. Learn more about checks retention

build.yml

on: pull_request
Matrix: tests
Fit to window
Zoom out
Zoom in

Annotations

70 errors
PossiblyInvalidArgument: src/Component/src/Doctrine/Orm/State/Provider.php#L60
src/Component/src/Doctrine/Orm/State/Provider.php:60:51: PossiblyInvalidArgument: Argument 1 of Sylius\Resource\Reflection\CallableReflection::from expects callable, but possibly different type callable|null|string provided (see https://psalm.dev/092)
PossiblyNullFunctionCall: src/Component/src/Doctrine/Orm/State/Provider.php#L78
src/Component/src/Doctrine/Orm/State/Provider.php:78:17: PossiblyNullFunctionCall: Cannot call function on possibly null value (see https://psalm.dev/094)
ArgumentTypeCoercion: src/Component/src/Doctrine/Orm/State/Provider.php#L123
src/Component/src/Doctrine/Orm/State/Provider.php:123:44: ArgumentTypeCoercion: Argument 1 of Doctrine\ORM\EntityManagerInterface::getRepository expects class-string, but parent type string provided (see https://psalm.dev/193)
PossiblyInvalidArgument: src/Component/src/Doctrine/Orm/State/Provider.php#L126
src/Component/src/Doctrine/Orm/State/Provider.php:126:34: PossiblyInvalidArgument: Argument 1 of Psr\Container\ContainerInterface::has expects string, but possibly different type callable|string provided (see https://psalm.dev/092)
PossiblyInvalidArgument: src/Component/src/Doctrine/Orm/State/Provider.php#L127
src/Component/src/Doctrine/Orm/State/Provider.php:127:96: PossiblyInvalidArgument: Argument 2 of sprintf expects float|int|object{__tostring()}|string, but possibly different type callable|string provided (see https://psalm.dev/092)
PossiblyInvalidArgument: src/Component/src/Doctrine/Orm/State/Provider.php#L130
src/Component/src/Doctrine/Orm/State/Provider.php:130:36: PossiblyInvalidArgument: Argument 1 of Psr\Container\ContainerInterface::get expects string, but possibly different type callable|string provided (see https://psalm.dev/092)
PHP 8.3, Symfony ^7.1, ORM 2.*
Process completed with exit code 2.
PossiblyInvalidArgument: src/Component/src/Doctrine/Orm/State/Provider.php#L60
src/Component/src/Doctrine/Orm/State/Provider.php:60:51: PossiblyInvalidArgument: Argument 1 of Sylius\Resource\Reflection\CallableReflection::from expects callable, but possibly different type callable|null|string provided (see https://psalm.dev/092)
PossiblyNullFunctionCall: src/Component/src/Doctrine/Orm/State/Provider.php#L78
src/Component/src/Doctrine/Orm/State/Provider.php:78:17: PossiblyNullFunctionCall: Cannot call function on possibly null value (see https://psalm.dev/094)
ArgumentTypeCoercion: src/Component/src/Doctrine/Orm/State/Provider.php#L123
src/Component/src/Doctrine/Orm/State/Provider.php:123:44: ArgumentTypeCoercion: Argument 1 of Doctrine\ORM\EntityManagerInterface::getRepository expects class-string, but parent type string provided (see https://psalm.dev/193)
PossiblyInvalidArgument: src/Component/src/Doctrine/Orm/State/Provider.php#L126
src/Component/src/Doctrine/Orm/State/Provider.php:126:34: PossiblyInvalidArgument: Argument 1 of Psr\Container\ContainerInterface::has expects string, but possibly different type callable|string provided (see https://psalm.dev/092)
PossiblyInvalidArgument: src/Component/src/Doctrine/Orm/State/Provider.php#L127
src/Component/src/Doctrine/Orm/State/Provider.php:127:96: PossiblyInvalidArgument: Argument 2 of sprintf expects float|int|object{__tostring()}|string, but possibly different type callable|string provided (see https://psalm.dev/092)
PossiblyInvalidArgument: src/Component/src/Doctrine/Orm/State/Provider.php#L130
src/Component/src/Doctrine/Orm/State/Provider.php:130:36: PossiblyInvalidArgument: Argument 1 of Psr\Container\ContainerInterface::get expects string, but possibly different type callable|string provided (see https://psalm.dev/092)
PHP 8.3, Symfony ^6.4, ORM 3.*
Process completed with exit code 2.
PossiblyInvalidArgument: src/Component/src/Doctrine/Orm/State/Provider.php#L60
src/Component/src/Doctrine/Orm/State/Provider.php:60:51: PossiblyInvalidArgument: Argument 1 of Sylius\Resource\Reflection\CallableReflection::from expects callable, but possibly different type callable|null|string provided (see https://psalm.dev/092)
PossiblyNullFunctionCall: src/Component/src/Doctrine/Orm/State/Provider.php#L78
src/Component/src/Doctrine/Orm/State/Provider.php:78:17: PossiblyNullFunctionCall: Cannot call function on possibly null value (see https://psalm.dev/094)
ArgumentTypeCoercion: src/Component/src/Doctrine/Orm/State/Provider.php#L123
src/Component/src/Doctrine/Orm/State/Provider.php:123:44: ArgumentTypeCoercion: Argument 1 of Doctrine\ORM\EntityManagerInterface::getRepository expects class-string, but parent type string provided (see https://psalm.dev/193)
PossiblyInvalidArgument: src/Component/src/Doctrine/Orm/State/Provider.php#L126
src/Component/src/Doctrine/Orm/State/Provider.php:126:34: PossiblyInvalidArgument: Argument 1 of Psr\Container\ContainerInterface::has expects string, but possibly different type callable|string provided (see https://psalm.dev/092)
PossiblyInvalidArgument: src/Component/src/Doctrine/Orm/State/Provider.php#L127
src/Component/src/Doctrine/Orm/State/Provider.php:127:96: PossiblyInvalidArgument: Argument 2 of sprintf expects float|int|object{__tostring()}|string, but possibly different type callable|string provided (see https://psalm.dev/092)
PossiblyInvalidArgument: src/Component/src/Doctrine/Orm/State/Provider.php#L130
src/Component/src/Doctrine/Orm/State/Provider.php:130:36: PossiblyInvalidArgument: Argument 1 of Psr\Container\ContainerInterface::get expects string, but possibly different type callable|string provided (see https://psalm.dev/092)
PHP 8.2, Symfony ^6.4, ORM 2.*
Process completed with exit code 2.
PossiblyInvalidArgument: src/Component/src/Doctrine/Orm/State/Provider.php#L60
src/Component/src/Doctrine/Orm/State/Provider.php:60:51: PossiblyInvalidArgument: Argument 1 of Sylius\Resource\Reflection\CallableReflection::from expects callable, but possibly different type callable|null|string provided (see https://psalm.dev/092)
PossiblyNullFunctionCall: src/Component/src/Doctrine/Orm/State/Provider.php#L78
src/Component/src/Doctrine/Orm/State/Provider.php:78:17: PossiblyNullFunctionCall: Cannot call function on possibly null value (see https://psalm.dev/094)
ArgumentTypeCoercion: src/Component/src/Doctrine/Orm/State/Provider.php#L123
src/Component/src/Doctrine/Orm/State/Provider.php:123:44: ArgumentTypeCoercion: Argument 1 of Doctrine\ORM\EntityManagerInterface::getRepository expects class-string, but parent type string provided (see https://psalm.dev/193)
PossiblyInvalidArgument: src/Component/src/Doctrine/Orm/State/Provider.php#L126
src/Component/src/Doctrine/Orm/State/Provider.php:126:34: PossiblyInvalidArgument: Argument 1 of Psr\Container\ContainerInterface::has expects string, but possibly different type callable|string provided (see https://psalm.dev/092)
PossiblyInvalidArgument: src/Component/src/Doctrine/Orm/State/Provider.php#L127
src/Component/src/Doctrine/Orm/State/Provider.php:127:96: PossiblyInvalidArgument: Argument 2 of sprintf expects float|int|object{__tostring()}|string, but possibly different type callable|string provided (see https://psalm.dev/092)
PossiblyInvalidArgument: src/Component/src/Doctrine/Orm/State/Provider.php#L130
src/Component/src/Doctrine/Orm/State/Provider.php:130:36: PossiblyInvalidArgument: Argument 1 of Psr\Container\ContainerInterface::get expects string, but possibly different type callable|string provided (see https://psalm.dev/092)
PHP 8.2, Symfony ^7.1, ORM 3.*
Process completed with exit code 2.
PossiblyInvalidArgument: src/Component/src/Doctrine/Orm/State/Provider.php#L60
src/Component/src/Doctrine/Orm/State/Provider.php:60:51: PossiblyInvalidArgument: Argument 1 of Sylius\Resource\Reflection\CallableReflection::from expects callable, but possibly different type callable|null|string provided (see https://psalm.dev/092)
PossiblyNullFunctionCall: src/Component/src/Doctrine/Orm/State/Provider.php#L78
src/Component/src/Doctrine/Orm/State/Provider.php:78:17: PossiblyNullFunctionCall: Cannot call function on possibly null value (see https://psalm.dev/094)
ArgumentTypeCoercion: src/Component/src/Doctrine/Orm/State/Provider.php#L123
src/Component/src/Doctrine/Orm/State/Provider.php:123:44: ArgumentTypeCoercion: Argument 1 of Doctrine\ORM\EntityManagerInterface::getRepository expects class-string, but parent type string provided (see https://psalm.dev/193)
PossiblyInvalidArgument: src/Component/src/Doctrine/Orm/State/Provider.php#L126
src/Component/src/Doctrine/Orm/State/Provider.php:126:34: PossiblyInvalidArgument: Argument 1 of Psr\Container\ContainerInterface::has expects string, but possibly different type callable|string provided (see https://psalm.dev/092)
PossiblyInvalidArgument: src/Component/src/Doctrine/Orm/State/Provider.php#L127
src/Component/src/Doctrine/Orm/State/Provider.php:127:96: PossiblyInvalidArgument: Argument 2 of sprintf expects float|int|object{__tostring()}|string, but possibly different type callable|string provided (see https://psalm.dev/092)
PossiblyInvalidArgument: src/Component/src/Doctrine/Orm/State/Provider.php#L130
src/Component/src/Doctrine/Orm/State/Provider.php:130:36: PossiblyInvalidArgument: Argument 1 of Psr\Container\ContainerInterface::get expects string, but possibly different type callable|string provided (see https://psalm.dev/092)
PHP 8.2, Symfony ^6.4, ORM 3.*
Process completed with exit code 2.
PossiblyInvalidArgument: src/Component/src/Doctrine/Orm/State/Provider.php#L60
src/Component/src/Doctrine/Orm/State/Provider.php:60:51: PossiblyInvalidArgument: Argument 1 of Sylius\Resource\Reflection\CallableReflection::from expects callable, but possibly different type callable|null|string provided (see https://psalm.dev/092)
PossiblyNullFunctionCall: src/Component/src/Doctrine/Orm/State/Provider.php#L78
src/Component/src/Doctrine/Orm/State/Provider.php:78:17: PossiblyNullFunctionCall: Cannot call function on possibly null value (see https://psalm.dev/094)
ArgumentTypeCoercion: src/Component/src/Doctrine/Orm/State/Provider.php#L123
src/Component/src/Doctrine/Orm/State/Provider.php:123:44: ArgumentTypeCoercion: Argument 1 of Doctrine\ORM\EntityManagerInterface::getRepository expects class-string, but parent type string provided (see https://psalm.dev/193)
PossiblyInvalidArgument: src/Component/src/Doctrine/Orm/State/Provider.php#L126
src/Component/src/Doctrine/Orm/State/Provider.php:126:34: PossiblyInvalidArgument: Argument 1 of Psr\Container\ContainerInterface::has expects string, but possibly different type callable|string provided (see https://psalm.dev/092)
PossiblyInvalidArgument: src/Component/src/Doctrine/Orm/State/Provider.php#L127
src/Component/src/Doctrine/Orm/State/Provider.php:127:96: PossiblyInvalidArgument: Argument 2 of sprintf expects float|int|object{__tostring()}|string, but possibly different type callable|string provided (see https://psalm.dev/092)
PossiblyInvalidArgument: src/Component/src/Doctrine/Orm/State/Provider.php#L130
src/Component/src/Doctrine/Orm/State/Provider.php:130:36: PossiblyInvalidArgument: Argument 1 of Psr\Container\ContainerInterface::get expects string, but possibly different type callable|string provided (see https://psalm.dev/092)
PHP 8.1, Symfony ^6.4, ORM 3.*
Process completed with exit code 2.
PossiblyInvalidArgument: src/Component/src/Doctrine/Orm/State/Provider.php#L60
src/Component/src/Doctrine/Orm/State/Provider.php:60:51: PossiblyInvalidArgument: Argument 1 of Sylius\Resource\Reflection\CallableReflection::from expects callable, but possibly different type callable|null|string provided (see https://psalm.dev/092)
PossiblyNullFunctionCall: src/Component/src/Doctrine/Orm/State/Provider.php#L78
src/Component/src/Doctrine/Orm/State/Provider.php:78:17: PossiblyNullFunctionCall: Cannot call function on possibly null value (see https://psalm.dev/094)
ArgumentTypeCoercion: src/Component/src/Doctrine/Orm/State/Provider.php#L123
src/Component/src/Doctrine/Orm/State/Provider.php:123:44: ArgumentTypeCoercion: Argument 1 of Doctrine\ORM\EntityManagerInterface::getRepository expects class-string, but parent type string provided (see https://psalm.dev/193)
PossiblyInvalidArgument: src/Component/src/Doctrine/Orm/State/Provider.php#L126
src/Component/src/Doctrine/Orm/State/Provider.php:126:34: PossiblyInvalidArgument: Argument 1 of Psr\Container\ContainerInterface::has expects string, but possibly different type callable|string provided (see https://psalm.dev/092)
PossiblyInvalidArgument: src/Component/src/Doctrine/Orm/State/Provider.php#L127
src/Component/src/Doctrine/Orm/State/Provider.php:127:96: PossiblyInvalidArgument: Argument 2 of sprintf expects float|int|object{__tostring()}|string, but possibly different type callable|string provided (see https://psalm.dev/092)
PossiblyInvalidArgument: src/Component/src/Doctrine/Orm/State/Provider.php#L130
src/Component/src/Doctrine/Orm/State/Provider.php:130:36: PossiblyInvalidArgument: Argument 1 of Psr\Container\ContainerInterface::get expects string, but possibly different type callable|string provided (see https://psalm.dev/092)
PHP 8.3, Symfony ^6.4, ORM 2.*
Process completed with exit code 2.
PossiblyInvalidArgument: src/Component/src/Doctrine/Orm/State/Provider.php#L60
src/Component/src/Doctrine/Orm/State/Provider.php:60:51: PossiblyInvalidArgument: Argument 1 of Sylius\Resource\Reflection\CallableReflection::from expects callable, but possibly different type callable|null|string provided (see https://psalm.dev/092)
PossiblyNullFunctionCall: src/Component/src/Doctrine/Orm/State/Provider.php#L78
src/Component/src/Doctrine/Orm/State/Provider.php:78:17: PossiblyNullFunctionCall: Cannot call function on possibly null value (see https://psalm.dev/094)
ArgumentTypeCoercion: src/Component/src/Doctrine/Orm/State/Provider.php#L123
src/Component/src/Doctrine/Orm/State/Provider.php:123:44: ArgumentTypeCoercion: Argument 1 of Doctrine\ORM\EntityManagerInterface::getRepository expects class-string, but parent type string provided (see https://psalm.dev/193)
PossiblyInvalidArgument: src/Component/src/Doctrine/Orm/State/Provider.php#L126
src/Component/src/Doctrine/Orm/State/Provider.php:126:34: PossiblyInvalidArgument: Argument 1 of Psr\Container\ContainerInterface::has expects string, but possibly different type callable|string provided (see https://psalm.dev/092)
PossiblyInvalidArgument: src/Component/src/Doctrine/Orm/State/Provider.php#L127
src/Component/src/Doctrine/Orm/State/Provider.php:127:96: PossiblyInvalidArgument: Argument 2 of sprintf expects float|int|object{__tostring()}|string, but possibly different type callable|string provided (see https://psalm.dev/092)
PossiblyInvalidArgument: src/Component/src/Doctrine/Orm/State/Provider.php#L130
src/Component/src/Doctrine/Orm/State/Provider.php:130:36: PossiblyInvalidArgument: Argument 1 of Psr\Container\ContainerInterface::get expects string, but possibly different type callable|string provided (see https://psalm.dev/092)
PHP 8.3, Symfony ^7.1, ORM 3.*
Process completed with exit code 2.
PossiblyInvalidArgument: src/Component/src/Doctrine/Orm/State/Provider.php#L60
src/Component/src/Doctrine/Orm/State/Provider.php:60:51: PossiblyInvalidArgument: Argument 1 of Sylius\Resource\Reflection\CallableReflection::from expects callable, but possibly different type callable|null|string provided (see https://psalm.dev/092)
PossiblyNullFunctionCall: src/Component/src/Doctrine/Orm/State/Provider.php#L78
src/Component/src/Doctrine/Orm/State/Provider.php:78:17: PossiblyNullFunctionCall: Cannot call function on possibly null value (see https://psalm.dev/094)
ArgumentTypeCoercion: src/Component/src/Doctrine/Orm/State/Provider.php#L123
src/Component/src/Doctrine/Orm/State/Provider.php:123:44: ArgumentTypeCoercion: Argument 1 of Doctrine\ORM\EntityManagerInterface::getRepository expects class-string, but parent type string provided (see https://psalm.dev/193)
PossiblyInvalidArgument: src/Component/src/Doctrine/Orm/State/Provider.php#L126
src/Component/src/Doctrine/Orm/State/Provider.php:126:34: PossiblyInvalidArgument: Argument 1 of Psr\Container\ContainerInterface::has expects string, but possibly different type callable|string provided (see https://psalm.dev/092)
PossiblyInvalidArgument: src/Component/src/Doctrine/Orm/State/Provider.php#L127
src/Component/src/Doctrine/Orm/State/Provider.php:127:96: PossiblyInvalidArgument: Argument 2 of sprintf expects float|int|object{__tostring()}|string, but possibly different type callable|string provided (see https://psalm.dev/092)
PossiblyInvalidArgument: src/Component/src/Doctrine/Orm/State/Provider.php#L130
src/Component/src/Doctrine/Orm/State/Provider.php:130:36: PossiblyInvalidArgument: Argument 1 of Psr\Container\ContainerInterface::get expects string, but possibly different type callable|string provided (see https://psalm.dev/092)
PHP 8.1, Symfony ^6.4, ORM 2.*
Process completed with exit code 2.
PossiblyInvalidArgument: src/Component/src/Doctrine/Orm/State/Provider.php#L60
src/Component/src/Doctrine/Orm/State/Provider.php:60:51: PossiblyInvalidArgument: Argument 1 of Sylius\Resource\Reflection\CallableReflection::from expects callable, but possibly different type callable|null|string provided (see https://psalm.dev/092)
PossiblyNullFunctionCall: src/Component/src/Doctrine/Orm/State/Provider.php#L78
src/Component/src/Doctrine/Orm/State/Provider.php:78:17: PossiblyNullFunctionCall: Cannot call function on possibly null value (see https://psalm.dev/094)
ArgumentTypeCoercion: src/Component/src/Doctrine/Orm/State/Provider.php#L123
src/Component/src/Doctrine/Orm/State/Provider.php:123:44: ArgumentTypeCoercion: Argument 1 of Doctrine\ORM\EntityManagerInterface::getRepository expects class-string, but parent type string provided (see https://psalm.dev/193)
PossiblyInvalidArgument: src/Component/src/Doctrine/Orm/State/Provider.php#L126
src/Component/src/Doctrine/Orm/State/Provider.php:126:34: PossiblyInvalidArgument: Argument 1 of Psr\Container\ContainerInterface::has expects string, but possibly different type callable|string provided (see https://psalm.dev/092)
PossiblyInvalidArgument: src/Component/src/Doctrine/Orm/State/Provider.php#L127
src/Component/src/Doctrine/Orm/State/Provider.php:127:96: PossiblyInvalidArgument: Argument 2 of sprintf expects float|int|object{__tostring()}|string, but possibly different type callable|string provided (see https://psalm.dev/092)
PossiblyInvalidArgument: src/Component/src/Doctrine/Orm/State/Provider.php#L130
src/Component/src/Doctrine/Orm/State/Provider.php:130:36: PossiblyInvalidArgument: Argument 1 of Psr\Container\ContainerInterface::get expects string, but possibly different type callable|string provided (see https://psalm.dev/092)
PHP 8.2, Symfony ^7.1, ORM 2.*
Process completed with exit code 2.