All notable changes will be documented in this file.
Updates should follow the Keep a CHANGELOG principles.
- Enforce snake_case methods for PHPUnit method (see laravel/pint#300)
- Enforce visibility for PHPUnit setUp and tearDown methods (see laravel/pint#301)
- Add/Configure new_with_parentheses rule (see laravel/pint#285)
- Enable single_line_empty_body rule (see laravel/pint#277)
- Replace custom phpdoc_align rule with php-cs-fixer option (see laravel/pint#242)
- Adds support for Laravel 11
- Disables fully_qualified_strict_types (see laravel/pint#240)
- Change default for nullable_type_declaration_for_default_null_value (see laravel/pint#236)
- Replace deprecated rules (see laravel/pint#224)
- Fixes non yoda_style rule moving variables (see laravel/pint#213)
- Orders interfaces and traits (see laravel/pint#206)
- Sort fixers by name (see laravel/pint#207)
- Improves imports when using functions (see laravel/pint#205)
- Remove deprecated function_typehint_space rule (see laravel/pint#197)
- Bump PHP-CS-Fixer to
^3.21
- Enable nullable_type_declaration_for_default_null_value fixer (see laravel/pint#192)
- Enable nullable_type_declaration fixer (see laravel/pint#193)
- Enable type_declaration_spaces fixer (see laravel/pint#194)
- Bump PHP-CS-Fixer to
^3.18
- Replace deprecated rule
single_blank_line_before_namespace
with newerblank_lines_before_namespace
- Enable statement_indentation fixer (see laravel/pint#178)
- Enable method_chaining_indentation fixer
- Replace deprecated braces rule
- Enable self_static_accessor fixer
- Updated texts in the documentation
- Include
php-cs-fixer.dist.php
again
- Removed Grouping of Rules
@Laravel
and@Laravel:risky