Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
D
doctrine-dbal
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Tomáš Trávníček
doctrine-dbal
Commits
155d028b
Unverified
Commit
155d028b
authored
Apr 21, 2020
by
Grégoire Paris
Committed by
GitHub
Apr 21, 2020
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #3969 from greg0ire/psalm-7
Psalm 7
parents
c7ca69cd
feba49da
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
20 additions
and
9 deletions
+20
-9
.scrutinizer.yml
.scrutinizer.yml
+1
-1
DriverException.php
lib/Doctrine/DBAL/Driver/DriverException.php
+0
-7
psalm.xml
psalm.xml
+19
-1
No files found.
.scrutinizer.yml
View file @
155d028b
...
@@ -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
:
2
8
# 23x Travis (jobs with COVERAGE=yes) + 3x AppVeyor (jobs with coverage=yes) + 2
x ContinuousPHP
runs
:
2
7
# 23x Travis (jobs with COVERAGE=yes) + 3x AppVeyor (jobs with coverage=yes) + 1
x ContinuousPHP
filter
:
filter
:
excluded_paths
:
excluded_paths
:
...
...
lib/Doctrine/DBAL/Driver/DriverException.php
View file @
155d028b
...
@@ -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.
*
*
...
...
psalm.xml
View file @
155d028b
<?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"
>
<!--
<!--
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment