Releases: drupol/phpcsfixer-configs-drupal
Releases · drupol/phpcsfixer-configs-drupal
2.2.0
2.2.0 - 2024-10-02
Changed
- replace deprecated rule 'escape_implicit_backslashes' by 'string_implicit_backslashes'
Removed
- drop support for php-cs-fixer 3.35.x by removing tests on this version
Added
- add running tests on PHP 8.3
- add rule declare_equal_normalize to support declare(strict_types=1) without spaces around equal for Drupal8
- enable ordered_imports.case_sensitive by default since Drupal Coder (8.3.25) is now enforcing it
- enable rule fully_qualified_strict_types.phpdoc_tags = [] to prevent php-cs-fixer stripping Namespaces out of comments
2.1.0
2.1.0 - 2023-10-23
Added
- add CHANGELOG with history of changes
- add Fixer Drupal/blank_line_after_start_of_class (#7)
- fix broken whitespace on Control Structure (#12)
- add no_blank_lines_after_phpdoc:curly_brace_block (#8)
Fixed
- fix broken whitespace on Control Structure Fixer (#12)
- fix broken whitespace on Try-Catch Fixer (#12)
- fix broken whitespace on BlankLineBeforeEndOfClass Fixer (#12)
Changed
- refactoring of tests integration using PHPUnit & Github Actions
- replace deprecated braces configuration by curly_braces_position (#8)
- replace deprecated curly_braces_position configuration by braces_position (#8)
- replace braces:position_after_control_structures by control_structure_continuation_position:position (#8)
- replace deprecated braces by single_space_around_construct (#8)
- enable class_attributes_separation: true following phpcs (drupal/coder) rules (#8)
- replace deprecated no_blank_lines_after_phpdoc:use_trait by class_attributes_separation: true (#8)
- replace deprecated no_spaces_inside_parenthesis by spaces_inside_parentheses:space:none instead (#8)
- replace deprecated compact_nullable_typehint by compact_nullable_type_declaration (#8)
- raise minimal friendsofphp/php-cs-fixer version from ^3.18 to ^3.35 (#8)
Removed
- remove NewlineAfterLastCommaInArrayFixer now that a similar rule has been included in PHP CS Fixer
Security
- update phpunit/phpunit (9.6.13 => 10.4.1)
Deprecated
- deprecate Fixer ControlStructureCurlyBracketsElseFixerTest now that a similar rule (control_structure_continuation_position:position:next_line) has been included in PHP CS Fixer (#8)
- deprecate Fixer TryCatchFinallyBlockFixer now that a similar rule (control_structure_continuation_position:position:next_line) has been included in PHP CS Fixer (#8)