Skip to content

Commit

Permalink
Merge pull request #3238 from morozov/phpstan-develop
Browse files Browse the repository at this point in the history
Fixed and suppressed issues found by PHPStan on develop
  • Loading branch information
Ocramius authored and morozov committed Feb 22, 2019
2 parents a68ec00 + f2876da commit 32490ad
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion phpstan.neon.dist
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ parameters:
- '~^Method Doctrine\\DBAL\\Driver\\SQLSrv\\SQLSrvConnection::errorCode\(\) should return string\|null but returns false\.\z~'

# http://php.net/manual/en/pdo.sqlitecreatefunction.php
- '~^Call to an undefined method Doctrine\\DBAL\\Driver\\PDOConnection::sqliteCreateFunction\(\)\.\z~'
- '~^Call to an undefined method PDO::sqliteCreateFunction\(\)\.\z~'

# https://github.com/JetBrains/phpstorm-stubs/pull/488
- '~^Parameter #1 \$byteCount of function SQLSRV_SQLTYPE_VARBINARY expects int, string given\.\z~'
Expand Down Expand Up @@ -59,3 +59,9 @@ parameters:

# weird class name, doesn't exist in stubs either
- '~unknown class OCI-(Lob|Collection)~'

# https://github.com/doctrine/dbal/issues/3236
- '~^Call to an undefined method Doctrine\\DBAL\\Schema\\UniqueConstraint::getLocalColumns\(\)~'

# https://github.com/doctrine/dbal/issues/3237
- '~^Call to an undefined method Doctrine\\DBAL\\Driver\\PDOStatement::nextRowset\(\)~'

0 comments on commit 32490ad

Please sign in to comment.