Releases: CodeIgniter/coding-standard
Releases · CodeIgniter/coding-standard
v1.6.2 Coding Standard
Changed
- Grouped
runTestsInSeparateProcess
,runInSeparateProcess
,preserveGlobalState
together
Please refer to the CHANGELOG for the detailed list of changes.
v1.6.1 Coding Standard
v1.6.0 Coding Standard
Changes ⚙️
- Bump php-cs-fixer version to v3.12 minimum
- Enable
no_useless_concat_operator
- Update action workflows
Please refer to the CHANGELOG for the detailed list of changes.
v1.5.0 Coding Standard
Added
Fixed
- chore: fix editorconfig (#4)
Changed
- Enable
ensure_single_space
option ofwhitespace_after_comma_in_array
- Use the
space_multiple_catch
option oftypes_spaces
- Fix multi-lines
- Add
group_to_single_imports
option tosingle_import_per_statement
- Enable
date_time_create_from_format_call
- Add options to
new_with_braces
- Add
order
option tophpdoc_order
- Add the
trailing_comma_single_line
option tofunction_declaration
- Enable
curly_braces_position
- Enable
single_line_comment_spacing
- Enable
no_trailing_comma_in_singleline
- Add
inline_constructor_arguments
option 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
groups
option inphpdoc_separation
rule - 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_elements
rule - Enable
global_namespace_import
rule (#1) - Use
GITHUB_TOKEN
so 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-fixer
to v3.2 minimum - Change behavior of
class_attributes_separation
rule - Add support for new fixers added in php-cs-fixer v3.2.0
- Enable
no_alternative_syntax
rule
Please refer to the CHANGELOG for the detailed list of changes.
v1.1.0 Coding Standard
Changed
- Bump to
friendsofphp/php-cs-fixer
v3.1.0 River for support of latest fixers - Bump to
nexusphp/cs-config
v3.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.