New PHP Fixers
June 14, 2019
We have introduced some new PHP fixers today, and made some changes to our presets. Our new fixers are:
combine_nested_dirname,error_suppression,heredoc_indentation,implode_call,logical_operators,lowercase_static_reference,magic_method_casing,native_constant_invocation,native_function_type_declaration_casing,no_binary_string,no_superfluous_phpdoc_tags,no_unset_cast,no_unset_on_property,php_unit_dedicate_assert_internal_type,php_unit_mock_short_will_return,return_assignment,set_type_to_cast,simple_to_complex_string_variable,single_trait_insert_per_statement.
Our preset changes are as follows:
-
To our
recommendedpreset, thelowercase_static_reference,magic_method_casing, andnative_function_type_declaration_casingfixers have been added. -
To our
laravelpreset, thelowercase_static_reference,magic_method_casing, andnative_function_type_declaration_casingfixers have been added. -
To our
symfonypreset, thelowercase_static_reference,magic_method_casing,native_function_type_declaration_casing, andsingle_trait_insert_per_statementfixers have been added.
Please do get in touch with us if you have any questions or comments!