Permalink
Browse files

coding-standard-php56 set - use official fixer instead of deprecated one

  • Loading branch information...
TomasVotruba committed Dec 31, 2017
1 parent e2bbb39 commit 2556a0ebeadcee5d37615b919ea803ef6735c818
Showing with 5 additions and 5 deletions.
  1. +5 −5 coding-standard-php56.neon
@@ -1,8 +1,8 @@
parameters:
indentation: tab

services:
Nette\CodingStandard\Finder\SourceProvider: ~
#services:
# Nette\CodingStandard\Finder\SourceProvider: ~

checkers:
# Checkers bellow aim on 1:1 copy of https://nette.org/en/coding-standard
@@ -143,9 +143,9 @@ checkers:
Nette\CodingStandard\Fixer\ClassNotation\ClassAndTraitVisibilityRequiredFixer:
elements: [property, method]

# Constants and Properties should be separated by 1 space
Symplify\CodingStandard\Fixer\ClassNotation\PropertyAndConstantSeparationFixer:
space_count: 1
# Constants, Properties and Methods should be separated by 1 blank line
PhpCsFixer\Fixer\ClassNotation\ClassAttributesSeparationFixer:
elements: [const, property]

# Last property and 1st method should be separated by 2 spaces
Symplify\CodingStandard\Fixer\ClassNotation\LastPropertyAndFirstMethodSeparationFixer:

0 comments on commit 2556a0e

Please sign in to comment.