Unverified Commit 155d028b authored by Grégoire Paris's avatar Grégoire Paris Committed by GitHub

Merge pull request #3969 from greg0ire/psalm-7

Psalm 7
parents c7ca69cd feba49da
...@@ -21,7 +21,7 @@ before_commands: ...@@ -21,7 +21,7 @@ before_commands:
tools: tools:
external_code_coverage: external_code_coverage:
timeout: 3600 timeout: 3600
runs: 28 # 23x Travis (jobs with COVERAGE=yes) + 3x AppVeyor (jobs with coverage=yes) + 2x ContinuousPHP runs: 27 # 23x Travis (jobs with COVERAGE=yes) + 3x AppVeyor (jobs with coverage=yes) + 1x ContinuousPHP
filter: filter:
excluded_paths: excluded_paths:
......
...@@ -24,13 +24,6 @@ interface DriverException extends Throwable ...@@ -24,13 +24,6 @@ interface DriverException extends Throwable
*/ */
public function getErrorCode(); public function getErrorCode();
/**
* Returns the driver error message.
*
* @return string
*/
public function getMessage();
/** /**
* Returns the SQLSTATE the driver was in at the time the error occurred. * Returns the SQLSTATE the driver was in at the time the error occurred.
* *
......
<?xml version="1.0"?> <?xml version="1.0"?>
<psalm <psalm
totallyTyped="false" totallyTyped="false"
errorLevel="8" errorLevel="7"
resolveFromConfigFile="true" resolveFromConfigFile="true"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns="https://getpsalm.org/schema/config" xmlns="https://getpsalm.org/schema/config"
...@@ -23,6 +23,24 @@ ...@@ -23,6 +23,24 @@
<file name="vendor/jetbrains/phpstorm-stubs/sqlsrv/sqlsrv.php" /> <file name="vendor/jetbrains/phpstorm-stubs/sqlsrv/sqlsrv.php" />
</stubs> </stubs>
<issueHandlers> <issueHandlers>
<ConflictingReferenceConstraint>
<errorLevel type="suppress">
<!--
This one is just too convoluted for Psalm to figure out, by
its author's own admission
-->
<file name="lib/Doctrine/DBAL/Driver/OCI8/OCI8Statement.php"/>
</errorLevel>
</ConflictingReferenceConstraint>
<MethodSignatureMismatch>
<errorLevel type="suppress">
<!--
This one is clearly deliberate; it's a hack to adapt \PDO to
Doctrine\DBAL\Driver\Connection
-->
<file name="lib/Doctrine/DBAL/Driver/PDOConnection.php"/>
</errorLevel>
</MethodSignatureMismatch>
<TooFewArguments> <TooFewArguments>
<errorLevel type="suppress"> <errorLevel type="suppress">
<!-- <!--
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment