Skip to content

Latest commit

 

History

History
146 lines (95 loc) · 5.66 KB

CHANGELOG.md

File metadata and controls

146 lines (95 loc) · 5.66 KB

Changelog

All notable changes to this library will be documented in this file:

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

v3.2.1 - 2021-07-07

  • Forbid running PHPStan on PHP8.1 (for now)
  • Standardize phpunit.xml.dist structure.
  • Remove include/require from statements requiring blank line before.
  • Fix for AbstractRulesetTestCase when configurable fixer is not yet defined by the ruleset.
  • [Nexus80] Enable void_return fixer
  • Limit excluded annotations to @final and @no-final only
  • [Nexus80] Enable final_public_method_for_abstract_class
  • [Nexus80] Enable phpdoc_to_param_type and phpdoc_to_return_type
  • Remove @test annotations from tests
  • Disable php_unit_test_class_requires_covers. Let PHPUnit do the job instead.

v3.2.0 - 2021-06-19

  • Enable PHP 8.1 build workflow
  • Forbid importing global functions and constants in addition to global classes
  • [Possible BC break] Refactored stricter AbstractRulesetTestCase
  • Removed superfluous PHPDoc tags if present in method signature
  • Changed default rule for binary_operator_spaces to single_space for all rulesets
  • Changed parent namespace to "Nexus"
  • Dropped phpstan/phpstan-strict-rules

v3.1.1 - 2021-06-01

  • Changed native_constant_invocation to fix only a subset of built in constants

v3.1.0 - 2021-06-01

  • Changed native_constant_invocation to fix all built in constants
  • Completed options for native_function_invocation
  • Changed phpdoc_line_span and phpdoc_tag_type rules
  • Allow @author tags in general_phpdoc_annotation_remove rule
  • Await one_if_phpdoc option for class_attributes_separation

v3.0.3 - 2021-05-07

  • Add test for checking missing built-in rules in ruleset
  • Optimize tests' execution times

v3.0.2 - 2021-05-07

  • Allow overriding of AbstractRulesetTestCase::createRuleset()

v3.0.1 - 2021-05-07

  • Update branch alias to 3.x-dev
  • Fixed default cache file in Factory
  • Update references of old configuration in README
  • Fix Nexus74 ruleset to enable phpdoc_to_property_type
  • Change attribute separation of const to none in Nexus80 ruleset
  • Use descriptive names for rulesets

v3.0.0 - 2021-05-06

  • Update friendsofphp/php-cs-fixer to v3.0.0 Constitution
  • New ruleset: Nexus80, targeting PHP 8.0+
  • Add Tachycardia for profiling of slow tests
  • Build action is also run on schedule

v2.2.1 - 2021-05-06

  • Fixed faulty build action on running php-cs-fixer
  • Use range diffs in CHANGELOG

v2.2.0 - 2021-05-06

  • Update friendsofphp/php-cs-fixer to v2.19 Testament
  • Use new FixerFactory() instead of FixerFactory::create()
  • Add phpdoc_to_property_type and trailing_comma_in_multiline rules
  • Removed deprecated fixers from the rulesets
  • Removed deprecated fixer options from the rulesets
  • Renamed configuration file to .php-cs-fixer.dist.php

v2.1.5 - 2021-02-20

Fixed

  • Removed the faulty replace section in composer.json causing halted installations
  • Fixed errors reported by PHPStan on level 8

v2.1.4 - 2021-01-18

Added

  • Added support for PHP 8
  • Bump friendsofphp/php-cs-fixer to v2.18.0 Remote Void

v2.1.3 - 2021-01-07

Fixed

  • Fixed a PHPStan error on the incorrect covariant return type of Factory::invoke.

v2.1.2 - 2021-01-07

Fixed

  • Fixed name of Nexus74 ruleset which was erroneously set as Nexus73.
  • Fixed license format in README.

v2.1.1 - 2020-12-12

Changed

  • increment_style fixer now uses the ['style' => 'pre']. Previously, this was post.

v2.1.0 - 2020-12-08

Added

  • Added support for new fixers in v2.17.0 Desert Beast.
  • Added Nexus74 ruleset for support on use_arrow_functions fixer.
  • Added testing for deprecated fixers.

Changed

  • phpdoc_line_span has been set to single for all classy elements.
  • binary_operator_spaces has been set to its default single_space for use in this library.

v2.0.2 - 2020-12-01

Fixed

  • Re-release of previous release due to inconsistency in tagging process.

v2.0.1 - 2020-12-01

Changed

  • global_namespace_import has its option import_classes set to false.
  • Renamed phpunit.xml.dist's cacheResultFile attribute

v2.0.0 - 2020-11-28

Changed

  • Initial release in this repository. See MIGRATION for the detailed changes from its predecessor library.