Merge 3.8.x up into 4.0.x #5605
static-analysis.yml
on: pull_request
Matrix: Static Analysis with PHPStan
Matrix: Static Analysis with Psalm
Annotations
16 errors and 2 warnings
Static Analysis with PHPStan (8.3):
src/Schema/SQLiteSchemaManager.php#L82
Variable $database on left side of ?? is never defined.
|
Static Analysis with PHPStan (8.3):
tests/Platforms/SQLitePlatformTest.php#L453
Class Doctrine\DBAL\Schema\TableDiff constructor invoked with 1 parameter, 12 required.
|
Static Analysis with PHPStan (8.3):
tests/Platforms/SQLitePlatformTest.php#L453
Parameter #1 $oldTable of class Doctrine\DBAL\Schema\TableDiff constructor expects Doctrine\DBAL\Schema\Table, string given.
|
Static Analysis with PHPStan (8.3):
tests/Platforms/SQLitePlatformTest.php#L454
Access to an undefined property Doctrine\DBAL\Schema\TableDiff::$fromTable.
|
Static Analysis with PHPStan (8.3):
tests/Platforms/SQLitePlatformTest.php#L455
Access to private property Doctrine\DBAL\Schema\TableDiff::$renamedColumns.
|
Static Analysis with PHPStan (8.3)
Process completed with exit code 1.
|
PossiblyUndefinedArrayOffset:
src/Platforms/SQLitePlatform.php#L679
src/Platforms/SQLitePlatform.php:679:16: PossiblyUndefinedArrayOffset: Possibly undefined array key (see https://psalm.dev/167)
|
UndefinedVariable:
src/Schema/SQLiteSchemaManager.php#L82
src/Schema/SQLiteSchemaManager.php:82:51: UndefinedVariable: Cannot find referenced variable $database (see https://psalm.dev/024)
|
TooFewArguments:
tests/Platforms/SQLitePlatformTest.php#L453
tests/Platforms/SQLitePlatformTest.php:453:43: TooFewArguments: Too few arguments for Doctrine\DBAL\Schema\TableDiff::__construct - expecting addedColumns to be passed (see https://psalm.dev/025)
|
TooFewArguments:
tests/Platforms/SQLitePlatformTest.php#L453
tests/Platforms/SQLitePlatformTest.php:453:43: TooFewArguments: Too few arguments for Doctrine\DBAL\Schema\TableDiff::__construct - expecting modifiedColumns to be passed (see https://psalm.dev/025)
|
TooFewArguments:
tests/Platforms/SQLitePlatformTest.php#L453
tests/Platforms/SQLitePlatformTest.php:453:43: TooFewArguments: Too few arguments for Doctrine\DBAL\Schema\TableDiff::__construct - expecting droppedColumns to be passed (see https://psalm.dev/025)
|
TooFewArguments:
tests/Platforms/SQLitePlatformTest.php#L453
tests/Platforms/SQLitePlatformTest.php:453:43: TooFewArguments: Too few arguments for Doctrine\DBAL\Schema\TableDiff::__construct - expecting renamedColumns to be passed (see https://psalm.dev/025)
|
TooFewArguments:
tests/Platforms/SQLitePlatformTest.php#L453
tests/Platforms/SQLitePlatformTest.php:453:43: TooFewArguments: Too few arguments for Doctrine\DBAL\Schema\TableDiff::__construct - expecting addedIndexes to be passed (see https://psalm.dev/025)
|
TooFewArguments:
tests/Platforms/SQLitePlatformTest.php#L453
tests/Platforms/SQLitePlatformTest.php:453:43: TooFewArguments: Too few arguments for Doctrine\DBAL\Schema\TableDiff::__construct - expecting modifiedIndexes to be passed (see https://psalm.dev/025)
|
TooFewArguments:
tests/Platforms/SQLitePlatformTest.php#L453
tests/Platforms/SQLitePlatformTest.php:453:43: TooFewArguments: Too few arguments for Doctrine\DBAL\Schema\TableDiff::__construct - expecting droppedIndexes to be passed (see https://psalm.dev/025)
|
TooFewArguments:
tests/Platforms/SQLitePlatformTest.php#L453
tests/Platforms/SQLitePlatformTest.php:453:43: TooFewArguments: Too few arguments for Doctrine\DBAL\Schema\TableDiff::__construct - expecting renamedIndexes to be passed (see https://psalm.dev/025)
|
Static Analysis with PHPStan (8.3)
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 Psalm (8.3)
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/.
|