All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog and this project adheres to Semantic Versioning.
align_multiline_commentfixer.nullable_type_declarationfixer.php_unit_data_provider_return_typefixer.attribute_empty_parenthesesfixer.numeric_literal_separatorfixer.
- Replace
compact_nullable_typehintwithcompact_nullable_type_declaration(deprecated). - Replace
curly_braces_positionwithbraces_position(deprecated). - Replace
function_typehint_spacewithtype_declaration_spaces(deprecated). - Replace
native_function_type_declaration_casingwithnative_type_declaration_casing(deprecated). - Replace
new_with_braceswithnew_with_parentheses(deprecated).
1.0.1 - 2023-07-21
comment_to_phpdocno longer fixes PHPStan error suppression and thetodotag.
1.0.0 - 2023-05-17
single_space_around_constructfixer.no_extra_blank_linesfixer.
friendsofphp/php-cs-fixerversion bumped to^3.16.
- Iss #16: All custom fixers have been moved to the separate repository.
- Usage of the
braces_fixersince it's deprecated.
0.5.0 - 2023-04-08
- Enh #12: Implemented
Ely\align_multiline_parametersfixer. - Enh #13: Implemented
Ely\multiline_if_statement_bracesfixer. - Enabled
Ely\align_multiline_parametersfor Ely.by codestyle in['types' => false, 'defaults' => false]mode. - Enabled
Ely\multiline_if_statement_bracesfor Ely.by codestyle in['keep_on_own_line' => true]mode. - Enabled
PhpCsFixerCustomFixers/multiline_promoted_propertiesfixer for Ely.by codestyle in 2+ parameters mode.
- Bug #10:
Ely/blank_line_before_returndon't treat interpolation curly bracket as beginning of the scope. - Bug #9:
Ely/line_break_after_statementsadd space before next meaningful line of code and skip comments.
0.4.0 - 2022-12-06
simple_to_complex_string_variablefixer.single_trait_insert_per_statementfixer.native_function_type_declaration_casingfixer.php_unit_mock_short_will_returnfixer.php_unit_dedicate_assert_internal_typefixer.php_unit_no_expectation_annotationfixer.modernize_strposfixer.no_multiple_statements_per_linefixer.octal_notationfixer.class_reference_name_casingfixer.integer_literal_casefixer.no_unset_castfixer.no_null_property_initializationfixer.comment_to_phpdocfixer.multiline_comment_opening_closingfixer.no_empty_commentfixer.single_line_comment_spacingfixer.single_line_comment_stylefixer.empty_loop_bodyfixer.empty_loop_conditionfixer.switch_continue_to_breakfixer.yoda_stylefixer in non-yoda mode.function_typehint_spacefixer.lambda_not_used_importfixer.no_unneeded_import_aliasfixer.combine_consecutive_unsetsfixer.declare_parenthesesfixer.clean_namespacefixer.assign_null_coalescing_to_coalesce_equalfixer.no_useless_nullsafe_operatorfixer.operator_linebreakfixer.php_unit_fqcn_annotationfixer.php_unit_test_case_static_method_callsfixer.simplified_null_returnfixer.no_empty_statementfixer.no_singleline_whitespace_before_semicolonsfixer.semicolon_after_instructionfixer.types_spacesfixer.no_trailing_comma_in_singlelinefixer.no_useless_concat_operatorfixer.
friendsofphp/php-cs-fixerversion bumped to^3.bracesfixer now enables ruleallow_single_line_anonymous_class_with_empty_body.class_attributes_separationfixer now fixesconstin theonly_if_metamode.
Ely/new_with_bracessince all its functionality is now included in the original fixer.self_accessorfixer because it leads to errors in interfaces, that returns self.
0.3.0 - 2019-02-23
array_indentationfixer.combine_consecutive_issetsfixer.combine_nested_dirnamefixer.dir_constantfixer.ereg_to_pregfixer.explicit_string_variablefixer.implode_callfixer.is_nullfixer.list_syntaxfixer.logical_operatorsfixer.lowercase_castfixer.lowercase_static_referencefixer.magic_constant_casingfixer.magic_method_casingfixer.multiline_whitespace_before_semicolonsfixer.native_function_casingfixer.no_alternative_syntaxfixer.no_homoglyph_namesfixer.no_leading_import_slashfixer.no_leading_namespace_whitespacefixer.no_mixed_echo_printfixer.no_multiline_whitespace_around_double_arrowfixer.no_php4_constructorfixer.no_spaces_around_offsetfixer.no_superfluous_elseiffixer.no_unneeded_control_parenthesesfixer.no_useless_returnfixer.php_unit_constructfixer.php_unit_expectationfixer.php_unit_method_casingfixer.php_unit_mockfixer.php_unit_namespacedfixer.php_unit_set_up_tear_down_visibilityfixer.php_unit_strictfixer.pow_to_exponentiationfixer.psr4fixer.return_assignmentfixer.random_api_migrationfixer.self_accessorfixer.set_type_to_castfixer.short_scalar_castfixer.space_after_semicolonfixer.standardize_incrementfixer.standardize_not_equalsfixer.trim_array_spacesfixer.unary_operator_spacesfixer.
friendsofphp/php-cs-fixerversion bumped to^2.13.0.
ordered_importsnow has fixed order of import types.
0.2.1 - 2019-02-22
- Compatibility with the
friendsofphp/php-cs-fixerversion 2.13.3 and above.
0.2.0 - 2018-08-08
- Enh #4:
Ely\remove_class_name_method_usagesfixer. array_syntaxfixer.- This changelog file.
- Travis CI building.
friendsofphp/php-cs-fixerversion bumped to^2.12.2.phpunit/phpunitdowngraded to^6.5.1to be compatible with PHP 7.0.
- Bug #5:
Ely/line_break_after_statementstriggers error if statement doesn't have control brackets.
- First release