Skip to content

Commit 831e6fe

Browse files
authored
Merge pull request #4123 from morozov/remove-error-suppressions
Remove the no longer needed error suppressions
2 parents 8bdb609 + 2136c9a commit 831e6fe

File tree

2 files changed

+0
-10
lines changed

2 files changed

+0
-10
lines changed

phpcs.xml.dist

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -105,11 +105,6 @@
105105
<exclude-pattern>lib/Doctrine/DBAL/Driver/ExceptionConverterDriver.php</exclude-pattern>
106106
</rule>
107107

108-
<!-- See https://github.com/slevomat/coding-standard/issues/1038 -->
109-
<rule ref="SlevomatCodingStandard.Namespaces.UnusedUses">
110-
<exclude-pattern>tests/Doctrine/Tests/DBAL/Functional/Driver/IBMDB2/StatementTest.php</exclude-pattern>
111-
</rule>
112-
113108
<!-- see https://github.com/doctrine/dbal/issues/3377 -->
114109
<rule ref="SlevomatCodingStandard.Operators.DisallowEqualOperators.DisallowedNotEqualOperator">
115110
<exclude-pattern>lib/Doctrine/DBAL/Schema/Comparator.php</exclude-pattern>

phpstan.neon.dist

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -23,11 +23,6 @@ parameters:
2323
- '~^Property Doctrine\\DBAL\\Schema\\Schema::\$_schemaConfig \(Doctrine\\DBAL\\Schema\\SchemaConfig\) does not accept default value of type false\.\z~'
2424
- '~^Return type \(int\|false\) of method Doctrine\\DBAL\\Driver\\OCI8\\OCI8Connection\:\:lastInsertId\(\) should be compatible with return type \(string\) of method Doctrine\\DBAL\\Driver\\Connection::lastInsertId\(\)~'
2525

26-
# https://github.com/phpstan/phpstan/issues/3527
27-
-
28-
message: '~^Call to private method sqliteCreateFunction\(\) of parent class PDO\.$~'
29-
path: %currentWorkingDirectory%/lib/Doctrine/DBAL/Driver/PDOSqlite/Driver.php
30-
3126
# https://github.com/phpstan/phpstan/issues/2857
3227
# TODO: remove in 4.0.0
3328
- '~^Parameter #2 \$registeredAliases of static method Doctrine\\DBAL\\Query\\QueryException::nonUniqueAlias\(\) expects array<string>, array<int, int\|string> given\.\z~'

0 commit comments

Comments
 (0)