Releases: beste/php-cs-fixer-config
Releases · beste/php-cs-fixer-config
2.3.0
- Replaced deprecated
function_typehint_space
withtype_declaration_spaces
- Replaced deprecated
no_spaces_inside_parenthesis
withspaces_inside_parentheses
2.2.0
2.1.0
Changed php_unit_test_annotation
style from prefix
to annotation
2.0.0
- Removed
friendsofphp/php-cs-fixer
as a direct dependency (the recommended way is not to use it as a dev dependency) - Removed configs for PHP 7.4 and 8.0
- Changed directory structure to align with
ergebnis/php-cs-fixer-config-template
- Made all common rules explicit
1.2.0
global_namespace_import
: Imports or fully qualifies global classes/functions/constants.- Re-enable for classes, constants, and functions
1.1.0
native_function_invocation
: Add leading\
before function invocation to speed up resolving- Enable only for
@compiler_optimized
functions and remove\
of function calls not meant to have it.
- Enable only for
global_namespace_import
: Imports or fully qualifies global classes/functions/constants.- Enable only for classes
1.0.1
Fixes PHP version requirements to allow PHP 7.4 and PHP 8.0
1.0.0
Initial release
Rules extend the Ergebnis rules with the following modifications:
blank_line_between_import_groups
: Blank lines are put between import groupsglobal_namespace_import
: classes and functions are importedphpdoc_align
: PHPDoc items are left-alignedphpdoc_types_order
: types are not sorted,null
is always lastphp_unit_test_class_requires_covers
: Tests don't require@covers
annotationsyoda_style
: Condition styles are not enforced