Skip to content

Releases: beste/php-cs-fixer-config

2.3.0

06 Sep 23:12
2.3.0
ed3a49b
Compare
Choose a tag to compare
  • Replaced deprecated function_typehint_space with type_declaration_spaces
  • Replaced deprecated no_spaces_inside_parenthesis with spaces_inside_parentheses

2.2.0

20 Jun 20:37
2.2.0
3e4d174
Compare
Choose a tag to compare

Replaced deprecated no_blank_lines_before_namespace and single_blank_line_before_namespace rules with blank_lines_before_namespace

2.1.0

18 May 12:28
2.1.0
98b8cca
Compare
Choose a tag to compare

Changed php_unit_test_annotation style from prefix to annotation

2.0.0

09 Apr 13:31
2.0.0
178b80b
Compare
Choose a tag to compare

1.2.0

17 Oct 22:16
29ff260
Compare
Choose a tag to compare
  • global_namespace_import: Imports or fully qualifies global classes/functions/constants.
    • Re-enable for classes, constants, and functions

1.1.0

18 Sep 13:59
a7174c8
Compare
Choose a tag to compare
  • 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.
  • global_namespace_import: Imports or fully qualifies global classes/functions/constants.
    • Enable only for classes

1.0.1

25 Aug 10:13
331752d
Compare
Choose a tag to compare

Fixes PHP version requirements to allow PHP 7.4 and PHP 8.0

1.0.0

25 Aug 09:58
f006cb0
Compare
Choose a tag to compare

Initial release

Rules extend the Ergebnis rules with the following modifications:

  • blank_line_between_import_groups: Blank lines are put between import groups
  • global_namespace_import: classes and functions are imported
  • phpdoc_align: PHPDoc items are left-aligned
  • phpdoc_types_order: types are not sorted, null is always last
  • php_unit_test_class_requires_covers: Tests don't require @covers annotations
  • yoda_style: Condition styles are not enforced