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
365b4d7d
Unverified
Commit
365b4d7d
authored
Apr 15, 2020
by
Grégoire Paris
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Suppress errors about unreleased stubs
parent
827bd220
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
20 additions
and
19 deletions
+20
-19
baseline.xml
baseline.xml
+0
-19
psalm.xml
psalm.xml
+20
-0
No files found.
baseline.xml
View file @
365b4d7d
...
...
@@ -5,23 +5,4 @@
<code>
int
</code>
</InvalidParamDefault>
</file>
<file
src=
"lib/Doctrine/DBAL/Driver/SQLSrv/SQLSrvStatement.php"
>
<TooFewArguments
occurrences=
"1"
>
<code>
sqlsrv_get_field($this-
>
stmt, 0)
</code>
</TooFewArguments>
</file>
<file
src=
"lib/Doctrine/DBAL/Tools/Dumper.php"
>
<UndefinedClass
occurrences=
"1"
>
<code>
Collection
</code>
</UndefinedClass>
</file>
<file
src=
"tests/Doctrine/Tests/DBAL/Driver/PDOPgSql/DriverTest.php"
>
<UndefinedConstant
occurrences=
"5"
>
<code>
PDO::PGSQL_ATTR_DISABLE_PREPARES
</code>
<code>
PDO::PGSQL_ATTR_DISABLE_PREPARES
</code>
<code>
PDO::PGSQL_ATTR_DISABLE_PREPARES
</code>
<code>
PDO::PGSQL_ATTR_DISABLE_PREPARES
</code>
<code>
PDO::PGSQL_ATTR_DISABLE_PREPARES
</code>
</UndefinedConstant>
</file>
</files>
psalm.xml
View file @
365b4d7d
...
...
@@ -24,9 +24,23 @@
<file
name=
"vendor/jetbrains/phpstorm-stubs/sqlsrv/sqlsrv.php"
/>
</stubs>
<issueHandlers>
<TooFewArguments>
<errorLevel
type=
"suppress"
>
<!--
Requires a release of
https://github.com/JetBrains/phpstorm-stubs/pull/727
-->
<file
name=
"lib/Doctrine/DBAL/Driver/SQLSrv/SQLSrvStatement.php"
/>
</errorLevel>
</TooFewArguments>
<UndefinedConstant>
<errorLevel
type=
"suppress"
>
<directory
name=
"lib/Doctrine/DBAL/Driver/SQLAnywhere"
/>
<!--
Requires a release of
https://github.com/JetBrains/phpstorm-stubs/pull/732
-->
<file
name=
"tests/Doctrine/Tests/DBAL/Driver/PDOPgSql/DriverTest.php"
/>
</errorLevel>
</UndefinedConstant>
<UndefinedFunction>
...
...
@@ -34,5 +48,11 @@
<directory
name=
"lib/Doctrine/DBAL/Driver/SQLAnywhere"
/>
</errorLevel>
</UndefinedFunction>
<UndefinedClass>
<errorLevel
type=
"suppress"
>
<!-- Contains references to optional dependencies -->
<file
name=
"lib/Doctrine/DBAL/Tools/Dumper.php"
/>
</errorLevel>
</UndefinedClass>
</issueHandlers>
</psalm>
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