Skip to content

Fix the JS code in the profiler panel for Symfony 7 #1279

Fix the JS code in the profiler panel for Symfony 7

Fix the JS code in the profiler panel for Symfony 7 #1279

Triggered via pull request February 6, 2024 15:39
Status Failure
Total duration 32s
Artifacts

static-analysis.yml

on: pull_request
Static Analysis with Psalm
21s
Static Analysis with Psalm
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 1 warning
InvalidArrayOffset: Command/CreateDatabaseDoctrineCommand.php#L65
Command/CreateDatabaseDoctrineCommand.php:65:51: InvalidArrayOffset: Cannot access value on variable $params using offset value of 'url', expecting 'application_name', 'charset', 'defaultTableOptions', 'driver', 'driverClass', 'driverOptions', 'host', 'keepReplica', 'memory', 'password', 'persistent', 'port', 'primary', 'replica', 'serverVersion', 'sessionMode', 'user', 'wrapperClass' or 'unix_socket' (see https://psalm.dev/115)
UndefinedMethod: Command/CreateDatabaseDoctrineCommand.php#L71
Command/CreateDatabaseDoctrineCommand.php:71:31: UndefinedMethod: Method Doctrine\DBAL\Connection::getSchemaManager does not exist (see https://psalm.dev/022)
UndefinedDocblockClass: Command/DoctrineCommand.php#L31
Command/DoctrineCommand.php:31:16: UndefinedDocblockClass: Docblock-defined class, interface or enum named Doctrine\ORM\Tools\EntityGenerator does not exist (see https://psalm.dev/200)
UndefinedClass: Command/DoctrineCommand.php#L35
Command/DoctrineCommand.php:35:32: UndefinedClass: Class, interface or enum named Doctrine\ORM\Tools\EntityGenerator does not exist (see https://psalm.dev/019)
InvalidArrayOffset: Command/DropDatabaseDoctrineCommand.php#L76
Command/DropDatabaseDoctrineCommand.php:76:34: InvalidArrayOffset: Cannot access value on variable $params using offset value of 'url', expecting 'application_name', 'charset', 'defaultTableOptions', 'driver', 'driverClass', 'driverOptions', 'host', 'keepReplica', 'memory', 'password', 'path', 'persistent', 'port', 'primary', 'replica', 'serverVersion', 'sessionMode', 'user', 'wrapperClass' or 'unix_socket' (see https://psalm.dev/115)
UndefinedMethod: Command/DropDatabaseDoctrineCommand.php#L94
Command/DropDatabaseDoctrineCommand.php:94:28: UndefinedMethod: Method Doctrine\DBAL\Connection::getSchemaManager does not exist (see https://psalm.dev/022)
UndefinedClass: Command/DropDatabaseDoctrineCommand.php#L104
Command/DropDatabaseDoctrineCommand.php:104:47: UndefinedClass: Class, interface or enum named Doctrine\DBAL\Schema\SqliteSchemaManager does not exist (see https://psalm.dev/019)
UndefinedClass: Command/Proxy/ConvertMappingDoctrineCommand.php#L19
Command/Proxy/ConvertMappingDoctrineCommand.php:19:45: UndefinedClass: Class, interface or enum named Doctrine\ORM\Tools\Console\Command\ConvertMappingCommand does not exist (see https://psalm.dev/019)
UndefinedClass: Command/Proxy/DoctrineCommandHelper.php#L31
Command/Proxy/DoctrineCommandHelper.php:31:29: UndefinedClass: Class, interface or enum named Doctrine\ORM\Tools\Console\Helper\EntityManagerHelper does not exist (see https://psalm.dev/019)
UndefinedClass: Command/Proxy/DoctrineCommandHelper.php#L37
Command/Proxy/DoctrineCommandHelper.php:37:13: UndefinedClass: Class, interface or enum named Doctrine\ORM\Tools\Console\Helper\EntityManagerHelper does not exist (see https://psalm.dev/019)
Static Analysis with Psalm
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/cache@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.