forked from doctrine/orm
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Indicate support for doctrine/persistence 3 (doctrine#9656)
- Loading branch information
Showing
11 changed files
with
101 additions
and
75 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
includes: | ||
- phpstan-baseline.neon | ||
- phpstan-params.neon | ||
|
||
parameters: | ||
ignoreErrors: | ||
# deprecations from doctrine/dbal:3.x | ||
- '/^Call to an undefined method Doctrine\\DBAL\\Platforms\\AbstractPlatform::getGuidExpression\(\).$/' | ||
|
||
# Fallback logic for DBAL 2 | ||
- | ||
message: '/HelperSet constructor expects/' | ||
path: lib/Doctrine/ORM/Tools/Console/ConsoleRunner.php | ||
- | ||
message: '/Application::add\(\) expects Symfony\\Component\\Console\\Command\\Command/' | ||
path: lib/Doctrine/ORM/Tools/Console/ConsoleRunner.php | ||
|
||
- '/^Class Doctrine\\DBAL\\Platforms\\(PostgreSQL|SQLServer|SQLAnywhere)Platform not found\.$/' | ||
|
||
- | ||
message: '/^Call to an undefined method Doctrine\\DBAL\\Platforms\\AbstractPlatform::getSQLResultCasing\(\)\.$/' | ||
path: lib/Doctrine/ORM/Internal/SQLResultCasing.php | ||
- | ||
message: '/^Parameter \$stmt of method .* has invalid type Doctrine\\DBAL\\Driver\\ResultStatement\.$/' | ||
path: lib/Doctrine/ORM/Internal/Hydration/AbstractHydrator.php | ||
- | ||
message: '/^Class Doctrine\\DBAL\\Driver\\ResultStatement not found\.$/' | ||
path: lib/Doctrine/ORM/Internal/Hydration/AbstractHydrator.php | ||
- | ||
message: '/^Call to static method ensure\(\) on an unknown class Doctrine\\DBAL\\ForwardCompatibility\\Result\.$/' | ||
path: lib/Doctrine/ORM/Internal/Hydration/AbstractHydrator.php | ||
|
||
# False positive | ||
- | ||
message: '/^Variable \$offset in isset\(\) always exists and is not nullable\.$/' | ||
path: lib/Doctrine/ORM/PersistentCollection.php | ||
- | ||
message: '/^Call to an undefined method Doctrine\\Common\\Cache\\Cache::deleteAll\(\)\.$/' | ||
count: 1 | ||
path: lib/Doctrine/ORM/Tools/Console/Command/ClearCache/ResultCommand.php | ||
|
||
# Symfony cache supports passing a key prefix to the clear method. | ||
- '/^Method Psr\\Cache\\CacheItemPoolInterface\:\:clear\(\) invoked with 1 parameter, 0 required\.$/' |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters