Skip to content

Add stringable access check to ClassConstantRule #20426

Add stringable access check to ClassConstantRule

Add stringable access check to ClassConstantRule #20426

Triggered via pull request July 12, 2025 21:24
Status Failure
Total duration 6m 54s
Artifacts 5

phar.yml

on: pull_request
Download base SHA PHAR
0s
Download base SHA PHAR
integration-tests  /  Check PHAR checksum
7s
integration-tests / Check PHAR checksum
extension-tests  /  Check PHAR checksum
7s
extension-tests / Check PHAR checksum
other-tests  /  Check PHAR checksum
4s
other-tests / Check PHAR checksum
Commit PHAR
0s
Commit PHAR
Checksum PHAR
0s
Checksum PHAR
PHAR Prefix Diff
0s
PHAR Prefix Diff
Matrix: integration-tests / integration-run-phpstan
Matrix: integration-tests / integration-tests
Matrix: extension-tests / Extension Tests
Matrix: other-tests / Other Tests
integration-tests  /  Integration - Update baselines
0s
integration-tests / Integration - Update baselines
Fit to window
Zoom out
Zoom in

Annotations

54 errors
integration-tests / Integration - bladestan/bladestan
Process completed with exit code 1.
integration-tests / Integration - bladestan/bladestan: src/TemplateCompiler/PHPStan/FileAnalyserProvider.php#L37
Method Bladestan\TemplateCompiler\PHPStan\FileAnalyserProvider::provide() throws checked exception PHPStan\DependencyInjection\MissingServiceException but it's missing from the PHPDoc @throws tag.
integration-tests / Integration - rectorphp/rector-src
Process completed with exit code 1.
integration-tests / Integration - rectorphp/rector-src
Process completed with exit code 1.
integration-tests / Integration - doctrine/orm: src/Query/Exec/MultiTableUpdateExecutor.php#L138
Parameter #1 $columns of method Doctrine\DBAL\Platforms\AbstractPlatform::getColumnDeclarationListSQL() expects list<array{name: string, type: Doctrine\DBAL\Types\Type, default: mixed, notnull?: bool, autoincrement: bool, columnDefinition: non-empty-string|null, comment: string, charset?: non-empty-string|null, ...}>, array<string, array{name: string, notnull: true, type: Doctrine\DBAL\Types\Type}> given.
integration-tests / Integration - doctrine/orm: src/Query/Exec/MultiTableDeleteExecutor.php#L98
Parameter #1 $columns of method Doctrine\DBAL\Platforms\AbstractPlatform::getColumnDeclarationListSQL() expects list<array{name: string, type: Doctrine\DBAL\Types\Type, default: mixed, notnull?: bool, autoincrement: bool, columnDefinition: non-empty-string|null, comment: string, charset?: non-empty-string|null, ...}>, array<string, array{name: string, notnull: true, type: Doctrine\DBAL\Types\Type}> given.
integration-tests / Integration - doctrine/orm: src/Persisters/Collection/OneToManyPersister.php#L225
Parameter #1 $columns of method Doctrine\DBAL\Platforms\AbstractPlatform::getColumnDeclarationListSQL() expects list<array{name: string, type: Doctrine\DBAL\Types\Type, default: mixed, notnull?: bool, autoincrement: bool, columnDefinition: non-empty-string|null, comment: string, charset?: non-empty-string|null, ...}>, array<string, array{name: string, notnull: true, type: Doctrine\DBAL\Types\Type}> given.
integration-tests / Integration - doctrine/orm: src/Mapping/DefaultQuoteStrategy.php#L116
Call to deprecated method quoteIdentifier() of class Doctrine\DBAL\Platforms\AbstractPlatform: Use {@link quoteSingleIdentifier()} individually for each part of a qualified name instead.
integration-tests / Integration - doctrine/orm: src/Mapping/DefaultQuoteStrategy.php#L90
Call to deprecated method quoteIdentifier() of class Doctrine\DBAL\Platforms\AbstractPlatform: Use {@link quoteSingleIdentifier()} individually for each part of a qualified name instead.
integration-tests / Integration - doctrine/orm: src/Mapping/DefaultQuoteStrategy.php#L72
Call to deprecated method quoteIdentifier() of class Doctrine\DBAL\Platforms\AbstractPlatform: Use {@link quoteSingleIdentifier()} individually for each part of a qualified name instead.
integration-tests / Integration - doctrine/orm: src/Mapping/DefaultQuoteStrategy.php#L62
Call to deprecated method quoteIdentifier() of class Doctrine\DBAL\Platforms\AbstractPlatform: Use {@link quoteSingleIdentifier()} individually for each part of a qualified name instead.
integration-tests / Integration - doctrine/orm: src/Mapping/DefaultQuoteStrategy.php#L55
Call to deprecated method quoteIdentifier() of class Doctrine\DBAL\Platforms\AbstractPlatform: Use {@link quoteSingleIdentifier()} individually for each part of a qualified name instead.
integration-tests / Integration - doctrine/orm: src/Mapping/DefaultQuoteStrategy.php#L45
Call to deprecated method quoteIdentifier() of class Doctrine\DBAL\Platforms\AbstractPlatform: Use {@link quoteSingleIdentifier()} individually for each part of a qualified name instead.
integration-tests / Integration - doctrine/orm: src/Mapping/DefaultQuoteStrategy.php#L27
Call to deprecated method quoteIdentifier() of class Doctrine\DBAL\Platforms\AbstractPlatform: Use {@link quoteSingleIdentifier()} individually for each part of a qualified name instead.
extension-tests / Extension Tests (8.0, phpstan-doctrine): src/Type/Doctrine/Descriptors/ObjectType.php#L14
Access to constant on deprecated class Doctrine\DBAL\Types\ObjectType: Use {@link JsonType} instead.
extension-tests / Extension Tests (8.0, phpstan-doctrine): src/Type/Doctrine/Descriptors/JsonArrayType.php#L15
Ignored error pattern #^Class Doctrine\\DBAL\\Types\\JsonArrayType not found\.$# in path /home/runner/work/phpstan-src/phpstan-src/extension/src/Type/Doctrine/Descriptors/JsonArrayType.php is expected to occur 1 time, but occurred 2 times.
extension-tests / Extension Tests (8.0, phpstan-doctrine): src/Type/Doctrine/Descriptors/ArrayType.php#L14
Ignored error pattern #^Access to constant on deprecated class Doctrine\\DBAL\\Types\\ArrayType\: Use \{@link JsonType\} instead\.$# (classConstant.deprecatedClass) in path /home/runner/work/phpstan-src/phpstan-src/extension/src/Type/Doctrine/Descriptors/ArrayType.php is expected to occur 1 time, but occurred 2 times.
extension-tests / Extension Tests (8.0, phpstan-doctrine): src/Type/Doctrine/Descriptors/ArrayType.php#L14
Access to constant on deprecated class Doctrine\DBAL\Types\ArrayType: Use {@link JsonType} instead.
extension-tests / Extension Tests (8.1, phpstan-doctrine): src/Type/Doctrine/Descriptors/ObjectType.php#L14
Access to constant on deprecated class Doctrine\DBAL\Types\ObjectType: Use {@link JsonType} instead.
extension-tests / Extension Tests (8.0, phpstan-doctrine): src/Type/Doctrine/DBAL/QueryBuilder/QueryBuilderExecuteMethodExtension.php#L62
Ignored error pattern #^Class Doctrine\\DBAL\\Driver\\ResultStatement not found\.$# in path /home/runner/work/phpstan-src/phpstan-src/extension/src/Type/Doctrine/DBAL/QueryBuilder/QueryBuilderExecuteMethodExtension.php is expected to occur 2 times, but occurred 4 times.
extension-tests / Extension Tests (8.1, phpstan-doctrine): src/Type/Doctrine/Descriptors/JsonArrayType.php#L15
Ignored error pattern #^Class Doctrine\\DBAL\\Types\\JsonArrayType not found\.$# in path /home/runner/work/phpstan-src/phpstan-src/extension/src/Type/Doctrine/Descriptors/JsonArrayType.php is expected to occur 1 time, but occurred 2 times.
extension-tests / Extension Tests (8.0, phpstan-doctrine): src/Doctrine/Mapping/ClassMetadataFactory.php#L31
Ignored error pattern #^Access to constant on deprecated class Doctrine\\ORM\\Mapping\\Driver\\AnnotationDriver\: This class will be removed in 3\.0 without replacement\.$# (classConstant.deprecatedClass) in path /home/runner/work/phpstan-src/phpstan-src/extension/src/Doctrine/Mapping/ClassMetadataFactory.php is expected to occur 1 time, but occurred 2 times.
extension-tests / Extension Tests (8.0, phpstan-doctrine): 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.
extension-tests / Extension Tests (8.1, phpstan-doctrine): src/Type/Doctrine/Descriptors/ArrayType.php#L14
Ignored error pattern #^Access to constant on deprecated class Doctrine\\DBAL\\Types\\ArrayType\: Use \{@link JsonType\} instead\.$# (classConstant.deprecatedClass) in path /home/runner/work/phpstan-src/phpstan-src/extension/src/Type/Doctrine/Descriptors/ArrayType.php is expected to occur 1 time, but occurred 2 times.
extension-tests / Extension Tests (8.1, phpstan-doctrine): src/Type/Doctrine/Descriptors/ArrayType.php#L14
Access to constant on deprecated class Doctrine\DBAL\Types\ArrayType: Use {@link JsonType} instead.
extension-tests / Extension Tests (8.1, phpstan-doctrine): src/Type/Doctrine/DBAL/QueryBuilder/QueryBuilderExecuteMethodExtension.php#L62
Ignored error pattern #^Class Doctrine\\DBAL\\Driver\\ResultStatement not found\.$# in path /home/runner/work/phpstan-src/phpstan-src/extension/src/Type/Doctrine/DBAL/QueryBuilder/QueryBuilderExecuteMethodExtension.php is expected to occur 2 times, but occurred 4 times.
extension-tests / Extension Tests (8.1, phpstan-doctrine): src/Doctrine/Mapping/ClassMetadataFactory.php#L31
Ignored error pattern #^Access to constant on deprecated class Doctrine\\ORM\\Mapping\\Driver\\AnnotationDriver\: This class will be removed in 3\.0 without replacement\.$# (classConstant.deprecatedClass) in path /home/runner/work/phpstan-src/phpstan-src/extension/src/Doctrine/Mapping/ClassMetadataFactory.php is expected to occur 1 time, but occurred 2 times.
extension-tests / Extension Tests (8.1, phpstan-doctrine): 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.
extension-tests / Extension Tests (8.2, phpstan-doctrine): src/Type/Doctrine/Descriptors/ObjectType.php#L14
Access to constant on deprecated class Doctrine\DBAL\Types\ObjectType: Use {@link JsonType} instead.
extension-tests / Extension Tests (8.2, phpstan-doctrine): src/Type/Doctrine/Descriptors/JsonArrayType.php#L15
Ignored error pattern #^Class Doctrine\\DBAL\\Types\\JsonArrayType not found\.$# in path /home/runner/work/phpstan-src/phpstan-src/extension/src/Type/Doctrine/Descriptors/JsonArrayType.php is expected to occur 1 time, but occurred 2 times.
extension-tests / Extension Tests (8.2, phpstan-doctrine): src/Type/Doctrine/Descriptors/ArrayType.php#L14
Ignored error pattern #^Access to constant on deprecated class Doctrine\\DBAL\\Types\\ArrayType\: Use \{@link JsonType\} instead\.$# (classConstant.deprecatedClass) in path /home/runner/work/phpstan-src/phpstan-src/extension/src/Type/Doctrine/Descriptors/ArrayType.php is expected to occur 1 time, but occurred 2 times.
extension-tests / Extension Tests (8.2, phpstan-doctrine): src/Type/Doctrine/Descriptors/ArrayType.php#L14
Access to constant on deprecated class Doctrine\DBAL\Types\ArrayType: Use {@link JsonType} instead.
extension-tests / Extension Tests (8.2, phpstan-doctrine): src/Type/Doctrine/DBAL/QueryBuilder/QueryBuilderExecuteMethodExtension.php#L62
Ignored error pattern #^Class Doctrine\\DBAL\\Driver\\ResultStatement not found\.$# in path /home/runner/work/phpstan-src/phpstan-src/extension/src/Type/Doctrine/DBAL/QueryBuilder/QueryBuilderExecuteMethodExtension.php is expected to occur 2 times, but occurred 4 times.
extension-tests / Extension Tests (8.2, phpstan-doctrine): src/Doctrine/Mapping/ClassMetadataFactory.php#L31
Ignored error pattern #^Access to constant on deprecated class Doctrine\\ORM\\Mapping\\Driver\\AnnotationDriver\: This class will be removed in 3\.0 without replacement\.$# (classConstant.deprecatedClass) in path /home/runner/work/phpstan-src/phpstan-src/extension/src/Doctrine/Mapping/ClassMetadataFactory.php is expected to occur 1 time, but occurred 2 times.
extension-tests / Extension Tests (8.2, phpstan-doctrine): 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.
extension-tests / Extension Tests (7.4, phpstan-doctrine): src/Type/Doctrine/Descriptors/ObjectType.php#L14
Access to constant on deprecated class Doctrine\DBAL\Types\ObjectType: Use {@link JsonType} instead.
extension-tests / Extension Tests (7.4, phpstan-doctrine): src/Type/Doctrine/Descriptors/JsonArrayType.php#L15
Ignored error pattern #^Class Doctrine\\DBAL\\Types\\JsonArrayType not found\.$# in path /home/runner/work/phpstan-src/phpstan-src/extension/src/Type/Doctrine/Descriptors/JsonArrayType.php is expected to occur 1 time, but occurred 2 times.
extension-tests / Extension Tests (7.4, phpstan-doctrine): src/Type/Doctrine/Descriptors/ArrayType.php#L14
Ignored error pattern #^Access to constant on deprecated class Doctrine\\DBAL\\Types\\ArrayType\: Use \{@link JsonType\} instead\.$# (classConstant.deprecatedClass) in path /home/runner/work/phpstan-src/phpstan-src/extension/src/Type/Doctrine/Descriptors/ArrayType.php is expected to occur 1 time, but occurred 2 times.
extension-tests / Extension Tests (7.4, phpstan-doctrine): src/Type/Doctrine/Descriptors/ArrayType.php#L14
Access to constant on deprecated class Doctrine\DBAL\Types\ArrayType: Use {@link JsonType} instead.
extension-tests / Extension Tests (7.4, phpstan-doctrine): src/Type/Doctrine/DBAL/QueryBuilder/QueryBuilderExecuteMethodExtension.php#L62
Ignored error pattern #^Class Doctrine\\DBAL\\Driver\\ResultStatement not found\.$# in path /home/runner/work/phpstan-src/phpstan-src/extension/src/Type/Doctrine/DBAL/QueryBuilder/QueryBuilderExecuteMethodExtension.php is expected to occur 2 times, but occurred 4 times.
extension-tests / Extension Tests (7.4, phpstan-doctrine): src/Doctrine/Mapping/ClassMetadataFactory.php#L31
Ignored error pattern #^Access to constant on deprecated class Doctrine\\ORM\\Mapping\\Driver\\AnnotationDriver\: This class will be removed in 3\.0 without replacement\.$# (classConstant.deprecatedClass) in path /home/runner/work/phpstan-src/phpstan-src/extension/src/Doctrine/Mapping/ClassMetadataFactory.php is expected to occur 1 time, but occurred 2 times.
extension-tests / Extension Tests (7.4, phpstan-doctrine): 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.

Artifacts

Produced during runtime
Name Size Digest
baselines-bladestan-baseline.neon Expired
403 Bytes
sha256:476cc662d59daa1d7e89d81e27882b3ddec60666e1b72e59f1b80c95ca8c9c97
baselines-doctrine-orm-baseline.neon Expired
1.45 KB
sha256:89c18af5d3811e372960b08bd30a0f5e21afe5b28cbb6223789d569ea877695b
baselines-rector-baseline.neon Expired
506 Bytes
sha256:2d224baadce85374811d9ad449212d1389c706ea7073e3f982466f3eb1a3ad56
phar-file Expired
3.63 MB
sha256:42379decfd4ab8a0ba023475d4c0895ad290eb69ab97ec64b05347cfabc2d0e2
phar-file-checksum Expired
3.63 MB
sha256:3e6a18c56ded1a463db927391c553a8951207c9ec481ba3efec55e70bdff1f6e