-
-
Notifications
You must be signed in to change notification settings - Fork 389
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1198 from doctrine/dbal3
DBAL v3 compatibility
- Loading branch information
Showing
12 changed files
with
107 additions
and
28 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
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,19 @@ | ||
includes: | ||
- phpstan-common.neon.dist | ||
|
||
parameters: | ||
ignoreErrors: | ||
|
||
- | ||
message: '~^Fetching class constant class of deprecated class Doctrine\\DBAL\\Tools\\Console\\Helper\\ConnectionHelper~' | ||
path: %currentWorkingDirectory%/tests/Doctrine/Migrations/Tests/Tools/Console/ConsoleRunnerTest.php | ||
|
||
- | ||
message: "~^Casting to string something that's already string~" | ||
path: %currentWorkingDirectory%/lib/Doctrine/Migrations/Tools/Console/Command/*Command.php | ||
|
||
- | ||
message: '~^Instantiation of deprecated class~' | ||
paths: | ||
- tests/Doctrine/Migrations/Tests/Tools/Console/legacy-config-dbal/cli-config.php | ||
- tests/Doctrine/Migrations/Tests/Tools/Console/legacy-config-wrong/cli-config.php |
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,25 @@ | ||
includes: | ||
- phpstan-common.neon.dist | ||
|
||
parameters: | ||
|
||
ignoreErrors: | ||
- "~Call to function method_exists\\(\\) with Doctrine\\\\DBAL\\\\Connection and 'createSchemaManager' will always evaluate to true~" | ||
- '~^Call to deprecated method getSchemaManager\(\) of class Doctrine\\DBAL\\Connection~' | ||
- | ||
message: '~^Parameter.* class Symfony\\Component\\Console\\Helper\\HelperSet constructor expects ~' | ||
paths: | ||
- tests/Doctrine/Migrations/Tests/Tools/Console/legacy-config-dbal/cli-config.php | ||
- tests/Doctrine/Migrations/Tests/Tools/Console/legacy-config-wrong/cli-config.php | ||
- | ||
message: '~^Class Doctrine\\DBAL\\Tools\\Console\\Helper\\ConnectionHelper not found~' | ||
path: lib/Doctrine/Migrations/Tools/Console/ConsoleRunner.php | ||
- | ||
message: '~^Call to method getConnection\(\) on an unknown class Doctrine\\DBAL\\Tools\\Console\\Helper\\ConnectionHelper~' | ||
path: lib/Doctrine/Migrations/Tools/Console/ConsoleRunner.php | ||
- | ||
message: '~Instantiated class Doctrine\\DBAL\\Tools\\Console\\Helper\\ConnectionHelper not found~' | ||
paths: | ||
- tests/Doctrine/Migrations/Tests/Tools/Console/legacy-config-dbal/cli-config.php | ||
- tests/Doctrine/Migrations/Tests/Tools/Console/legacy-config-wrong/cli-config.php | ||
|
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