nexusphp/cs-config
A factory for custom rulesets for PHP CS Fixer.
v3.29.0
1.9M downloads/mo
#3032 most downloaded on Packagist
NexusPHP/cs-config
What this package is like to depend on
Last release today
22 Aug 2026
Ships fairly regularly
a new release about every 2 months
Nearly every release is documented
notes for 71 of 71 stable releases
Nothing withdrawn
no release was ever pulled
6 years old
71 releases · first in 2020
9 releases in the last 12 months
see the full history below
Release timeline
71 releases · Nov 2020 to Aug 2026Releases
latest 60 of 71-
v3.29.022 Aug 2026Release notes
Open source →Changes
- Bump shivammathur/setup-php from 2.37.0 to 2.37.1 by @dependabot[bot] in #14
- Report abandoned packages
- Fix error on phpstan v2.2
- Bump actions/checkout from 6.0.2 to 6.0.3 by @dependabot[bot] in #15
- Bump shivammathur/setup-php from 2.37.1 to 2.37.2 by @dependabot[bot] in #16
- Bump actions/checkout from 6.0.3 to 7.0.0 by @dependabot[bot] in #18
- Bump actions/cache from 5.0.5 to 6.0.0 by @dependabot[bot] in #17
- Bump actions/cache from 6.0.0 to 6.1.0 by @dependabot[bot] in #19
- Bump actions/checkout from 7.0.0 to 7.0.1 by @dependabot[bot] in #20
- Fix impure
FixerProvider::builtin() - Fix stale README badge
- Bump coverallsapp/github-action from 2.3.6 to 2.3.8 by @dependabot[bot] in #21
- Prune phpstan baseline via global ignores
- Make min promoted parameters to 2
- Do not unalias
property-readandproperty-writetags - Disable
static_private_methodfixer
Full Changelog: v3.28.5...v3.29.0
Release notes
Open source →- Bump shivammathur/setup-php from 2.37.0 to 2.37.1 (#14)
- Report abandoned packages
- Fix error on phpstan v2.2
- Bump actions/checkout from 6.0.2 to 6.0.3 (#15)
- Bump shivammathur/setup-php from 2.37.1 to 2.37.2 (#16)
- Bump actions/checkout from 6.0.3 to 7.0.0 (#18)
- Bump actions/cache from 5.0.5 to 6.0.0 (#17)
- Bump actions/cache from 6.0.0 to 6.1.0 (#19)
- Bump actions/checkout from 7.0.0 to 7.0.1 (#20)
- Fix impure
FixerProvider::builtin() - Fix stale README badge
- Bump coverallsapp/github-action from 2.3.6 to 2.3.8 (#21)
- Prune phpstan baseline via global ignores
- Make min promoted parameters to 2
- Do not unalias
property-readandproperty-writetags - Disable
static_private_methodfixer
-
v3.28.515 May 2026Release notes
Open source → -
v3.28.415 May 2026Release notes
Open source → -
v3.28.317 Apr 2026Release notes
Open source →Changes
- Bump actions/cache from 5.0.4 to 5.0.5 by @dependabot[bot] in #13
- Make minimum number of promoted properties to 3 before multilining
- Change option for
native_constant_invocation - Disable
final_public_method_for_abstract_class
Full Changelog: v3.28.2...v3.28.3
Release notes
Open source →- Bump actions/cache from 5.0.4 to 5.0.5 (#13)
- Make minimum number of promoted properties to 3 before multilining
- Change option for
native_constant_invocation - Disable
final_public_method_for_abstract_class
-
v3.28.211 Apr 2026Release notes
Open source →Changes
- Enforce security hardening for workflows
- Bump shivammathur/setup-php from 2.36.0 to 2.37.0 by @dependabot[bot] in #12
- Bump actions/cache from 5.0.3 to 5.0.4 by @dependabot[bot] in #11
- Bump to php-cs-fixer v3.95
- Fix deprecated fixer and option
- Add
no_whitespace_in_empty_arrayfixer - Add new options to fixers
- Fix .gitattributes
- Allow phpunit:^13.0
- Fix workflows
- Add
/generate-changelogskill
Full Changelog: v3.28.1...v3.28.2
Release notes
Open source →- Enforce security hardening for workflows
- Bump shivammathur/setup-php from 2.36.0 to 2.37.0 (#12)
- Bump actions/cache from 5.0.3 to 5.0.4 (#11)
- Bump to php-cs-fixer v3.95
- Fix deprecated fixer and option
- Add
no_whitespace_in_empty_arrayfixer - Add new options to fixers
- Fix .gitattributes
- Allow phpunit:^13.0
- Fix workflows
- Add
/generate-changelogskill
-
v3.28.122 Feb 2026Release notes
Open source →Changes
- Use
nullvalue forotheroption ofphpdoc_line_span - Refactor to use
createStub()instead ofcreateMock() - Enable option of
single_quote
Full Changelog: v3.28.0...v3.28.1
Release notes
Open source →- Use
nullvalue forotheroption ofphpdoc_line_span - Refactor to use
createStub()instead ofcreateMock() - Enable option of
single_quote
- Use
-
v3.28.017 Feb 2026Release notes
Open source →Changes
- Bump actions/checkout from 5 to 6 (#9)
- Bump actions/cache from 4 to 5 (#10)
- Add new fixers of php-cs-fixer v3.93
- Bump to php-cs-fixer v3.94
- Add more options to
phpdoc_line_span - Enable
fix_lambdaoption invoid_return - Bump to PHP 8.2
- Bump tachycardia to v2.4
Full Changelog: v3.27.0...v3.28.0
Release notes
Open source →- Bump actions/checkout from 5 to 6 (#9)
- Bump actions/cache from 4 to 5 (#10)
- Add new fixers of php-cs-fixer v3.93
- Bump to php-cs-fixer v3.94
- Add more options to
phpdoc_line_span - Enable
fix_lambdaoption invoid_return - Bump to PHP 8.2
- Bump tachycardia to v2.4
-
v3.27.012 Dec 2025Release notes
Open source →Changes
- Add
preserve_existing_declarationoption todeclare_strict_types - update to php-cs-fixer v3.92
- Add support for rule customisation policies
Full Changelog: v3.26.4...v3.27.0
Release notes
Open source →- Add
preserve_existing_declarationoption todeclare_strict_types - update to php-cs-fixer v3.92
- Add support for rule customisation policies
- Add
-
v3.26.427 Sep 2025Release notes
Open source →Changes
- Add but disable
phpdoc_tag_no_named_arguments - Fix sprintf issues
- Add
modifier_keywordsfixer - Add
@consttophpdoc_no_alias_tag
Release notes
Open source →- Add but disable
phpdoc_tag_no_named_arguments - Fix sprintf issues
- Add
modifier_keywordsfixer - Add
@consttophpdoc_no_alias_tag
- Add but disable
-
v3.26.325 Aug 2025Release notes
Open source →Changes
- Fix code style
- Remove phpstan-ignore
- Bump actions/checkout from 4 to 5 (#8)
- Disable
phpdoc_annotation_without_dot
Full Changelog: v3.26.2...v3.26.3
Release notes
Open source →- Fix code style
- Remove phpstan-ignore
- Bump actions/checkout from 4 to 5 (#8)
- Disable
phpdoc_annotation_without_dot
-
v3.26.215 Jul 2025 -
v3.26.108 Jul 2025 -
v3.26.004 Jul 2025Release notes
Open source →- Update build badge
- Bump to php-cs-fixer v3.76
- Add
multiline_promoted_propertiesfixer - Deprecate own fixers
- Fix phpstan errors
- Add
static_private_methodfixer - Add
new_expression_parenthesesfixer - Do not array unpack known arrays
- Potential fix for code scanning alert no. 1: Workflow does not contain permissions (#6)
- Potential fix for code scanning alert no. 2: Workflow does not contain permissions (#7)
- Support allowUnsupportedPhpVersion option in fixer
- Cleanup code
-
v3.25.223 Feb 2025 -
v3.25.117 Jan 2025 -
v3.25.010 Jan 2025Release notes
Open source →- Bump to php-cs-fixer v3.67
- Add
types_mapoption tophpdoc_to_*fixers - Add
general_attribute_removefixer - Bump to phpstan v2.1
- Remove
phpExecutableassetPhpExecutable()is now deprecated in upstream - Add PHP 8.4 to build
- Add
@phpstan-ignoreto ignored tags incomment_to_phpdoc - Remove Nexus80 ruleset as PHP 8.0 is no longer supported
- Add
Nexus83andNexus84rulesets - Make
Nexus82depend onNexus81's rules - Use explicit
ubuntu-24.04in actions - Add composer scripts
- Fix errors in phpstan-baseline
-
v3.24.307 Sep 2024 -
v3.24.203 Sep 2024 -
v3.24.125 Aug 2024Release notes
Open source →- Add
php_unit_assert_new_namesfixer - Group
templateandtemplate-covariantPHPDocs
- Add
-
v3.24.028 Jul 2024Release notes
Open source →- Fix phpstan error
- Remove defunct branch alias
- Add more files to .gitattributes
- Apply changes from php-cs-fixer v3.60
- Implement
FixerGenerator::mergeWith()
-
v3.23.116 Jun 2024 -
v3.23.018 May 2024Release notes
Open source →- Fix for phpstan
- Bump to php-cs-fixer v3.54
- Enable
php_unit_attributes - Enable
ordered_attributes - feat: enable parallel fixing (#5)
- Enable
import_symbolsoption onfully_qualified_strict_types
-
v3.22.124 Mar 2024Release notes
Open source →- Allow phpunit v11
- Remove deprecated option of
nullable_type_declaration_for_default_null_value
-
v3.22.024 Feb 2024Release notes
Open source →- Bump to php-cs-fixer v3.50
- Update options for
no_superfluous_phpdoc_tags - Enable
phpdoc_array_type
-
v3.21.005 Feb 2024Release notes
Open source →- Bump to php-cs-fixer v3.49
- Add
string_implicit_slashesfixer - Enable
phpdoc_list_typefixer
-
v3.20.023 Jan 2024Release notes
Open source →- Bump to php-cs-fixer v3.46
- Enable
union_typesoption for phpdoc_to fixers - Disable
numeric_literal_separator - Enable
multiline_string_to_heredoc - Disable
heredoc_closing_marker - Enable
spacingoption and add moretagstophpdoc_align - Bump actions/cache from 3 to 4 (#4)
-
v3.19.029 Dec 2023Release notes
Open source →- Bump minimum PHP version to PHP 8.1
- Bump to php-cs-fixer v3.43
- Run build on PHP 8.3
- Bump to phpunit v10.5
- Fix sample ruleset in README
-
v3.18.013 Oct 2023 -
v3.17.001 Oct 2023Release notes
Open source →- Bump to php-cs-fixer v3.34
- Bump to php-cs-fixer v3.30
- Remove Nexus74 ruleset
- Fix tag name in release
- Update release.yml
-
v3.16.018 Sep 2023 -
v3.15.030 Aug 2023 -
v3.14.416 Aug 2023 -
v3.14.315 Aug 2023Release notes
Open source →- Add
return_to_yield_fromfixer - Add
spaces_inside_parenthesesfixer - Bump dependencies
- Add
-
v3.14.205 Aug 2023 -
v3.14.121 Jul 2023Release notes
Open source →- Add more checked tokens in
no_extra_blank_lines - Use default for
ordered_class_elements
- Add more checked tokens in
-
v3.14.017 Jul 2023Release notes
Open source →- Configure
yield_from_array_to_yields - Configure
php_unit_data_provider_return_type - Use native preg_match
- Bump php-cs-fixer to v3.22
- Configure
-
v3.13.015 Jul 2023Release notes
Open source →- Run linter
- Raise phpstan level to 9
- Remove parallel in phpstan.neon.dist
- Require static data providers for all PHP versions
- Bump to php-cs-fixer v3.20
- Configure
nullable_type_declarationfixer - Configure
type_declaration_spacesfixer - Configure
php_unit_data_provider_namefixer
-
v3.12.019 Jun 2023Release notes
Open source →- Remove
@in exclude/include options - Rename options for
final_internal_class - Add "as" in space before construct
- Add 'case_sensitive' option to
ordered_class_elements - Configure
blank_lines_before_namespace - Bump php-cs-fixer to v3.18
- Remove
-
v3.11.023 May 2023Release notes
Open source →- Do not
()in anonymous class - Remove space after short closure
fnto match PER 2.0 - Configure
single_line_empty_bodyfixer - Configure
phpdoc_param_orderfixer - Configure
ordered_typesfixer - Bump to php-cs-fixer v3.17
- Do not
-
v3.10.005 May 2023Release notes
Open source →- Add Nexus82 ruleset
- Fix required PHP version of Nexus81 ruleset
- Remove guards to PHP 8.2 build
- Bump to php-cs-fixer v3.16
-
v3.9.005 Mar 2023Release notes
Open source →- Configure
skip_unlisted_annotationsoption onphpdoc_separationrule - Configure
php_unit_data_provider_staticrule - Bump php-cs-fixer to v3.14
- Remove workaround for phpstan
- Set YAML indentation to 2 spaces
- Test PHP 8.2
- Add additional flags to coveralls call
- Run PHPStan without Xdebug
- Combine Composer steps in build workflow
- Remove PHP 7.4 from build workflow
- Use constructor property promotion when possible
- Drop support for PHP 7.4
- Update build.yml
- Bump to phpstan v1.9.0
- Fix FactoryTest
- Use null coalesce
- Configure
-
v3.8.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'
-
v3.7.015 Oct 2022Release notes
Open source →- Use dependabot for updates
- Bump php-cs-fixer version to v3.12
- Use phpstan baseline
- Update action workflows
-
v3.6.002 Sep 2022Release notes
Open source →- Add new option to
phpdoc_separation - Remove deprecated rules
- Configure
no_trailing_comma_in_singleline - Bump php-cs-fixer to ^3.11
- Configure
whitespace_after_comma_in_array - Use available option of
phpdoc_order - Configure
no_multiple_statements_per_linerule - Bump php-cs-fixer to v3.10
- Fix PHPStan error
- Add new option to
-
v3.5.011 Jul 2022Release notes
Open source →- Change 'concat_space' to none
- Configure new rules in v3.9.1
- [BC BREAK] Drop Nexus73 ruleset
- Suppress missing iterable value type hints
- Remove use of deprecated rule
- Deprecate
Nexus/space_after_comment_start - Configure new rules in v3.8
-
v3.4.009 Feb 2022Release notes
Open source →- Fix code style lint
- Add Nexus81 ruleset
- Deprecate Nexus73 ruleset
- Bump php-cs-fixer version to v3.6
- Bump php version to 7.4
- Prune build workflow
- Revert phpstan level to 8
-
v3.3.402 Nov 2021 -
v3.3.306 Oct 2021Release notes
Open source →- Enable
no_alternative_syntaxrule - Change class attributes separation to
noneexcept for methods - Remove operator override for braces in Nexus80
- Add support for new fixers added in v3.2.0
- Remove deprecated "tokens: use_trait" option
- Use own custom fixers
- Fix phpstan error on v0.12.99
- Enable
-
v3.3.208 Sep 2021 -
v3.3.131 Aug 2021 -
v3.3.031 Aug 2021Release notes
Open source →- Fix grammar usages
- Enable all
class_definitionrules - Remove references to
liaison/cs-config - Add NoCodeSeparatorCommentFixer
- Add SpaceAfterCommentStartFixer
- Add support for custom fixers
- Remove
@internalannotation from classes in public API - Bump to php-cs-fixer v3.1
- Add FixerGenerator
- Use phpstan's bleeding edge
-
v3.2.207 Aug 2021Release notes
Open source →- Add support for
trait_importinclass_attributes_separation - Do not test on PHP 8.1 yet
- Add support for
-
v3.2.107 Jul 2021Release notes
Open source →- Forbid running PHPStan on PHP8.1 (for now)
- Standardize
phpunit.xml.diststructure. - Remove
include/requirefrom statements requiring blank line before. - Fix for
AbstractRulesetTestCasewhen configurable fixer is not yet defined by the ruleset. - [Nexus80] Enable
void_returnfixer - Limit excluded annotations to
@finaland@no-finalonly - [Nexus80] Enable
final_public_method_for_abstract_class - [Nexus80] Enable
phpdoc_to_param_typeandphpdoc_to_return_type - Remove
@testannotations from tests - Disable
php_unit_test_class_requires_covers. Let PHPUnit do the job instead.
-
v3.2.019 Jun 2021Release notes
Open source →- Enable PHP 8.1 build workflow
- Forbid importing global functions and constants in addition to global classes
- [Possible BC break] Refactored stricter
AbstractRulesetTestCase - Removed superfluous PHPDoc tags if present in method signature
- Changed default rule for
binary_operator_spacestosingle_spacefor all rulesets - Changed parent namespace to "Nexus"
- Dropped
phpstan/phpstan-strict-rules
-
v3.1.101 Jun 2021Release notes
Open source →- Changed
native_constant_invocationto fix only a subset of built in constants
- Changed
-
v3.1.001 Jun 2021Release notes
Open source →- Changed
native_constant_invocationto fix all built in constants - Completed options for
native_function_invocation - Changed
phpdoc_line_spanandphpdoc_tag_typerules - Allow
@authortags ingeneral_phpdoc_annotation_removerule - Await
one_if_phpdocoption forclass_attributes_separation
- Changed
-
v3.0.307 May 2021Release notes
Open source →- Add test for checking missing built-in rules in ruleset
- Optimize tests' execution times
-
v3.0.207 May 2021 -
v3.0.107 May 2021Release notes
Open source →- Update branch alias to
3.x-dev - Fixed default cache file in
Factory - Update references of old configuration in README
- Fix
Nexus74ruleset to enablephpdoc_to_property_type - Change attribute separation of
consttononeinNexus80ruleset - Use descriptive names for rulesets
- Update branch alias to
-
v3.0.006 May 2021Release notes
Open source →- Update
friendsofphp/php-cs-fixerto v3.0.0 Constitution - New ruleset:
Nexus80, targeting PHP 8.0+ - Add
Tachycardiafor profiling of slow tests - Build action is also run on schedule
- Update