Skip to content

[wip] Support for ORM 3 #359

[wip] Support for ORM 3

[wip] Support for ORM 3 #359

Triggered via pull request March 2, 2024 23:33
Status Failure
Total duration 1m 33s
Artifacts

static-analysis.yml

on: pull_request
Matrix: Static Analysis / PHPStan
Matrix: Static Analysis / Psalm
Fit to window
Zoom out
Zoom in

Annotations

20 errors and 6 warnings
Static Analysis / PHPStan (8.3): src/CliConfigurator.php#L102
Instantiated class Doctrine\ORM\Tools\Console\Helper\EntityManagerHelper not found.
Static Analysis / PHPStan (8.3): src/Collector/SQLLoggerCollector.php#L24
Property DoctrineORMModule\Collector\SQLLoggerCollector::$sqlLogger has unknown class Doctrine\DBAL\Logging\DebugStack as its type.
Static Analysis / PHPStan (8.3): src/Collector/SQLLoggerCollector.php#L28
Parameter $sqlLogger of method DoctrineORMModule\Collector\SQLLoggerCollector::__construct() has invalid type Doctrine\DBAL\Logging\DebugStack.
Static Analysis / PHPStan (8.3): src/Collector/SQLLoggerCollector.php#L50
Access to property $queries on an unknown class Doctrine\DBAL\Logging\DebugStack.
Static Analysis / PHPStan (8.3): src/Collector/SQLLoggerCollector.php#L55
Access to property $queries on an unknown class Doctrine\DBAL\Logging\DebugStack.
Static Analysis / PHPStan (8.3): src/Collector/SQLLoggerCollector.php#L63
Access to property $queries on an unknown class Doctrine\DBAL\Logging\DebugStack.
Static Analysis / PHPStan (8.3): src/Collector/SQLLoggerCollector.php#L70
Access to property $queries on an unknown class Doctrine\DBAL\Logging\DebugStack.
Static Analysis / PHPStan (8.3): src/Service/ConfigurationFactory.php#L48
Call to an undefined method Doctrine\ORM\Configuration::addNamedQuery().
Static Analysis / PHPStan (8.3): src/Service/ConfigurationFactory.php#L52
Call to an undefined method Doctrine\ORM\Configuration::addNamedNativeQuery().
Static Analysis / PHPStan (8.3): src/Service/ConfigurationFactory.php#L63
Call to an undefined method Doctrine\ORM\Configuration::setMetadataCacheImpl().
UndefinedClass: config/module.config.php#L204
config/module.config.php:204:53: UndefinedClass: Class, interface or enum named Doctrine\ORM\Tools\Console\Command\ConvertDoctrine1SchemaCommand does not exist (see https://psalm.dev/019)
UndefinedClass: config/module.config.php#L205
config/module.config.php:205:53: UndefinedClass: Class, interface or enum named Doctrine\ORM\Tools\Console\Command\GenerateEntitiesCommand does not exist (see https://psalm.dev/019)
UndefinedClass: config/module.config.php#L207
config/module.config.php:207:51: UndefinedClass: Class, interface or enum named Doctrine\ORM\Tools\Console\Command\ConvertMappingCommand does not exist (see https://psalm.dev/019)
UndefinedClass: config/module.config.php#L211
config/module.config.php:211:62: UndefinedClass: Class, interface or enum named Doctrine\ORM\Tools\Console\Command\EnsureProductionSettingsCommand does not exist (see https://psalm.dev/019)
UndefinedClass: config/module.config.php#L212
config/module.config.php:212:57: UndefinedClass: Class, interface or enum named Doctrine\ORM\Tools\Console\Command\GenerateRepositoriesCommand does not exist (see https://psalm.dev/019)
UndefinedClass: src/CliConfigurator.php#L102
src/CliConfigurator.php:102:25: UndefinedClass: Class, interface or enum named Doctrine\ORM\Tools\Console\Helper\EntityManagerHelper does not exist (see https://psalm.dev/019)
UndefinedClass: src/Collector/SQLLoggerCollector.php#L24
src/Collector/SQLLoggerCollector.php:24:15: UndefinedClass: Class, interface or enum named Doctrine\DBAL\Logging\DebugStack does not exist (see https://psalm.dev/019)
UndefinedClass: src/Collector/SQLLoggerCollector.php#L28
src/Collector/SQLLoggerCollector.php:28:33: UndefinedClass: Class, interface or enum named Doctrine\DBAL\Logging\DebugStack does not exist (see https://psalm.dev/019)
UndefinedClass: src/Collector/SQLLoggerCollector.php#L50
src/Collector/SQLLoggerCollector.php:50:22: UndefinedClass: Cannot get properties of undefined class Doctrine\DBAL\Logging\DebugStack (see https://psalm.dev/019)
UndefinedClass: src/Collector/SQLLoggerCollector.php#L55
src/Collector/SQLLoggerCollector.php:55:22: UndefinedClass: Cannot get properties of undefined class Doctrine\DBAL\Logging\DebugStack (see https://psalm.dev/019)
Static Analysis / PHPStan (8.3)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v2, ramsey/composer-install@v1. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Static Analysis / PHPStan (8.3)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, ramsey/composer-install@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
Static Analysis / PHPStan (8.3)
The `save-state` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
Static Analysis / Psalm (8.3)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v2, ramsey/composer-install@v1. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Static Analysis / Psalm (8.3)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, ramsey/composer-install@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
Static Analysis / Psalm (8.3)
The `save-state` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/