Skip to content

Commit

Permalink
Switched FunctionSpacingSniff
Browse files Browse the repository at this point in the history
  • Loading branch information
JanGalek committed Sep 10, 2019
1 parent 39ee9a8 commit 50b8327
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions coding-standard-php56.yml
Original file line number Diff line number Diff line change
Expand Up @@ -136,8 +136,11 @@ services:
PhpCsFixer\Fixer\Casing\NativeFunctionCasingFixer: ~
# In the argument list, there must be one space after each comma, and there must no be a space before each comma
PhpCsFixer\Fixer\FunctionNotation\MethodArgumentSpaceFixer: ~
# This sniff checks that there are two blank lines between functions declarations and single between signatures.
Nette\CodingStandard\Sniffs\WhiteSpace\FunctionSpacingSniff: ~
# This sniff checks that there are (number) blank lines between functions declarations and (number) between signatures.
PHP_CodeSniffer\Standards\Squiz\Sniffs\WhiteSpace\FunctionSpacingSniff:
spacing: 1
spacingBeforeFirst: 0
spacingAfterLast: 0

# Classes - https://nette.org/en/coding-standard#toc-classes

Expand Down

0 comments on commit 50b8327

Please sign in to comment.