codeigniter/coding-standard
Official Coding Standards for CodeIgniter based on PHP CS Fixer
v1.9.2
1.8M downloads/mo
#3199 most downloaded on Packagist
CodeIgniter/coding-standard
What this package is like to depend on
Last release 4 months ago
11 Apr 2026
Ships fairly regularly
a new release about every 2 months
Nearly every release is documented
notes for 39 of 39 stable releases
Nothing withdrawn
no release was ever pulled
5 years old
39 releases · first in 2021
5 releases in the last 12 months
see the full history below
Release timeline
39 releases · Aug 2021 to Apr 2026Releases
latest 39-
v1.9.211 Apr 2026Release notes
Open source →What's Changed
- Bump to php-cs-fixer v3.95
- Security harden the workflows
Full Changelog: v1.9.1...v1.9.2
-
v1.9.117 Feb 2026Release notes
Open source → -
v1.9.017 Feb 2026Release notes
Open source →What's Changed
- Add new fixers of php-cs-fixer v3.93
- Enable new options of
phpdoc_line_span - Rename configs
- Bump to PHP 8.2
- Cleanup workflows
Full Changelog: v1.8.9...v1.9.0
Release notes
Open source →- Add new fixers of php-cs-fixer v3.93
- Enable new options of
phpdoc_line_span - Rename configs
- Bump to PHP 8.2
- Cleanup workflows
-
v1.8.912 Dec 2025 -
v1.8.827 Sep 2025Release notes
Open source →What's Changed
- Add but disable
phpdoc_tag_no_named_arguments - Add
modifier_keywordsfixer - Add
@consttophpdoc_no_alias_tag
Full Changelog: v1.8.7...v1.8.8
Release notes
Open source →- Add but disable
phpdoc_tag_no_named_arguments - Add
modifier_keywordsfixer - Add
@consttophpdoc_no_alias_tag
- Add but disable
-
v1.8.718 Jul 2025Release notes
Open source → -
v1.8.605 Jul 2025Release notes
Open source → -
v1.8.502 May 2025Release notes
Open source →What's Changed
- Enable
import_symbolsoption infully_qualified_strict_types - Fix
staticMethod.internalClasserror
Full Changelog: v1.8.4...v1.8.5
Release notes
Open source →- Enable
import_symbolsoption infully_qualified_strict_types - Fix
staticMethod.internalClasserror
- Enable
-
v1.8.423 Feb 2025Release notes
Open source →What's Changed
- Update badges
- Enable
php_unit_data_provider_method_orderfixer - Bump php-cs-fixer to v3.70
- Enable
modernize_striposoption inmodernize_strposfixer
Full Changelog: v1.8.3...v1.8.4
Release notes
Open source →- Update badges
- Enable
php_unit_data_provider_method_orderfixer - Bump php-cs-fixer to v3.70
- Enable
modernize_striposoption inmodernize_strposfixer
-
v1.8.313 Jan 2025Release notes
Open source →What's Changed
- Bump to php-cs-fixer v3.67 and cs-config v3.25
- Add
@phpstan-ignoreto ignored tags ofcomment_to_phpdoc - Add
general_attribute_removefixer - Enable
get_class_to_class_keyword - Add more elements to
trailing_comma_in_multiline
Full Changelog: v1.8.2...v1.8.3
Release notes
Open source →- Bump to php-cs-fixer v3.67 and cs-config v3.25
- Add
@phpstan-ignoreto ignored tags ofcomment_to_phpdoc - Add
general_attribute_removefixer - Enable
get_class_to_class_keyword - Add more elements to
trailing_comma_in_multiline
-
v1.8.220 Nov 2024 -
v1.8.105 Aug 2024Release notes
Open source →- Add
keep_annotationsoption forphp_unit_attributes - Add
php_unit_assert_new_namesfixer - Bump dependencies
- Add
-
v1.8.016 Jun 2024 -
v1.7.1618 May 2024Release notes
Open source →- Disable
php_unit_attributesfor now - Fix cs-config to v3.18 for now
- Disable
ordered_attributesfor PHP <8.0
- Disable
-
v1.7.1524 Mar 2024Release notes
Open source →- Remove deprecated option of
nullable_type_declaration_for_default_null_value
- Remove deprecated option of
-
v1.7.1425 Feb 2024Release notes
Open source →- Bump php-cs-fixer to v3.49
- Enable
string_implicit_backslashesfixer - Add/remove property-read and property-write
- Enable
phpdoc_list_type - Bump to php-cs-fixer v3.50
- Enable
allow_hidden_paramsoption - also align
@phpstan-typeand@phpstan-var - Enable
phpdoc_array_type
-
v1.7.1327 Jan 2024Release notes
Open source →- Update GHA workflows
- Bump to php-cs-fixer v3.47
- Disable all new rules in v3.47
- Apply new options to
phpdoc_alignfixer - Bump actions/cache from 3 to 4 (#17)
-
v1.7.1229 Dec 2023Release notes
Open source →- Bump php-cs-fixer to v3.43
- Enable other options of
fully_qualified_strict_types - Disable
class_keyword - Disable option for
statement_indentation - Use default for option of
unary_operator_spaces
-
v1.7.1113 Oct 2023 -
v1.7.1001 Oct 2023Release notes
Open source →- Bump to php-cs-fixer v3.34
- Bump to php-cs-fixer v3.30
- Fix tag name in release
-
v1.7.918 Sep 2023Release notes
Open source →- Update release.yml
- Add
long_to_shorthand_operator(#13) - Bump actions/checkout from 3 to 4 (#12)
-
v1.7.830 Aug 2023 -
v1.7.715 Aug 2023 -
v1.7.615 Aug 2023Release notes
Open source →- Enable 'php_unit_data_provider_static'
- Add new fixers in php-cs-fixer v3.23
- Add
yield_from_array_to_yields - Enable
php_unit_data_provider_name - Use all available checked tokens for
no_extra_blank_lines - Configure
php_unit_data_provider_return_type - Remove parallel.timeout in phpstan.neon.dist
-
v1.7.515 Jul 2023 -
v1.7.419 Jun 2023Release notes
Open source →- Bump php-cs-fixer to v3.18
- fix: ruleset deprecated on
v3.18(#10) - Add case_sensitive option to ordered_class_elements
- Add missing rules
-
v1.7.305 May 2023Release notes
Open source →- Replace
single_space_after_constructwithsingle_space_around_construct - Remove deprecated
bracesrules - Bump php-cs-fixer to v3.16
- Replace
-
v1.7.205 Mar 2023 -
v1.7.122 Dec 2022 -
v1.7.001 Nov 2022Release notes
Open source →- Bump php-cs-fixer to v3.13
- Add 'case_sensitive' option to 'general_phpdoc_annotation_remove'
- Add 'closure_fn_spacing' option to 'function_declaration'
-
v1.6.230 Oct 2022Release notes
Open source →- Grouped
runTestsInSeparateProcess,runInSeparateProcess,preserveGlobalStatetogether
- Grouped
-
v1.6.120 Oct 2022Release notes
Open source →- Changed
@internaldescription of class CodeIgniter4 to avoid warnings in phpstorm
- Changed
-
v1.6.015 Oct 2022Release notes
Open source →- Bump php-cs-fixer version to v3.12 minimum
- Enable
no_useless_concat_operator - Update action workflows
-
v1.5.013 Sep 2022Release notes
Open source →- 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 - chore: fix editorconfig (#4)
- docs: add CONTRIBUTING.md (#3)
- 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 - Normalize composer.json
- Add "static analysis" Composer keyword (#2)
- 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
- Enable
-
v1.4.009 Feb 2022 -
v1.3.015 Jan 2022Release notes
Open source →- 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
-
v1.2.018 Oct 2021Release notes
Open source →- 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
- Bump
-
v1.1.031 Aug 2021Release notes
Open source →- Bump to
friendsofphp/php-cs-fixerv3.1.0 - Fix release script
- Bump to
nexusphp/cs-configv3.3.0
- Bump to
-
v1.0.029 Aug 2021