Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions phpcs.xml.dist
Original file line number Diff line number Diff line change
Expand Up @@ -178,4 +178,13 @@

<!-- Handle consistent formatting of return types. -->
<rule ref="PSR12.Functions.ReturnTypeDeclaration"/>

<!-- Separate header blocks with a single blank line. -->
<rule ref="PSR12.Files.FileHeader">
<exclude name="PSR12.Files.FileHeader.SpacingAfterTagBlock"/>
</rule>
<rule ref="PSR12.Files.FileHeader.SpacingAfterNamespaceBlock">
<!-- Prevent conflict with function spacing sniff. -->
<exclude-pattern>/requirements\.php</exclude-pattern>
</rule>
</ruleset>
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
* @copyright 2006-2019 Squiz Pty Ltd (ABN 77 084 670 600)
* @license https://github.com/PHPCSStandards/PHP_CodeSniffer/blob/master/licence.txt BSD Licence
*/

namespace PHP_CodeSniffer\Standards\Generic\Tests\PHP;

use PHP_CodeSniffer\Tests\Standards\AbstractSniffTestCase;
Expand Down
Loading