Skip to content

Commit

Permalink
PHP-STAN baseline updated after an upgrade
Browse files Browse the repository at this point in the history
  • Loading branch information
Alexandre-T committed Jun 21, 2024
1 parent 4c76551 commit 3a123dc
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
5 changes: 5 additions & 0 deletions quality/php-stan/phpstan-baseline.neon
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,11 @@ parameters:
count: 1
path: ../../tests/LongitudeOne/Spatial/Tests/ORM/Query/AST/Functions/PostgreSql/SpTransformTest.php

-
message: "#^Instantiated class \\\\Doctrine\\\\DBAL\\\\Platforms\\\\SqlitePlatform not found\\.$#"
count: 1
path: ../../tests/LongitudeOne/Spatial/Tests/OrmMockTestCase.php

-
message: "#^Return type of call to method PHPUnit\\\\Framework\\\\MockObject\\\\MockBuilder\\<Doctrine\\\\DBAL\\\\Driver\\\\PDO\\\\SQLite\\\\Driver\\>\\:\\:getMock\\(\\) contains unresolvable type\\.$#"
count: 1
Expand Down
1 change: 0 additions & 1 deletion tests/LongitudeOne/Spatial/Tests/OrmMockTestCase.php
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,6 @@ protected function getMockConnection(): Connection
static::fail('Test cannot be performed, no SQLite platform found');
}

/** @phpstan-ignore-next-line */
$platform = new $platformClass();

$driver->method('getDatabasePlatform')
Expand Down

0 comments on commit 3a123dc

Please sign in to comment.