Skip to content

Fix false positive for aliases matching PHP class names #1618

Fix false positive for aliases matching PHP class names

Fix false positive for aliases matching PHP class names #1618

Triggered via pull request January 28, 2026 23:10
Status Failure
Total duration 1m 24s
Artifacts

build.yml

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

Annotations

11 errors
PHPStan (8.4)
Process completed with exit code 2.
PHPStan (8.4): tests/DoctrineIntegration/ODM/document-manager.php#L10
Call to deprecated method setProxyDir() of class Doctrine\ODM\MongoDB\Configuration: Since 2.16, proxy directory is no longer used when native lazy objects are enabled.
PHPStan (8.2)
Process completed with exit code 2.
PHPStan (8.2): tests/DoctrineIntegration/ODM/document-manager.php#L10
Call to deprecated method setProxyDir() of class Doctrine\ODM\MongoDB\Configuration: Since 2.16, proxy directory is no longer used when native lazy objects are enabled.
PHPStan (8.3)
Process completed with exit code 2.
PHPStan (8.3): tests/DoctrineIntegration/ODM/document-manager.php#L10
Call to deprecated method setProxyDir() of class Doctrine\ODM\MongoDB\Configuration: Since 2.16, proxy directory is no longer used when native lazy objects are enabled.
PHPStan (8.1)
Process completed with exit code 2.
PHPStan (8.1): tests/DoctrineIntegration/ODM/document-manager.php#L10
Call to deprecated method setProxyDir() of class Doctrine\ODM\MongoDB\Configuration: Since 2.16, proxy directory is no longer used when native lazy objects are enabled.
PHPStan (8.3, composer require --dev doctrine/orm:^3.0 doctrine/dbal:^4.0 carbonphp/carbon-doctri...: tests/DoctrineIntegration/ODM/document-manager.php#L10
Call to deprecated method setProxyDir() of class Doctrine\ODM\MongoDB\Configuration: Since 2.16, proxy directory is no longer used when native lazy objects are enabled.
PHPStan (8.3, composer require --dev doctrine/orm:^3.0 doctrine/dbal:^4.0 carbonphp/carbon-doctri...: src/Doctrine/Mapping/ClassMetadataFactory.php#L44
Call to function method_exists() with Doctrine\ORM\Configuration and 'enableNativeLazyObj…' will always evaluate to true.