diff --git a/phpstan.neon.dist b/phpstan.neon.dist index 3a071164ec..42d75a9450 100644 --- a/phpstan.neon.dist +++ b/phpstan.neon.dist @@ -31,7 +31,7 @@ parameters: # for Doctrine DBAL 2.x, remove the support once Doctrine ORM 2.10 is released # see https://github.com/doctrine/orm/issues/8526 - - 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\.|Method Atk4\\Dsql\\Expression::execute\(\) should return Doctrine\\DBAL\\Result\|PDOStatement but returns bool\.|Class Doctrine\\DBAL\\Platforms\\MySqlPlatform referenced with incorrect case: Doctrine\\DBAL\\Platforms\\MySQLPlatform\.)$~' + 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\.|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\.)$~' path: '*' # count for DBAL 3.x matched in "src/Persistence/GenericPlatform.php" file count: 11 @@ -52,7 +52,7 @@ parameters: # for src/Model/ReferencesTrait.php (in context of class Atk4\Data\Model) - '~^Call to an undefined method Atk4\\Data\\Reference::refLink\(\)\.$~' # for src/Persistence/Sql.php - - '~^Call to an undefined method Atk4\\Dsql\\Query::sequence\(\)\.$~' + - '~^Call to an undefined method Atk4\\Data\\Persistence\\Sql\\Query::sequence\(\)\.$~' - '~^Call to an undefined method Atk4\\Data\\Persistence::expr\(\)\.$~' - '~^Call to an undefined method Atk4\\Data\\Persistence::exprNow\(\)\.$~' # for src/Persistence/Sql/Join.php