Skip to content

Releases: CodeIgniter/coding-standard

v1.6.2 Coding Standard

30 Oct 12:21
v1.6.2
644b3ed
Compare
Choose a tag to compare

Changed

  • Grouped runTestsInSeparateProcess, runInSeparateProcess, preserveGlobalState together

Please refer to the CHANGELOG for the detailed list of changes.

v1.6.1 Coding Standard

20 Oct 12:49
v1.6.1
f1ca1fb
Compare
Choose a tag to compare

Fixed 🔧

  • Changed @internal description of class CodeIgniter4 to avoid warnings in phpstorm

Please refer to the CHANGELOG for the detailed list of changes.

New Contributors

  • @tangix made their first contribution in #7

v1.6.0 Coding Standard

15 Oct 15:46
v1.6.0
69daf39
Compare
Choose a tag to compare

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

13 Sep 05:33
v1.5.0
7c2344a
Compare
Choose a tag to compare

Added

  • docs: add CONTRIBUTING.md (#3)
  • Normalize composer.json
  • Add "static analysis" Composer keyword (#2)

Fixed

  • chore: fix editorconfig (#4)

Changed

  • Enable ensure_single_space option of whitespace_after_comma_in_array
  • Use the space_multiple_catch option of types_spaces
  • Fix multi-lines
  • Add group_to_single_imports option to single_import_per_statement
  • Enable date_time_create_from_format_call
  • Add options to new_with_braces
  • Add order option to phpdoc_order
  • Add the trailing_comma_single_line option to function_declaration
  • Enable curly_braces_position
  • Enable single_line_comment_spacing
  • Enable no_trailing_comma_in_singleline
  • Add inline_constructor_arguments option to class_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 in phpdoc_separation rule
  • Bump php-cs-fixer version

New Contributors

Full Changelog: v1.4.0...v1.5.0

v1.4.0 Coding Standard

09 Feb 14:11
v1.4.0
462ba16
Compare
Choose a tag to compare

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

15 Jan 11:42
v1.3.0
1768647
Compare
Choose a tag to compare

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

  • @kenjis made their first contribution in #1

Please refer to the CHANGELOG for the detailed list of changes.

v1.2.0 Coding Standard

18 Oct 14:29
v1.2.0
f79b000
Compare
Choose a tag to compare

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

31 Aug 14:02
v1.1.0
32563df
Compare
Choose a tag to compare

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

29 Aug 11:21
v1.0.0
0241f1d
Compare
Choose a tag to compare

Initial release 🎉

This is the first release of the coding standards library. For usage instructions, please look at the README.