php-cs-fixer-custom-fixers

A set of custom fixers for PHP CS Fixer

MIT License

Downloads
7.1M
Stars
210
Committers
10
php-cs-fixer-custom-fixers -

Published by kubawerlos about 3 years ago

  • Add MultilinePromotedPropertiesFixer
  • Add PhpdocArrayStyleFixer
  • Add PromotedConstructorPropertyFixer
  • Restore PhpCsFixerCustomFixers\Analyzer\SwitchAnalyzer (as PhpCsFixer\Tokenizer\Analyzer\SwitchAnalyzer got removed in PHP CS Fixer 3.2.0)
php-cs-fixer-custom-fixers -

Published by kubawerlos about 3 years ago

  • NoUselessParenthesisFixer - better fix for callable properties
php-cs-fixer-custom-fixers -

Published by kubawerlos about 3 years ago

  • NoUselessParenthesisFixer - fix for callable properties
php-cs-fixer-custom-fixers -

Published by kubawerlos about 3 years ago

  • Drop support for PHP CS Fixer v2
  • Add StringableInterfaceFixer
  • Remove NoUselessSprintfFixer - use "no_useless_sprintf"
  • Remove OperatorLinebreakFixer - use "operator_linebreak"
  • NoCommentedOutCodeFixer - do not remove URLs
  • NoDuplicatedArrayKeyFixer - add option "ignore_expressions"
  • NoUselessParenthesisFixer - fix expressions
  • PhpdocNoIncorrectVarAnnotationFixer - handle class properties when variable names are different and constants with visibility
php-cs-fixer-custom-fixers -

Published by kubawerlos over 3 years ago

  • Add PHP CS Fixer v3 support
php-cs-fixer-custom-fixers - v2.4.1

Published by kubawerlos over 3 years ago

php-cs-fixer-custom-fixers -

Published by kubawerlos almost 4 years ago

  • Allow PHP 8
  • Update PHP CS Fixer to v2.17
  • Deprecate NoUselessSprintfFixer - use "no_useless_sprintf"
  • Deprecate OperatorLinebreakFixer - use "operator_linebreak"
  • Remove PhpCsFixerCustomFixers\Analyzer\ReferenceAnalyzer - use PhpCsFixer\Tokenizer\Analyzer\ReferenceAnalyzer
  • Remove PhpCsFixerCustomFixers\Analyzer\SwitchAnalyzer - use PhpCsFixer\Tokenizer\Analyzer\SwitchAnalyzer
php-cs-fixer-custom-fixers -

Published by kubawerlos over 4 years ago

  • Add NoUselessParenthesisFixer
  • Add NoUselessStrlenFixer
  • DataProviderNameFixer - handle snake_case naming
php-cs-fixer-custom-fixers - v2.2.1

Published by kubawerlos over 4 years ago

  • Fix priority of PhpdocSingleLineVarFixer to be run after before PhpdocLineSpanFixer
php-cs-fixer-custom-fixers - v2.2.0

Published by kubawerlos over 4 years ago

  • Feature: DataProviderNameFixer - add options "prefix" and "suffix"
php-cs-fixer-custom-fixers -

Published by kubawerlos over 4 years ago

  • Add CommentedOutFunctionFixer
  • Add NoDuplicatedArrayKeyFixer
  • Add NumericLiteralSeparatorFixer
php-cs-fixer-custom-fixers -

Published by kubawerlos over 4 years ago

  • Drop PHP 7.1 support
  • Remove ImplodeCallFixer - use "implode_call"
  • Remove NoTwoConsecutiveEmptyLinesFixer - use "no_extra_blank_lines"
  • Remove NoUnneededConcatenationFixer - use NoSuperfluousConcatenationFixer
  • Remove NoUselessClassCommentFixer - use NoUselessCommentFixer
  • Remove NoUselessConstructorCommentFixer - use NoUselessCommentFixer
  • Remove NullableParamStyleFixer - use "nullable_type_declaration_for_default_null_value"
  • Remove PhpdocVarAnnotationCorrectOrderFixer - use "phpdoc_var_annotation_correct_order"
  • Remove SingleLineThrowFixer - use "single_line_throw"
php-cs-fixer-custom-fixers - v1.17.1

Published by kubawerlos over 4 years ago

  • NoImportFromGlobalNamespaceFixer - fix for using trait (#231)
php-cs-fixer-custom-fixers -

Published by kubawerlos almost 5 years ago

  • Update PHP CS Fixer to v2.16
  • Add DataProviderStaticFixer
  • Add NoSuperfluousConcatenationFixer
  • Add PhpdocTypesTrimFixer
  • Feature: NoSuperfluousConcatenationFixer - add option "allow_preventing_trailing_spaces"
  • Feature: NoSuperfluousConcatenationFixer - handle concatenation of single and double quoted strings together
  • Deprecate NoUnneededConcatenationFixer
  • Deprecate NullableParamStyleFixer
  • Deprecate SingleLineThrowFixer
  • Allow symfony/finder 5.0
  • Add Windows OS support with AppVeyor
php-cs-fixer-custom-fixers - v1.16.2

Published by kubawerlos almost 5 years ago

  • PhpdocSelfAccessorFixer - handle \E in FQCN (#174)
php-cs-fixer-custom-fixers - v1.16.1

Published by kubawerlos almost 5 years ago

  • Fix for OperatorLinebreakFixer handling multiple switch statements.
php-cs-fixer-custom-fixers -

Published by kubawerlos about 5 years ago

  • Add PhpdocOnlyAllowedAnnotationsFixer
  • Feature: OperatorLinebreakFixer - handle object operators
php-cs-fixer-custom-fixers -

Published by kubawerlos about 5 years ago

php-cs-fixer-custom-fixers -

Published by kubawerlos about 5 years ago

  • Add CommentSurroundedBySpacesFixer
  • Add DataProviderReturnTypeFixer
  • Add NoDuplicatedImportsFixer
php-cs-fixer-custom-fixers -

Published by kubawerlos over 5 years ago

  • Add DataProviderNameFixer
  • Add NoUselessSprintfFixer
  • Add PhpUnitNoUselessReturnFixer
  • Add SingleLineThrowFixer
  • Feature: NoCommentedOutCodeFixer - handle class method
  • Deprecate SingleLineThrowFixer