Skip to content

Latest commit

History

History
1653 lines (1149 loc) 路 71.9 KB

CHANGELOG.md

File metadata and controls

1653 lines (1149 loc) 路 71.9 KB

Changelog

All notable changes to this project will be documented in this file.

The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.

Unreleased

For a full diff see 6.28.1...main.

For a full diff see 6.28.0...6.28.1.

Fixed

For a full diff see 6.27.0...6.28.0.

Changed

For a full diff see 6.26.0...6.27.0.

Changed

For a full diff see 6.25.1...6.26.0.

Changed

For a full diff see 6.25.0...6.25.1.

Fixed

For a full diff see 6.24.0...6.25.0.

Changed

For a full diff see 6.23.0...6.24.0.

Changed

For a full diff see 6.22.0...6.23.0.

Changed

  • Updated friendsofphp/php-cs-fixer (#1021), by @dependabot
  • Enabled the phpdoc_array_type instead of the PhpCsFixerCustomFixers/phpdoc_array_style fixer (#1023), by @localheinz

For a full diff see 6.21.0...6.22.0.

Changed

  • Updated kubawerlos/php-cs-fixer-custom-fixers (#1009), by @dependabot
  • Disabled the fully_qualified_strict_types fixer (#1010), by @localheinz
  • Enabled and configured the global_namespace_import instead of the PhpCsFixerCustomFixers/no_import_from_global_namespace fixer (#1011), by @localheinz

For a full diff see 6.20.0...6.21.0.

Changed

  • Updated kubawerlos/php-cs-fixer-custom-fixers (#996), by @dependabot
  • Updated friendsofphp/php-cs-fixer (#1005), by @dependabot
  • Enabled the phpdoc_list_type instead of the PhpCsFixerCustomFixers/phpdoc_type_list fixer ([#1006]), by @localheinz

Fixed

For a full diff see 6.19.0...6.20.0.

Changed

For a full diff see 6.18.0...6.19.0.

Changed

  • Enabled the PhpCsFixerCustomFixers/multiline_comment_opening_closing_alone fixer (#974), by @localheinz
  • Enabled the PhpCsFixerCustomFixers/multiline_promoted_properties fixer (#975), by @localheinz
  • Enabled the PhpCsFixerCustomFixers/no_duplicated_array_key fixer (#976), by @localheinz
  • Enabled the PhpCsFixerCustomFixers/no_duplicated_imports fixer (#977), by @localheinz
  • Enabled the PhpCsFixerCustomFixers/no_import_from_global_namespace fixer (#978), by @localheinz
  • Enabled the PhpCsFixerCustomFixers/phpdoc_types_comma_spaces fixer (#979), by @localheinz

For a full diff see 6.17.0...6.18.0.

Changed

For a full diff see 6.16.1...6.17.0.

Changed

For a full diff see 6.16.0...6.16.1.

Fixed

For a full diff see 6.15.0...6.16.0.

Changed

For a full diff see 6.14.0...6.15.0.

Changed

Fixed

For a full diff see 6.13.1...6.14.0.

Changed

For a full diff see 6.13.0...6.13.1.

Fixed

For a full diff see 6.12.0...6.13.0.

Added

For a full diff see 6.11.0...6.12.0.

Changed

For a full diff see 6.10.0...6.11.0.

Changed

For a full diff see 6.9.0...6.10.0.

Changed

For a full diff see 6.8.1...6.9.0.

Changed

  • Configured case option of elements option of class_attributes_separation fixer (#922), by @localheinz
  • Enabled @all instead of individual sets for sets option of no_alias_functions fixer (#923), by @localheinz
  • Updated friendsofphp/php-cs-fixer (#927), by @dependabot

Fixed

  • Removed get_called_class and get_class options from functions option of function_to_constant fixer where the resulting code would be incompatible with the target PHP version (#923), by @localheinz

For a full diff see 6.8.0...6.8.1.

Fixed

For a full diff see 6.7.0...6.8.0.

Changed

For a full diff see 6.6.0...6.7.0.

Added

Changed

For a full diff see 6.5.0...6.6.0.

Changed

For a full diff see 6.4.0...6.5.0.

Changed

For a full diff see 6.3.0...6.4.0.

Changed

For a full diff see 6.2.0...6.3.0.

Changed

For a full diff see 6.1.0...6.2.0.

Changed

  • Required kubawerlos/php-cs-fixer-custom-fixers and enabled the PhpCsFixerCustomFixers/phpdoc_array_style fixer (#894), by @localheinz

For a full diff see 6.0.0...6.1.0.

Changed

  • Required erickskrauch/php-cs-fixer-custom-fixers and enabled the ErickSkrauch/line_break_after_statements fixer (#889), by @localheinz

For a full diff see 5.16.0...6.0.0.

Added

  • Extracted Config\Name as a value object (#870), by @localheinz
  • Extracted Config\PhpVersion as a value object (#871), by @localheinz
  • Extracted Config\Rules as a value object (#874), by @localheinz
  • Extracted Config\Fixers as a value object (#883), by @localheinz
  • Added Config\RuleSet::withRules() to allow overriding Config\Rules (#891), by @localheinz
  • Added Config\RuleSet::withCustomFixers() to allow registering additional Config\Fixers (#893), by @localheinz

Changed

  • Allow implementations of Config\RuleSet to declare and configure custom fixers (#872), by @localheinz
  • Renamed Config\RuleSet::targetPhpVersion() to Config\RuleSet::phpVersion() ([#878]), by @localheinz
  • Reduced visibility of constructors and extracted named constructors Config\RuleSet\Php53::create(), Config\RuleSet\Php54::create(), Config\RuleSet\Php55::create(), Config\RuleSet\Php56::create(), Config\RuleSet\Php70::create(), Config\RuleSet\Php71::create(), Config\RuleSet\Php72::create(), Config\RuleSet\Php73::create(), Config\RuleSet\Php74::create(), Config\RuleSet\Php80::create(), Config\RuleSet\Php81::create(), Config\RuleSet\Php82::create() (#886), by @localheinz
  • Turned Config\RuleSet into a value object returned from named constructors Config\RuleSet\Php53::create(), Config\RuleSet\Php54::create(), Config\RuleSet\Php55::create(), Config\RuleSet\Php56::create(), Config\RuleSet\Php70::create(), Config\RuleSet\Php71::create(), Config\RuleSet\Php72::create(), Config\RuleSet\Php73::create(), Config\RuleSet\Php74::create(), Config\RuleSet\Php80::create(), Config\RuleSet\Php81::create(), Config\RuleSet\Php82::create() (#888), by @localheinz

Fixed

  • Fixed target PHP versions in Config\Ruleset\Php53, Config\Ruleset\Php54, Config\Ruleset\Php55, Config\Ruleset\Php56, and Config\Ruleset\Php70 (#864), by @localheinz

Removed

  • Removed $name field from Config\Ruleset\AbstractRuleSet ([#865]), by @localheinz
  • Removed $targetPhpVersion field and targetPhpVersion() method from Config\Ruleset\AbstractRuleSet (#866), by @localheinz
  • Removed name() method from Config\Ruleset\AbstractRuleSet (#867), by @localheinz
  • Removed rules() method from Config\Ruleset\AbstractRuleSet (#868), by @localheinz
  • Removed DOCTRINE_IGNORED_TAGS constant from Config\Ruleset\AbstractRuleSet (#875), by @localheinz
  • Removed constructor from Config\Ruleset\AbstractRuleSet (#876), by @localheinz
  • Removed Config\Ruleset\AbstractRuleSet (#877), by @localheinz
  • Removed Config\RuleSet\ExplicitRuleSet (#885), by @localheinz
  • Removed optional $header parameter from Config\RuleSet\Php53::create(), Config\RuleSet\Php54::create(), Config\RuleSet\Php55::create(), Config\RuleSet\Php56::create(), Config\RuleSet\Php70::create(), Config\RuleSet\Php71::create(), Config\RuleSet\Php72::create(), Config\RuleSet\Php73::create(), Config\RuleSet\Php74::create(), Config\RuleSet\Php80::create(), Config\RuleSet\Php81::create(), Config\RuleSet\Php82::create() and added Config\RuleSet\Php53::withHeader(), Config\RuleSet\Php54::withHeader(), Config\RuleSet\Php55::withHeader(), Config\RuleSet\Php56::withHeader(), Config\RuleSet\Php70::withHeader(), Config\RuleSet\Php71::withHeader(), Config\RuleSet\Php72::withHeader(), Config\RuleSet\Php73::withHeader(), Config\RuleSet\Php74::withHeader(), Config\RuleSet\Php80::withHeader(), Config\RuleSet\Php81::withHeader(), Config\RuleSet\Php82::withHeader() mutators (#887), by @localheinz
  • Removed optional $overrideRules parameter from Config\Factory::fromRuleSet() (#892), by @localheinz

For a full diff see 5.15.1...5.16.0.

Changed

For a full diff see 5.15.0...5.15.1.

Fixed

For a full diff see 5.14.2...5.15.0.

Changed

For a full diff see 5.14.1...5.14.2.

Changed

For a full diff see 5.14.0...5.14.1.

Changed

For a full diff see 5.13.0...5.14.0.

Changed

For a full diff see 5.12.0...5.13.0.

Changed

For a full diff see 5.11.1...5.12.0.

Changed

For a full diff see 5.11.0...5.11.1.

Fixed

For a full diff see 5.10.0...5.11.0.

Changed

  • Updated friendsofphp/php-cs-fixer (#815), by @dependabot
  • Enabled and configured the nullable_type_declaration fixer (#816), by @localheinz
  • Configured the type_declaration_spaces fixer to include property in the elements option (#817), by @localheinz

For a full diff see 5.9.2...5.10.0.

Changed

For a full diff see 5.9.1...5.9.2.

Fixed

For a full diff see 5.9.0...5.9.1.

Fixed

For a full diff see 5.8.0...5.9.0.

Changed

For a full diff see 5.7.0...5.8.0.

Changed

For a full diff see 5.6.0...5.7.0.

Changed

For a full diff see 5.5.2...5.6.0.

Added

For a full diff see 5.5.1...5.5.2.

Changed

  • Disabled php_unit_test_class_requires_covers fixer (#765), by @localheinz

For a full diff see 5.5.0...5.5.1.

Changed

For a full diff see 5.4.0...5.5.0.

Changed

  • Configured phpdoc_separation fixer to group @deprecated annotations into a separate group (#751), by @localheinz

For a full diff see 5.3.3...5.4.0.

Changed

  • Updated friendsofphp/php-cs-fixer (#746), by @dependabot
  • Enabled and configured the single_space_around_construct fixer as a replacement for the deprecated single_space_after_construct fixer (#746), by @localheinz
  • Configured constructs_contain_a_single_space option of the single_space_around_construct fixer to enforce a single space in yield from constructs (#747), by @localheinz
  • Configured constructs_followed_by_a_single_space option of the single_space_around_construct fixer to include additional constructs (#748), by @localheinz

Fixed

  • Stopped configuring the deprecated braces fixer (#746), by @localheinz
  • Stopped configuring the deprecated single_space_after_construct fixer (#746), by @localheinz
  • Configured the newly added force option of the php_unit_data_provider_static fixer (#746), by @localheinz

For a full diff see 5.3.2...5.3.3.

Changed

For a full diff see 5.3.1...5.3.2.

Changed

For a full diff see 5.3.0...5.3.1.

Changed

For a full diff see 5.2.0...5.3.0.

Changed

For a full diff see 5.1.1...5.2.0.

Changed

  • Configured the phpdoc_order fixer to order additional annotations (#694), by @localheinz

For a full diff see 5.1.0...5.1.1.

Fixed

For a full diff see 5.0.1...5.1.0.

Added

  • Added Config\Ruleset\Php82 rule set ([#690]), by @localheinz

For a full diff see 5.0.0...5.0.1.

Fixed

For a full diff see 4.11.0...5.0.0.

Changed

Removed

For a full diff see 4.10.0...4.11.0.

Changed

For a full diff see 4.9.0...4.10.0.

Changed

For a full diff see 4.8.0...4.9.0.

Changed

  • Configured no_trailing_comma_in_singleline fixer to include group_import (#655), by @dependabot

For a full diff see 4.7.0...4.8.0.

Changed

For a full diff see 4.6.0...4.7.0.

Changed

  • Updated friendsofphp/php-cs-fixer (#642), by @dependabot
  • Configured the whitespace_after_comma_in_array fixer to ensure a single space using the ensure_single_space option (#645), by @localheinz
  • Configured the no_alternative_syntax fixer to ensure a single space using the fix_non_monolithic_code option (#646), by @localheinz

Fixed

  • Require all configurable rules to be explicitly configured when enabled and part of an ExplicitRuleSet (#644), by @localheinz

For a full diff see 4.5.3...4.6.0.

Changed

Fixed

For a full diff see 4.5.2...4.5.3.

Fixed

For a full diff see 4.5.1...4.5.2.

Fixed

For a full diff see 4.5.0...4.5.1.

Fixed

For a full diff see 4.4.0...4.5.0.

Changed

  • Updated friendsofphp/php-cs-fixer (#620), by @dependabot
  • Enabled control_structure_braces fixer (#621), by @localheinz
  • Enabled and configured curly_braces_position fixer (#622), by @localheinz
  • Enabled no_useless_nullsafe_operator fixer (#623), by @localheinz
  • Enabled statement_indentation fixer (#624), by @localheinz
  • Configured no_unneeded_control_parentheses fixer to include negative_instanceof and others in the statements option (#625), by @localheinz
  • Configured trailing_comma_in_multiline fixer to include match in the elements option (#626), by @localheinz
  • Configured single_space_after_construct fixer to include type_colon in the constructs option (#627), by @localheinz
  • Configured phpdoc_order_by_value fixer to include mixin in the annotations option (#628), by @localheinz
  • Configured no_extra_blank_lines fixer to include attribute in the tokens option (#629), by @localheinz

For a full diff see 4.3.0...4.4.0.

Changed

  • Updated friendsofphp/php-cs-fixer (#591), by @dependabot
  • Enabled date_time_create_from_format_call fixer (#592), by @localheinz
  • Configured types_spaces fixer to enforce no spaces between exception types when catching multiple exceptions with one catch statement (#593), by @localheinz

For a full diff see 4.2.0...4.3.0.

Changed

  • Configured blank_line_before_statement fixer to include additional statements (#581), by @localheinz
  • Configured no_unneeded_control_parentheses fixer to include additional statements (#583), by @localheinz
  • Configured ordered_class_elements fixer to order more elements (#584), by @localheinz
  • Configured phpdoc_align fixer to align more tags (#586), by @localheinz
  • Configured single_class_element_per_statement fixer to enforce single class element for const statements (#587), by @localheinz
  • Configured single_space_after_construct fixer to enforce a single space after additional constructs (#588), by @localheinz

For a full diff see 4.1.0...4.2.0.

Changed

For a full diff see 4.0.0...4.1.0.

Changed

For a full diff see 3.4.0...4.0.0.

Changed

Fixed

Removed

For a full diff see 3.3.0...3.4.0.

Changed

For a full diff see 3.2.0...3.3.0.

Added

Changed

For a full diff see 3.1.0...3.2.0.

Changed

Fixed

  • Stopped using deprecated use_trait option for no_extra_blank_lines fixer (#496), by @localheinz

For a full diff see 3.0.2...3.1.0.

Changed

  • Updated friendsofphp/php-cs-fixer (#475), by @dependabot
  • Enabled declare_parentheses fixer (#476), by @localheinz
  • Enabled and configured empty_loop_body fixer (#477), by @localheinz
  • Enabled and configured types_spaces fixer (#478), by @localheinz
  • Configured class_attributes_separation fixer to use newly added only_if_meta option for elements const and property (#479), by @localheinz
  • Configured class_attributes_separation fixer to use none option for element trait_import (#480), by @localheinz
  • Added template to ignored_tags configuration of doctrine_* fixers (#481), by @localheinz
  • Configured single_space_after_construct fixer to enforce single space after additional constructs (#483), by @localheinz

For a full diff see 3.0.1...3.0.2.

Fixed

For a full diff see 3.0.0...3.0.1.

Fixed

  • Fixed invalid configuration of phpdoc_to_property_type fixer in Php74 and Php80 rule sets (#428), by @OskarStark

For a full diff see 2.14.0...3.0.0.

Changed

  • Updated friendsofphp/php-cs-fixer (#420), by @localheinz
  • Configured function_to_constant fixer to include get_called_class() (#421), by @localheinz
  • Configured phpdoc_align fixer to include @method and @property annotations (#422), by @localheinz
  • Configured phpdoc_scalar fixer to include callback (#424), by @localheinz

Fixed

For a full diff see 2.13.1...2.14.0.

Changed

  • Updated friendsofphp/php-cs-fixer (#400), by @dependabot
  • Configured trailing_comma_in_multiline fixer to add trailing commas for arguments in Php73, Php74, and Php80 rule sets (#403), by @localheinz
  • Configured trailing_comma_in_multiline fixer to add trailing commas for parameters in Php80 rule set (#404), by @localheinz
  • Enabled and configured phpdoc_to_property_type fixer in Php74 and Php80 rule sets (#406), by @localheinz

For a full diff see 2.13.0...2.13.1.

Fixed

  • Stopped using deprecated configuration for class_attributes_separation fixer (#354), by @localheinz
  • Updated friendsofphp/php-cs-fixer (#392), by @dependabot

For a full diff see 2.12.1...2.13.0.

Added

For a full diff see 2.12.0...2.12.1.

Fixed

For a full diff see 2.11.0...2.12.0.

Changed

  • Configured phpdoc_order_by_value fixer to sort @method, @property, @property-read, and @property-write annotations in the Php71, Php73, Php74 rule sets (#344), by @localheinz

Fixed

For a full diff see 2.10.0...2.11.0.

Added

  • Added Config\RuleSet\Faker, a rule set for fakerphp/faker (#323), by @localheinz

Changed

For a full diff see 2.9.0...2.10.0.

Added

  • Added Config\RuleSet\ExplicitRuleSet marker interface for rule-sets that should be configured explicitly (#311), by @localheinz

Changed

  • Required only implementations of Config\RuleSet\ExplicitRuleSet not to configure any rules for rule sets (#313), by @localheinz
  • Required implementations of Config\RuleSet\ExplicitRuleSet to configure non-deprecated rules that are configurable with an explicit configuration when enabled (#314), by @localheinz
  • Required implementations of Config\RuleSet\ExplicitRuleSet to configure non-deprecated rules that are configurable with all non-deprecated configuration options when enabled (#320), by @localheinz
  • Required only implementations of Config\RuleSet\ExplicitRuleSet to configure all non-deprecated rules (#321), by @localheinz

Fixed

  • Stopped configuring rules using deprecated configuration options (#319), by @localheinz

For a full diff see 2.8.0...2.9.0.

Changed

  • Enabled and configured php_unit_test_case_static_method_calls fixer for Config\RuleSet\PhpUnit (#301), by @localheinz
  • Configured phpdoc_order_by_value fixer to order @throws annotations (#302), by @localheinz
  • Enabled php_unit_set_up_tear_down_visibility fixer for Config\RuleSet\PhpUnit (#303), by @localheinz
  • Enabled allow_single_line_anonymous_class_with_empty_body option for braces fixer (#306), by @localheinz
  • Configured phpdoc_order_by_value fixer to order @throws annotations for Config\RuleSet\PhpUnit (#310), by @localheinz

Fixed

For a full diff see 2.7.0...2.8.0.

Added

  • Added Config\RuleSet\PhpUnit, a rule set for phpunit/phpunit (#300), by @localheinz

For a full diff see 2.6.1...2.7.0.

Changed

For a full diff see 2.6.0...2.6.1.

Fixed

For a full diff see 2.5.3...2.6.0.

Changed

  • Updated friendsofphp/php-cs-fixer (#255), by @localheinz
  • Configured phpdoc_order_by_value fixer to order @dataProvider annotations by value (#257), by @localheinz
  • Configured phpdoc_order_by_value fixer to order @uses annotations by value (#258), by @localheinz
  • Configured phpdoc_order_by_value fixer to order @author annotations by value (#259), by @localheinz
  • Configured phpdoc_order_by_value fixer to order @coversNothing annotations by value (#260), by @localheinz
  • Configured phpdoc_order_by_value fixer to order @depends annotations by value (#261), by @localheinz
  • Configured phpdoc_order_by_value fixer to order @group annotations by value (#262), by @localheinz
  • Configured phpdoc_order_by_value fixer to order @internal annotations by value (#263), by @localheinz
  • Configured phpdoc_order_by_value fixer to order @requires annotations by value (#264), by @localheinz
  • Allowed installation on PHP 8.0 (#265), by @Nyholm

For a full diff see 2.5.2...2.5.3.

Fixed

For a full diff see 2.5.1...2.5.2.

Fixed

  • Enabled and configured proxied instead of deprecated fixers (#241), by @localheinz

For a full diff see 2.5.0...2.5.1.

Fixed

For a full diff see 2.4.0...2.5.0.

Changed

  • Configured the phpdoc_add_missing_param_annotation fixer to add annotation for untyped parameters only (#220), by @localheinz

For a full diff see 2.3.0...2.4.0.

Changed

For a full diff see 2.2.2...2.3.0.

Added

For a full diff see 2.2.1...2.2.2.

Changed

For a full diff see 2.2.0...2.2.1.

Fixed

For a full diff see 2.1.2...2.2.0.

Changed

  • Configured ordered_imports fixer to group imports by kind (#133), by @localheinz

For a full diff see 2.0.0...2.1.0.

Changed

  • Configured php_unit_dedicate_assert fixer to target newest versions of phpunit/phpunit (#73), by @localheinz

For a full diff see 1.1.3...2.0.0.

Removed

For a full diff see 1.1.2...1.1.3.

Added

For a full diff see 1.1.1...1.1.2.

Fixed

For a full diff see 1.1.0...1.1.1.

Fixed

  • Removed an inappropriate replace configuration from composer.json (#14), by @localheinz

For a full diff see 1.0.0...1.1.0.

Added

  • Added Config\RuleSet\Laravel6, a rule set for Laravel 6 (#3), by @linuxjuggler

For a full diff see d899e77...1.0.0.