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.
- Enable
assign_null_coalescing_to_coalesce_equal
fixer - Enable
list_syntax
fixer - Enable
method_chaining_indentation
fixer - Enable
single_line_throw
fixer - Enable
MultilinePromotedPropertiesFixer
fixer
- Ensure
trailing_comma_in_multiline
is compatible with PHP 7.4
- Move
use_arrow_functions
fixer to risky rules
- Add
modernize_types_casting
fixer
- Add
use_arrow_functions
fixer
- Add
multiline_whitespace_before_semicolons
fixer
- Force
?T
overT|null
- Disable
fully_qualified_strict_types
fixer
- Enable
single_line_empty_body
fixer
- Enforce non-Yoda style
- Prefer single-line PHPDocs
- Add
ConstructorEmptyBracesFixer
- Add
DeclareAfterOpeningTagFixer
fromkubawerlos/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_case
by 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()