Commit a6daa05
committed
Sniff test: adjust two test files to match
This removes two expected errors due to the tokenizer change made in the previous commit.
### `Generic.Arrays.DisallowLongArraySyntax`
The code on line 13 is a parse error, so the sniff no longer throwing an error for it should not be our concern.
```php
$var = array;
```
### `Squiz.PHP.CommentedOutCode`
The code which triggered the warning on line 35 was a docblock written as a block comment and not really commented out code anyway, so this could be considered a fix for a false positive.
```php
/*
* The listeners array.
*
* @var array(PHP_CodeSniffer_Sniff)
*/
```1 parent 964a38c commit a6daa05
File tree
2 files changed
+0
-2
lines changed- src/Standards
- Generic/Tests/Arrays
- Squiz/Tests/PHP
2 files changed
+0
-2
lines changedLines changed: 0 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
35 | 35 | | |
36 | 36 | | |
37 | 37 | | |
38 | | - | |
39 | 38 | | |
40 | 39 | | |
41 | 40 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
49 | 49 | | |
50 | 50 | | |
51 | 51 | | |
52 | | - | |
53 | 52 | | |
54 | 53 | | |
55 | 54 | | |
| |||
0 commit comments