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
d9b377cd
Unverified
Commit
d9b377cd
authored
Aug 29, 2019
by
Marco Pivetta
Committed by
GitHub
Aug 29, 2019
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #3667 from morozov/phpstan-fix-backport
Phpstan fix backport
parents
461d4247
6a2bec0c
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
2 deletions
+3
-2
phpcs.xml.dist
phpcs.xml.dist
+1
-0
MysqliConnectionTest.php
...octrine/Tests/DBAL/Driver/Mysqli/MysqliConnectionTest.php
+1
-1
ExceptionTest.php
tests/Doctrine/Tests/DBAL/Functional/ExceptionTest.php
+1
-1
No files found.
phpcs.xml.dist
View file @
d9b377cd
...
...
@@ -77,5 +77,6 @@
<rule
ref=
"SlevomatCodingStandard.TypeHints.TypeHintDeclaration.IncorrectReturnTypeHint"
>
<exclude-pattern>
lib/Doctrine/DBAL/Types/ArrayType.php
</exclude-pattern>
<exclude-pattern>
lib/Doctrine/DBAL/Types/ObjectType.php
</exclude-pattern>
<exclude-pattern>
tests/Doctrine/Tests/DBAL/Driver/Mysqli/MysqliConnectionTest.php
</exclude-pattern>
</rule>
</ruleset>
tests/Doctrine/Tests/DBAL/Driver/Mysqli/MysqliConnectionTest.php
View file @
d9b377cd
...
...
@@ -44,7 +44,7 @@ class MysqliConnectionTest extends DbalFunctionalTestCase
public
function
testRestoresErrorHandlerOnException
()
:
void
{
$handler
=
static
function
()
:
void
{
$handler
=
static
function
()
:
bool
{
self
::
fail
(
'Never expected this to be called'
);
};
$default_handler
=
set_error_handler
(
$handler
);
...
...
tests/Doctrine/Tests/DBAL/Functional/ExceptionTest.php
View file @
d9b377cd
...
...
@@ -296,7 +296,7 @@ class ExceptionTest extends DbalFunctionalTestCase
public
function
testConnectionExceptionSqLite
()
:
void
{
if
(
$this
->
connection
instanceof
SqlitePlatform
)
{
if
(
$this
->
connection
->
getDatabasePlatform
()
instanceof
SqlitePlatform
)
{
$this
->
markTestSkipped
(
'Only fails this way on sqlite'
);
}
...
...
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