Releases: CodeIgniter/coding-standard
Releases · CodeIgniter/coding-standard
v1.5.0 Coding Standard
Added
Fixed
- chore: fix editorconfig (#4)
Changed
- Enable
ensure_single_spaceoption ofwhitespace_after_comma_in_array - Use the
space_multiple_catchoption oftypes_spaces - Fix multi-lines
- Add
group_to_single_importsoption tosingle_import_per_statement - Enable
date_time_create_from_format_call - Add options to
new_with_braces - Add
orderoption tophpdoc_order - Add the
trailing_comma_single_lineoption tofunction_declaration - Enable
curly_braces_position - Enable
single_line_comment_spacing - Enable
no_trailing_comma_in_singleline - Add
inline_constructor_argumentsoption toclass_definition - Enable
statement_indentation - Enable
no_useless_nullsafe_operator - Enable
no_multiple_statements_per_line - Enable
control_structure_braces - Enable
blank_line_between_import_groups - Remove deprecated fixers
- Configure
groupsoption inphpdoc_separationrule - Bump php-cs-fixer version
New Contributors
- @GaryJones made their first contribution in #2
Full Changelog: v1.4.0...v1.5.0
v1.4.0 Coding Standard
Changed
- Permit use of latest php-cs-fixer v3.6.0
Please refer to the CHANGELOG for the detailed list of changes.
v1.3.0 Coding Standard
Changed
- Fix GHA workflows
- Bump versions
- PHP 7.4 minimum
- friendsofphp/php-cs-fixer v3.4.0
- phpstan/phpstan v1.0 minimum
- Enable
ordered_class_elementsrule - Enable
global_namespace_importrule (#1) - Use
GITHUB_TOKENso that secrets can be passed to PRs
New Contributors
Please refer to the CHANGELOG for the detailed list of changes.
v1.2.0 Coding Standard
Changed
- Bump
friendsofphp/php-cs-fixerto v3.2 minimum - Change behavior of
class_attributes_separationrule - Add support for new fixers added in php-cs-fixer v3.2.0
- Enable
no_alternative_syntaxrule
Please refer to the CHANGELOG for the detailed list of changes.
v1.1.0 Coding Standard
Changed
- Bump to
friendsofphp/php-cs-fixerv3.1.0 River for support of latest fixers - Bump to
nexusphp/cs-configv3.3.0 for support of custom fixers
Please refer to the CHANGELOG for the detailed list of changes.
v1.0.0 Coding Standard
Initial release 🎉
This is the first release of the coding standards library. For usage instructions, please look at the README.