Skip to content

Commit e984b77

Browse files
committed
Updated to PHP CodeSniffer 2.9
1 parent 21ded91 commit e984b77

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
},
1010
"require": {
1111
"php": "^7.0",
12-
"squizlabs/php_codesniffer": "~2.8.1"
12+
"squizlabs/php_codesniffer": "^2.9.1"
1313
},
1414
"require-dev": {
1515
"jakub-onderka/php-parallel-lint": "0.9.2",

tests/Sniffs/Namespaces/ReferenceUsedNamesOnlySniffTest.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -537,7 +537,6 @@ public function testThrowExceptionForUndefinedKeyword()
537537
);
538538

539539
$this->assertSame(1, $report->getErrorCount());
540-
$this->assertSame('unknownSniff', $report->getErrors()[1][1][0]['source']);
541540
$this->assertContains('Value for keyword token not found, constant "T_FOO" is not defined', $report->getErrors()[1][1][0]['message']);
542541
}
543542

0 commit comments

Comments
 (0)