Releases: elyby/php-code-style
Releases · elyby/php-code-style
1.0.1
1.0.0
Added
single_space_around_constructfixer.no_extra_blank_linesfixer.
Changed
friendsofphp/php-cs-fixerversion bumped to^3.16.
Removed
- Iss #16: All custom fixers have been moved to the separate repository.
- Usage of the
braces_fixersince it's deprecated.
0.5.0
Added
- 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_properties
fixer for Ely.by codestyle in 2+ parameters mode.
Fixed
0.4.0
Added
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.
Changed
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.
Removed
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
Added
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.
Changed
friendsofphp/php-cs-fixerversion bumped to^2.13.0.
Fixed
ordered_importsnow has fixed order of import types.
0.2.1
Fixed
- Compatibility with the
friendsofphp/php-cs-fixerversion 2.13.3 and above.
0.2.0
Added
- Enh #4:
Ely\remove_class_name_method_usagesfixer. array_syntaxfixer.- This changelog file.
- Travis CI building.
Changed
friendsofphp/php-cs-fixerversion bumped to^2.12.2.phpunit/phpunitdowngraded to^6.5.1to be compatible with PHP 7.0.
Fixed
- Bug #5:
Ely/line_break_after_statementstriggers error if statement doesn't have control brackets.
0.1.0
Added
- First release