Skip to content

Commit 633d85e

Browse files
committed
fix stan
1 parent 9f9b08b commit 633d85e

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

phpstan.neon.dist

+1-1
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ parameters:
3131
message: '~^(Call to an undefined method Doctrine\\DBAL\\Driver\\Connection::getWrappedConnection\(\)\.|Caught class Doctrine\\DBAL\\DBALException not found\.|Call to static method notSupported\(\) on an unknown class Doctrine\\DBAL\\DBALException\.|Access to an undefined property Doctrine\\DBAL\\Driver\\PDO\\Connection::\$connection\.|Parameter #1 \$dsn of class Doctrine\\DBAL\\Driver\\PDO\\SQLSrv\\Connection constructor expects string, Doctrine\\DBAL\\Driver\\PDO\\Connection given\.|Method Atk4\\Data\\Persistence\\Sql\\Expression::execute\(\) should return Doctrine\\DBAL\\Result\|PDOStatement but returns bool\.|Class Doctrine\\DBAL\\Platforms\\MySqlPlatform referenced with incorrect case: Doctrine\\DBAL\\Platforms\\MySQLPlatform\.)$~'
3232
path: '*'
3333
# count for DBAL 3.x matched in "src/Persistence/GenericPlatform.php" file
34-
count: 11
34+
count: 12
3535

3636
# TODO these rules are generated, this ignores should be fixed in the code
3737
# for src/Schema/TestCase.php

src/Persistence/GenericPlatform.php

+1
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ private function createNotSupportedException(): \Exception // DbalException once
2222
\Doctrine\DBAL\DBALException::notSupported('SQL');
2323
\Doctrine\DBAL\DBALException::notSupported('SQL');
2424
\Doctrine\DBAL\DBALException::notSupported('SQL');
25+
\Doctrine\DBAL\DBALException::notSupported('SQL');
2526
}
2627

2728
return \Doctrine\DBAL\DBALException::notSupported('SQL');

0 commit comments

Comments
 (0)