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
fbc7fb6b
Unverified
Commit
fbc7fb6b
authored
Aug 03, 2018
by
Marco Pivetta
Committed by
Sergei Morozov
Nov 24, 2018
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #3238 from morozov/phpstan-develop
Fixed and suppressed issues found by PHPStan on develop
parents
03ccace5
304bc85c
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
12 additions
and
6 deletions
+12
-6
ResultStatement.php
lib/Doctrine/DBAL/Driver/ResultStatement.php
+5
-5
phpstan.neon.dist
phpstan.neon.dist
+7
-1
No files found.
lib/Doctrine/DBAL/Driver/ResultStatement.php
View file @
fbc7fb6b
...
...
@@ -30,7 +30,7 @@ interface ResultStatement extends Traversable
*
* @param int $fetchMode Controls how the next row will be returned to the caller.
* The value must be one of the {@link \Doctrine\DBAL\FetchMode} constants.
* @param
array $args
Optional mode-specific arguments (see {@link self::fetchAll()}).
* @param
mixed[] ...$args
Optional mode-specific arguments (see {@link self::fetchAll()}).
*
* @return bool
*/
...
...
@@ -42,7 +42,7 @@ interface ResultStatement extends Traversable
* @param int|null $fetchMode Controls how the next row will be returned to the caller.
* The value must be one of the {@link \Doctrine\DBAL\FetchMode} constants,
* defaulting to {@link \Doctrine\DBAL\FetchMode::MIXED}.
* @param
array $args
Optional mode-specific arguments (see {@link self::fetchAll()}).
* @param
mixed[] ...$args
Optional mode-specific arguments (see {@link self::fetchAll()}).
*
* @return mixed The return value of this method on success depends on the fetch mode. In all cases, FALSE is
* returned on failure.
...
...
@@ -55,7 +55,7 @@ interface ResultStatement extends Traversable
* @param int|null $fetchMode Controls how the next row will be returned to the caller.
* The value must be one of the {@link \Doctrine\DBAL\FetchMode} constants,
* defaulting to {@link \Doctrine\DBAL\FetchMode::MIXED}.
* @param
array $args
Optional mode-specific arguments. Supported modes:
* @param
mixed[] ...$args
Optional mode-specific arguments. Supported modes:
* * {@link \Doctrine\DBAL\FetchMode::COLUMN}
* 1. The 0-indexed column to be returned.
* * {@link \Doctrine\DBAL\FetchMode::CUSTOM_OBJECT}
...
...
phpstan.neon.dist
View file @
fbc7fb6b
...
...
@@ -24,7 +24,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~'
# legacy variadic-like signature
- '~^Method Doctrine\\DBAL\\Driver\\Connection::query\(\) invoked with \d+ parameters?, 0 required\.\z~'
...
...
@@ -44,3 +44,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\(\)~'
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