File tree Expand file tree Collapse file tree 2 files changed +10
-0
lines changed
src/Standards/Generic/Tests/PHP Expand file tree Collapse file tree 2 files changed +10
-0
lines changed Original file line number Diff line number Diff line change 178
178
179
179
<!-- Handle consistent formatting of return types. -->
180
180
<rule ref =" PSR12.Functions.ReturnTypeDeclaration" />
181
+
182
+ <!-- Separate header blocks with a single blank line. -->
183
+ <rule ref =" PSR12.Files.FileHeader" >
184
+ <exclude name =" PSR12.Files.FileHeader.SpacingAfterTagBlock" />
185
+ </rule >
186
+ <rule ref =" PSR12.Files.FileHeader.SpacingAfterNamespaceBlock" >
187
+ <!-- Prevent conflict with function spacing sniff. -->
188
+ <exclude-pattern >/requirements\.php</exclude-pattern >
189
+ </rule >
181
190
</ruleset >
Original file line number Diff line number Diff line change 6
6
* @copyright 2006-2019 Squiz Pty Ltd (ABN 77 084 670 600)
7
7
* @license https://github.com/PHPCSStandards/PHP_CodeSniffer/blob/master/licence.txt BSD Licence
8
8
*/
9
+
9
10
namespace PHP_CodeSniffer \Standards \Generic \Tests \PHP ;
10
11
11
12
use PHP_CodeSniffer \Tests \Standards \AbstractSniffTestCase ;
You can’t perform that action at this time.
0 commit comments