Skip to content

Commit 4bb040c

Browse files
committed
Fix failing phpcs task
1 parent 2e9ae8e commit 4bb040c

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

phpcs.xml.dist

+3
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,9 @@
6363

6464
<!-- Sniff currently breaks, see https://github.com/slevomat/coding-standard/issues/727 -->
6565
<exclude name="SlevomatCodingStandard.Namespaces.NamespaceSpacing" />
66+
67+
<!-- Sniff currently broken when casting arrays, see https://github.com/squizlabs/PHP_CodeSniffer/issues/2937#issuecomment-615498860 -->
68+
<exclude name="Squiz.Arrays.ArrayDeclaration.ValueNoNewline" />
6669
</rule>
6770

6871
<!-- Change use statement sorting to be compatible with PSR-12 -->

tests/Database/DatabaseFunctionalTest.php

-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@
77
use MongoDB\Driver\Cursor;
88
use MongoDB\Driver\ReadConcern;
99
use MongoDB\Driver\ReadPreference;
10-
use MongoDB\Driver\Server;
1110
use MongoDB\Driver\WriteConcern;
1211
use MongoDB\Exception\InvalidArgumentException;
1312
use MongoDB\Operation\CreateIndexes;

0 commit comments

Comments
 (0)