-
Notifications
You must be signed in to change notification settings - Fork 2.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Throw exception NotSupported Exception for
UuidGenerator
with doctr…
…ine/dbal:3.x. (#8898) Generating `getGuidExpression` has been removed in doctrine/dbal:3.x. Partially fixes #8884
- Loading branch information
Showing
8 changed files
with
72 additions
and
14 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
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\(\).$/' |
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,14 @@ | ||
parameters: | ||
level: 5 | ||
paths: | ||
- lib | ||
- tests/Doctrine/StaticAnalysis | ||
excludePaths: | ||
- lib/Doctrine/ORM/Mapping/Driver/AttributeReader.php | ||
earlyTerminatingMethodCalls: | ||
Doctrine\ORM\Query\Parser: | ||
- syntaxError | ||
phpVersion: 70100 | ||
ignoreErrors: | ||
# The class was added in PHP 8.1 | ||
- '/^Attribute class ReturnTypeWillChange does not exist.$/' |
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 |
---|---|---|
@@ -1,21 +1,8 @@ | ||
includes: | ||
- phpstan-baseline.neon | ||
- phpstan-params.neon | ||
|
||
parameters: | ||
level: 5 | ||
paths: | ||
- lib | ||
- tests/Doctrine/StaticAnalysis | ||
excludePaths: | ||
- lib/Doctrine/ORM/Mapping/Driver/AttributeReader.php | ||
earlyTerminatingMethodCalls: | ||
Doctrine\ORM\Query\Parser: | ||
- syntaxError | ||
phpVersion: 70100 | ||
|
||
ignoreErrors: | ||
# The class was added in PHP 8.1 | ||
- '/^Attribute class ReturnTypeWillChange does not exist.$/' | ||
|
||
# https://github.com/doctrine/collections/pull/282 | ||
- '/Variable \$offset in isset\(\) always exists and is not nullable\./' |
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