All notable changes will be documented in this file.
Updates should follow the Keep a CHANGELOG principles.
- Added deprecation notice to composer.json.
- Added the
array_indentation
,clean_namespace
,no_alias_language_construct_call
,lambda_not_used_import
,switch_continue_to_break
,phpdoc_inline_tag_normalizer
,integer_literal_case
,no_space_around_double_colon
, andtypes_spaces
rules. - Added support for PHP 8.0.
- Added support for PHP-CS-Fixer 3.x
- The
method_argument_space
rule was updated to ignore multiline method calls.
- Removed the
phpdoc_inline_tag
rule. - Removed the
braces
rule. - Dropped PHP 7.2 and PHP 7.3 support.
- Dropped support for
illuminate/support
5.7.x|5.8.x|^6.0
. You will need to use^7.0
going forward. - Removed support for PHP-CS-Fixer versions before 3.2.0.
- Added support for Laravel 8.
- Switched the
concat_space
rule fromtrue
to['spacing' => 'none']
. Functionally it's the same, it's just more readable. - Changed the default seeders path from
seeds
toseeders
in the default.php_cs
config file to match Laravel 8.0. If you haven't edited your.php_cs
you can pull in the updated version by runningphp artisan vendor:publish --provider="MattAllan\LaravelCodeStyle\ServiceProvider" --force
.
- Added support for Laravel 7.
- Added the
list_syntax
rule. - Switched from length sorted imports to alpha sorted imports.
- Added the
no_extra_blank_lines
rule for tokensthrow
,use
, anduse_trait
. This corresponds to StyleCI'sno_blank_lines_after_throw
,no_blank_lines_between_imports
, andno_blank_lines_between_traits
rules. - Added support for Laravel 6.0.
- Explicitly format the database seeds and factories folders rather than formatting the entire database path and excluding the migrations folder. This change was necessary to prevent migrations from being modified by the fixer. Since this change only affects the default config you will either need to republish the config or manually apply the changes yourself.
- Dropped PHP 7.1 support.
- Added support for installation in 5.7.* Laravel apps