Skip to content

Commit ef597eb

Browse files
committed
ignore ecs issues in test file designed to have issues
1 parent 7d15e83 commit ef597eb

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

easy-coding-standard.neon

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,8 @@ parameters:
3636
- tests/unit/phpDocumentor/Reflection/Php/Interface_Test.php
3737
- tests/unit/phpDocumentor/Reflection/Php/Namespace_Test.php
3838
- tests/unit/phpDocumentor/Reflection/Php/Trait_Test.php
39+
PHP_CodeSniffer\Standards\Squiz\Sniffs\Scope\MethodScopeSniff:
40+
- tests/example.file.php
3941
SlevomatCodingStandard\Sniffs\Classes\UnusedPrivateElementsSniff:
4042
- tests/component/project/Luigi/Pizza.php
4143
- tests/example.file.php

tests/example.file.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<?php
2-
// @codingStandardsIgnoreStart
2+
// phpcs:ignoreFile
33
/**
44
* Summary of the File DocBlock.
55
*
@@ -273,4 +273,3 @@ public function getPrice()
273273
}
274274
}
275275
}
276-
// @codingStandardsIgnoreEnd

0 commit comments

Comments
 (0)