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.
You can find and compare releases at the GitHub release page.
- Add
LineBreakBeforeThrowExpressionFixer#14
- Add
PhpdocSimplifyArrayKeyFixer#13
- Remove backslashes from native function invocations
- Enable
assign_null_coalescing_to_coalesce_equalfixer - Enable
list_syntaxfixer - Enable
method_chaining_indentationfixer - Enable
single_line_throwfixer - Enable
MultilinePromotedPropertiesFixerfixer
- Ensure
trailing_comma_in_multilineis compatible with PHP 7.4
- Move
use_arrow_functionsfixer to risky rules
- Add
modernize_types_castingfixer
- Add
use_arrow_functionsfixer
- Add
multiline_whitespace_before_semicolonsfixer
- Force
?ToverT|null
- Disable
fully_qualified_strict_typesfixer
- Enable
single_line_empty_bodyfixer
- Enforce non-Yoda style
- Prefer single-line PHPDocs
- Add
ConstructorEmptyBracesFixer
- Add
DeclareAfterOpeningTagFixerfromkubawerlos/php-cs-fixer-custom-fixers
- Require PHP 7.4
- Add rule
explicit_string_variable
- Disable
heredoc_indentation
- Always have single space around binary operators
- Downgrade the required PHP version to
^7.2
- Support PHP 8
- No alignment in PHPDocs to preserve complex array shapes
- Allow intermediary PHPDocs to provide type assertions for PHPStan
- Upgrade to
friendsofphp/php-cs-fixer:^3
- Remove custom fixer
MLL/variable_case
- Disable custom fixer
MLL/variable_caseby default
- Add custom fixer
MLL/variable_case
- Change namespace to
MLL\PhpCsFixerConfig
- Add declare in line with PHP opening tag
- Readd custom
phpdoc_no_alias_tag
- Make risky rules optional
- Require
friendsofphp/php-cs-fixer
- Enable rule
array_indentation
- Enable rule
logical_operators
- Add
MLL\PhpCsFixerRules\config()