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 178178
179179 <!-- Handle consistent formatting of return types. -->
180180 <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 >
181190</ruleset >
Original file line number Diff line number Diff line change 66 * @copyright 2006-2019 Squiz Pty Ltd (ABN 77 084 670 600)
77 * @license https://github.com/PHPCSStandards/PHP_CodeSniffer/blob/master/licence.txt BSD Licence
88 */
9+
910namespace PHP_CodeSniffer \Standards \Generic \Tests \PHP ;
1011
1112use PHP_CodeSniffer \Tests \Standards \AbstractSniffTestCase ;
You can’t perform that action at this time.
0 commit comments