File tree Expand file tree Collapse file tree 3 files changed +3
-2
lines changed
tests/Doctrine/Tests/DBAL Expand file tree Collapse file tree 3 files changed +3
-2
lines changed Original file line number Diff line number Diff line change 77
77
<rule ref =" SlevomatCodingStandard.TypeHints.TypeHintDeclaration.IncorrectReturnTypeHint" >
78
78
<exclude-pattern >lib/Doctrine/DBAL/Types/ArrayType.php</exclude-pattern >
79
79
<exclude-pattern >lib/Doctrine/DBAL/Types/ObjectType.php</exclude-pattern >
80
+ <exclude-pattern >tests/Doctrine/Tests/DBAL/Driver/Mysqli/MysqliConnectionTest.php</exclude-pattern >
80
81
</rule >
81
82
</ruleset >
Original file line number Diff line number Diff line change @@ -44,7 +44,7 @@ public function testDoesNotRequireQueryForServerVersion() : void
44
44
45
45
public function testRestoresErrorHandlerOnException () : void
46
46
{
47
- $ handler = static function () : void {
47
+ $ handler = static function () : bool {
48
48
self ::fail ('Never expected this to be called ' );
49
49
};
50
50
$ default_handler = set_error_handler ($ handler );
Original file line number Diff line number Diff line change @@ -296,7 +296,7 @@ public function testSyntaxErrorException() : void
296
296
297
297
public function testConnectionExceptionSqLite () : void
298
298
{
299
- if ($ this ->connection instanceof SqlitePlatform) {
299
+ if ($ this ->connection -> getDatabasePlatform () instanceof SqlitePlatform) {
300
300
$ this ->markTestSkipped ('Only fails this way on sqlite ' );
301
301
}
302
302
You can’t perform that action at this time.
0 commit comments