Skip to content

Improve EntityColumnRule for enums #1401

Improve EntityColumnRule for enums

Improve EntityColumnRule for enums #1401

Triggered via pull request September 3, 2025 13:58
Status Failure
Total duration 1m 38s
Artifacts

build.yml

on: pull_request
Coding Standard
25s
Coding Standard
Matrix: Lint
Matrix: PHPStan
Matrix: Tests
Fit to window
Zoom out
Zoom in

Annotations

40 errors
PHPStan (8.3)
Process completed with exit code 2.
PHPStan (8.3): tests/Rules/Doctrine/ORM/EntityColumnRuleTest.php#L64
Parameter #2 $className of static method Doctrine\DBAL\Types\Type::addType() expects class-string<Doctrine\DBAL\Types\Type>, string given.
PHPStan (8.3): tests/Rules/Doctrine/ORM/EntityColumnRuleTest.php#L64
Class Doctrine\DBAL\Types\EnumType not found.
PHPStan (8.3, composer require --dev doctrine/orm:^3.0 doctrine/dbal:^4.0 carbonphp/carbon-doctri...: tests/Rules/DeadCode/entity-manager.php#L18
Call to method __construct() of deprecated class Doctrine\ORM\Mapping\Driver\AnnotationDriver: This class will be removed in 3.0 without replacement. Copyright (c) Doctrine Project From https://github.com/doctrine/orm/blob/40fbbf4429b0d66517244051237a2bd0616a7a13/src/Mapping/Driver/AnnotationDriver.php
PHPStan (8.3, composer require --dev doctrine/orm:^3.0 doctrine/dbal:^4.0 carbonphp/carbon-doctri...: tests/Platform/QueryResultTypeWalkerFetchTypeMatrixTest.php#L5102
Instantiation of deprecated class Doctrine\ORM\Mapping\Driver\AnnotationDriver: This class will be removed in 3.0 without replacement. Copyright (c) Doctrine Project From https://github.com/doctrine/orm/blob/40fbbf4429b0d66517244051237a2bd0616a7a13/src/Mapping/Driver/AnnotationDriver.php
PHPStan (8.3, composer require --dev doctrine/orm:^3.0 doctrine/dbal:^4.0 carbonphp/carbon-doctri...: tests/Platform/QueryResultTypeWalkerFetchTypeMatrixTest.php#L5102
Call to method __construct() of deprecated class Doctrine\ORM\Mapping\Driver\AnnotationDriver: This class will be removed in 3.0 without replacement. Copyright (c) Doctrine Project From https://github.com/doctrine/orm/blob/40fbbf4429b0d66517244051237a2bd0616a7a13/src/Mapping/Driver/AnnotationDriver.php
PHPStan (8.3, composer require --dev doctrine/orm:^3.0 doctrine/dbal:^4.0 carbonphp/carbon-doctri...: tests/DoctrineIntegration/ORM/entity-manager.php#L16
Instantiation of deprecated class Doctrine\ORM\Mapping\Driver\AnnotationDriver: This class will be removed in 3.0 without replacement. Copyright (c) Doctrine Project From https://github.com/doctrine/orm/blob/40fbbf4429b0d66517244051237a2bd0616a7a13/src/Mapping/Driver/AnnotationDriver.php
PHPStan (8.3, composer require --dev doctrine/orm:^3.0 doctrine/dbal:^4.0 carbonphp/carbon-doctri...: tests/DoctrineIntegration/ORM/entity-manager.php#L16
Call to method __construct() of deprecated class Doctrine\ORM\Mapping\Driver\AnnotationDriver: This class will be removed in 3.0 without replacement. Copyright (c) Doctrine Project From https://github.com/doctrine/orm/blob/40fbbf4429b0d66517244051237a2bd0616a7a13/src/Mapping/Driver/AnnotationDriver.php
PHPStan (8.3, composer require --dev doctrine/orm:^3.0 doctrine/dbal:^4.0 carbonphp/carbon-doctri...: tests/Classes/entity-manager.php#L20
Instantiation of deprecated class Doctrine\ORM\Mapping\Driver\AnnotationDriver: This class will be removed in 3.0 without replacement. Copyright (c) Doctrine Project From https://github.com/doctrine/orm/blob/40fbbf4429b0d66517244051237a2bd0616a7a13/src/Mapping/Driver/AnnotationDriver.php
PHPStan (8.3, composer require --dev doctrine/orm:^3.0 doctrine/dbal:^4.0 carbonphp/carbon-doctri...: tests/Classes/entity-manager.php#L20
Call to method __construct() of deprecated class Doctrine\ORM\Mapping\Driver\AnnotationDriver: This class will be removed in 3.0 without replacement. Copyright (c) Doctrine Project From https://github.com/doctrine/orm/blob/40fbbf4429b0d66517244051237a2bd0616a7a13/src/Mapping/Driver/AnnotationDriver.php
PHPStan (8.3, composer require --dev doctrine/orm:^3.0 doctrine/dbal:^4.0 carbonphp/carbon-doctri...: src/Doctrine/Mapping/ClassMetadataFactory.php#L34
Instantiation of deprecated class Doctrine\ORM\Mapping\Driver\AnnotationDriver: This class will be removed in 3.0 without replacement. Copyright (c) Doctrine Project From https://github.com/doctrine/orm/blob/40fbbf4429b0d66517244051237a2bd0616a7a13/src/Mapping/Driver/AnnotationDriver.php
PHPStan (8.3, composer require --dev doctrine/orm:^3.0 doctrine/dbal:^4.0 carbonphp/carbon-doctri...: src/Doctrine/Mapping/ClassMetadataFactory.php#L34
Call to method __construct() of deprecated class Doctrine\ORM\Mapping\Driver\AnnotationDriver: This class will be removed in 3.0 without replacement. Copyright (c) Doctrine Project From https://github.com/doctrine/orm/blob/40fbbf4429b0d66517244051237a2bd0616a7a13/src/Mapping/Driver/AnnotationDriver.php
PHPStan (8.3, composer require --dev doctrine/orm:^3.0 doctrine/dbal:^4.0 carbonphp/carbon-doctri...: src/Doctrine/Mapping/ClassMetadataFactory.php#L31
Access to constant on deprecated class Doctrine\ORM\Mapping\Driver\AnnotationDriver: This class will be removed in 3.0 without replacement. Copyright (c) Doctrine Project From https://github.com/doctrine/orm/blob/40fbbf4429b0d66517244051237a2bd0616a7a13/src/Mapping/Driver/AnnotationDriver.php
PHPStan (8.0)
Process completed with exit code 2.
PHPStan (8.0): tests/Rules/Doctrine/ORM/EntityColumnRuleTest.php#L64
Parameter #2 $className of static method Doctrine\DBAL\Types\Type::addType() expects class-string<Doctrine\DBAL\Types\Type>, string given.
PHPStan (8.0): tests/Rules/Doctrine/ORM/EntityColumnRuleTest.php#L64
Class Doctrine\DBAL\Types\EnumType not found.
PHPStan (8.4)
Process completed with exit code 2.
PHPStan (8.4): tests/Rules/Doctrine/ORM/EntityColumnRuleTest.php#L64
Parameter #2 $className of static method Doctrine\DBAL\Types\Type::addType() expects class-string<Doctrine\DBAL\Types\Type>, string given.
PHPStan (8.4): tests/Rules/Doctrine/ORM/EntityColumnRuleTest.php#L64
Class Doctrine\DBAL\Types\EnumType not found.
PHPStan (8.2)
Process completed with exit code 2.
PHPStan (8.2): tests/Rules/Doctrine/ORM/EntityColumnRuleTest.php#L64
Parameter #2 $className of static method Doctrine\DBAL\Types\Type::addType() expects class-string<Doctrine\DBAL\Types\Type>, string given.
PHPStan (8.2): tests/Rules/Doctrine/ORM/EntityColumnRuleTest.php#L64
Class Doctrine\DBAL\Types\EnumType not found.
PHPStan (8.1)
Process completed with exit code 2.
PHPStan (8.1): tests/Rules/Doctrine/ORM/EntityColumnRuleTest.php#L64
Parameter #2 $className of static method Doctrine\DBAL\Types\Type::addType() expects class-string<Doctrine\DBAL\Types\Type>, string given.
PHPStan (8.1): tests/Rules/Doctrine/ORM/EntityColumnRuleTest.php#L64
Class Doctrine\DBAL\Types\EnumType not found.
PHPStan (7.4)
Process completed with exit code 2.
PHPStan (7.4): tests/Rules/Doctrine/ORM/EntityColumnRuleTest.php#L64
Parameter #2 $className of static method Doctrine\DBAL\Types\Type::addType() expects class-string<Doctrine\DBAL\Types\Type>, string given.
PHPStan (7.4): tests/Rules/Doctrine/ORM/EntityColumnRuleTest.php#L64
Class Doctrine\DBAL\Types\EnumType not found.
Tests (8.3, highest)
Process completed with exit code 2.
Tests (8.4, lowest)
Process completed with exit code 2.
Tests (8.2, lowest)
Process completed with exit code 2.
Tests (8.2, highest)
Process completed with exit code 2.
Tests (8.3, lowest)
Process completed with exit code 2.
Tests (8.4, highest)
Process completed with exit code 2.
Tests (8.0, lowest)
Process completed with exit code 2.
Tests (8.0, highest)
Process completed with exit code 2.
Tests (8.1, lowest)
Process completed with exit code 2.
Tests (7.4, lowest)
Process completed with exit code 2.
Tests (8.1, highest)
Process completed with exit code 2.
Tests (7.4, highest)
Process completed with exit code 2.