Skip to content

Static analysis

Static analysis #13

Triggered via push January 26, 2024 13:42
Status Failure
Total duration 5m 19s
Artifacts
Matrix: Static Analysis with PHPStan
Matrix: Static Analysis with Psalm
Fit to window
Zoom out
Zoom in

Annotations

11 errors and 2 warnings
MoreSpecificReturnType: src/Platforms/OraclePlatform.php#L525
src/Platforms/OraclePlatform.php:525:56: MoreSpecificReturnType: The declared return type 'list<string>' for Doctrine\DBAL\Platforms\OraclePlatform::getAlterTableSQL is more specific than the inferred return type 'array<array-key, string>' (see https://psalm.dev/070)
LessSpecificReturnStatement: src/Platforms/OraclePlatform.php#L627
src/Platforms/OraclePlatform.php:627:16: LessSpecificReturnStatement: The type 'array<array-key, string>' is more general than the declared return type 'list<string>' for Doctrine\DBAL\Platforms\OraclePlatform::getAlterTableSQL (see https://psalm.dev/129)
MoreSpecificReturnType: src/Platforms/PostgreSQLPlatform.php#L201
src/Platforms/PostgreSQLPlatform.php:201:56: MoreSpecificReturnType: The declared return type 'list<string>' for Doctrine\DBAL\Platforms\PostgreSQLPlatform::getAlterTableSQL is more specific than the inferred return type 'array<array-key, string>' (see https://psalm.dev/070)
LessSpecificReturnStatement: src/Platforms/PostgreSQLPlatform.php#L309
src/Platforms/PostgreSQLPlatform.php:309:16: LessSpecificReturnStatement: The type 'array<array-key, string>' is more general than the declared return type 'list<string>' for Doctrine\DBAL\Platforms\PostgreSQLPlatform::getAlterTableSQL (see https://psalm.dev/129)
MoreSpecificReturnType: src/Platforms/SQLServerPlatform.php#L357
src/Platforms/SQLServerPlatform.php:357:56: MoreSpecificReturnType: The declared return type 'list<string>' for Doctrine\DBAL\Platforms\SQLServerPlatform::getAlterTableSQL is more specific than the inferred return type 'array<array-key, string>' (see https://psalm.dev/070)
LessSpecificReturnStatement: src/Platforms/SQLServerPlatform.php#L479
src/Platforms/SQLServerPlatform.php:479:16: LessSpecificReturnStatement: The type 'array<array-key, string>' is more general than the declared return type 'list<string>' for Doctrine\DBAL\Platforms\SQLServerPlatform::getAlterTableSQL (see https://psalm.dev/129)
PossiblyInvalidArrayOffset: src/Schema/Comparator.php#L200
src/Schema/Comparator.php:200:17: PossiblyInvalidArrayOffset: Cannot access value on variable $droppedColumns using a string offset, expecting lowercase-string (see https://psalm.dev/116)
RedundantFunctionCall: tests/Functional/Platform/RenameColumnTest.php#L62
tests/Functional/Platform/RenameColumnTest.php:62:20: RedundantFunctionCall: The call to array_values is unnecessary, list<Doctrine\DBAL\Schema\Column> is already a list (see https://psalm.dev/280)
Static Analysis with Psalm (8.2)
Process completed with exit code 2.
Static Analysis with PHPStan (8.2): tests/Schema/AbstractComparatorTestCase.php#L477
Cannot call method getOldColumn() on Doctrine\DBAL\Schema\ColumnDiff|false.
Static Analysis with PHPStan (8.2)
Process completed with exit code 1.
Static Analysis with Psalm (8.2)
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/.
Static Analysis with PHPStan (8.2)
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/.