Skip to content

Use Repository managed by Doctrine automatically #3925

Use Repository managed by Doctrine automatically

Use Repository managed by Doctrine automatically #3925

Triggered via pull request February 17, 2025 14:44
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

30 errors
MoreSpecificReturnType: src/Component/src/Metadata/ResourceMetadata.php#L46
src/Component/src/Metadata/ResourceMetadata.php:46:16: MoreSpecificReturnType: The declared return type 'class-string|null' for Sylius\Resource\Metadata\ResourceMetadata::getClass is more specific than the inferred return type 'null|string' (see https://psalm.dev/070)
LessSpecificReturnStatement: src/Component/src/Metadata/ResourceMetadata.php#L50
src/Component/src/Metadata/ResourceMetadata.php:50:16: LessSpecificReturnStatement: The type 'null|string' is more general than the declared return type 'class-string|null' for Sylius\Resource\Metadata\ResourceMetadata::getClass (see https://psalm.dev/129)
PHP 8.3, Symfony ^7.1, ORM 2.*
Process completed with exit code 2.
MoreSpecificReturnType: src/Component/src/Metadata/ResourceMetadata.php#L46
src/Component/src/Metadata/ResourceMetadata.php:46:16: MoreSpecificReturnType: The declared return type 'class-string|null' for Sylius\Resource\Metadata\ResourceMetadata::getClass is more specific than the inferred return type 'null|string' (see https://psalm.dev/070)
LessSpecificReturnStatement: src/Component/src/Metadata/ResourceMetadata.php#L50
src/Component/src/Metadata/ResourceMetadata.php:50:16: LessSpecificReturnStatement: The type 'null|string' is more general than the declared return type 'class-string|null' for Sylius\Resource\Metadata\ResourceMetadata::getClass (see https://psalm.dev/129)
PHP 8.3, Symfony ^6.4, ORM 2.*
Process completed with exit code 2.
MoreSpecificReturnType: src/Component/src/Metadata/ResourceMetadata.php#L46
src/Component/src/Metadata/ResourceMetadata.php:46:16: MoreSpecificReturnType: The declared return type 'class-string|null' for Sylius\Resource\Metadata\ResourceMetadata::getClass is more specific than the inferred return type 'null|string' (see https://psalm.dev/070)
LessSpecificReturnStatement: src/Component/src/Metadata/ResourceMetadata.php#L50
src/Component/src/Metadata/ResourceMetadata.php:50:16: LessSpecificReturnStatement: The type 'null|string' is more general than the declared return type 'class-string|null' for Sylius\Resource\Metadata\ResourceMetadata::getClass (see https://psalm.dev/129)
PHP 8.3, Symfony ^7.1, ORM 3.*
Process completed with exit code 2.
MoreSpecificReturnType: src/Component/src/Metadata/ResourceMetadata.php#L46
src/Component/src/Metadata/ResourceMetadata.php:46:16: MoreSpecificReturnType: The declared return type 'class-string|null' for Sylius\Resource\Metadata\ResourceMetadata::getClass is more specific than the inferred return type 'null|string' (see https://psalm.dev/070)
LessSpecificReturnStatement: src/Component/src/Metadata/ResourceMetadata.php#L50
src/Component/src/Metadata/ResourceMetadata.php:50:16: LessSpecificReturnStatement: The type 'null|string' is more general than the declared return type 'class-string|null' for Sylius\Resource\Metadata\ResourceMetadata::getClass (see https://psalm.dev/129)
PHP 8.2, Symfony ^7.1, ORM 3.*
Process completed with exit code 2.
MoreSpecificReturnType: src/Component/src/Metadata/ResourceMetadata.php#L46
src/Component/src/Metadata/ResourceMetadata.php:46:16: MoreSpecificReturnType: The declared return type 'class-string|null' for Sylius\Resource\Metadata\ResourceMetadata::getClass is more specific than the inferred return type 'null|string' (see https://psalm.dev/070)
LessSpecificReturnStatement: src/Component/src/Metadata/ResourceMetadata.php#L50
src/Component/src/Metadata/ResourceMetadata.php:50:16: LessSpecificReturnStatement: The type 'null|string' is more general than the declared return type 'class-string|null' for Sylius\Resource\Metadata\ResourceMetadata::getClass (see https://psalm.dev/129)
PHP 8.2, Symfony ^6.4, ORM 3.*
Process completed with exit code 2.
MoreSpecificReturnType: src/Component/src/Metadata/ResourceMetadata.php#L46
src/Component/src/Metadata/ResourceMetadata.php:46:16: MoreSpecificReturnType: The declared return type 'class-string|null' for Sylius\Resource\Metadata\ResourceMetadata::getClass is more specific than the inferred return type 'null|string' (see https://psalm.dev/070)
LessSpecificReturnStatement: src/Component/src/Metadata/ResourceMetadata.php#L50
src/Component/src/Metadata/ResourceMetadata.php:50:16: LessSpecificReturnStatement: The type 'null|string' is more general than the declared return type 'class-string|null' for Sylius\Resource\Metadata\ResourceMetadata::getClass (see https://psalm.dev/129)
PHP 8.3, Symfony ^6.4, ORM 3.*
Process completed with exit code 2.
MoreSpecificReturnType: src/Component/src/Metadata/ResourceMetadata.php#L46
src/Component/src/Metadata/ResourceMetadata.php:46:16: MoreSpecificReturnType: The declared return type 'class-string|null' for Sylius\Resource\Metadata\ResourceMetadata::getClass is more specific than the inferred return type 'null|string' (see https://psalm.dev/070)
LessSpecificReturnStatement: src/Component/src/Metadata/ResourceMetadata.php#L50
src/Component/src/Metadata/ResourceMetadata.php:50:16: LessSpecificReturnStatement: The type 'null|string' is more general than the declared return type 'class-string|null' for Sylius\Resource\Metadata\ResourceMetadata::getClass (see https://psalm.dev/129)
PHP 8.1, Symfony ^6.4, ORM 2.*
Process completed with exit code 2.
MoreSpecificReturnType: src/Component/src/Metadata/ResourceMetadata.php#L46
src/Component/src/Metadata/ResourceMetadata.php:46:16: MoreSpecificReturnType: The declared return type 'class-string|null' for Sylius\Resource\Metadata\ResourceMetadata::getClass is more specific than the inferred return type 'null|string' (see https://psalm.dev/070)
LessSpecificReturnStatement: src/Component/src/Metadata/ResourceMetadata.php#L50
src/Component/src/Metadata/ResourceMetadata.php:50:16: LessSpecificReturnStatement: The type 'null|string' is more general than the declared return type 'class-string|null' for Sylius\Resource\Metadata\ResourceMetadata::getClass (see https://psalm.dev/129)
PHP 8.1, Symfony ^6.4, ORM 3.*
Process completed with exit code 2.
MoreSpecificReturnType: src/Component/src/Metadata/ResourceMetadata.php#L46
src/Component/src/Metadata/ResourceMetadata.php:46:16: MoreSpecificReturnType: The declared return type 'class-string|null' for Sylius\Resource\Metadata\ResourceMetadata::getClass is more specific than the inferred return type 'null|string' (see https://psalm.dev/070)
LessSpecificReturnStatement: src/Component/src/Metadata/ResourceMetadata.php#L50
src/Component/src/Metadata/ResourceMetadata.php:50:16: LessSpecificReturnStatement: The type 'null|string' is more general than the declared return type 'class-string|null' for Sylius\Resource\Metadata\ResourceMetadata::getClass (see https://psalm.dev/129)
PHP 8.2, Symfony ^6.4, ORM 2.*
Process completed with exit code 2.
MoreSpecificReturnType: src/Component/src/Metadata/ResourceMetadata.php#L46
src/Component/src/Metadata/ResourceMetadata.php:46:16: MoreSpecificReturnType: The declared return type 'class-string|null' for Sylius\Resource\Metadata\ResourceMetadata::getClass is more specific than the inferred return type 'null|string' (see https://psalm.dev/070)
LessSpecificReturnStatement: src/Component/src/Metadata/ResourceMetadata.php#L50
src/Component/src/Metadata/ResourceMetadata.php:50:16: LessSpecificReturnStatement: The type 'null|string' is more general than the declared return type 'class-string|null' for Sylius\Resource\Metadata\ResourceMetadata::getClass (see https://psalm.dev/129)
PHP 8.2, Symfony ^7.1, ORM 2.*
Process completed with exit code 2.