Releases: instapro/coding-standard
Release list
Update cs fixer to 3.94 and amend rule for phpdoc_line_span
PHP CS Fixer 3.94+ defaults class and enum case PHPDoc to multi-line when those keys are omitted. Our rules already force single-line property, method, and const docblocks; set class and case to null so those docblocks are not rewritten and upgrades do not churn unrelated files.
Fix deprecations of rulesets
The rule sets have been renamed so updating to use the new ruleset names.
This fixes:
Detected deprecations in use (they will stop working in next major release):
- Rule set "@PHP80Migration:risky" is deprecated. Use "@PHP8x0Migration:risky" instead.
- Rule set "@PHP82Migration" is deprecated. Use "@PHP8x2Migration" instead.
- Rule set "@PHPUnit100Migration:risky" is deprecated. Use "@PHPUnit10x0Migration:risky" instead.
Always import class names
This release enables the fully_qualified_strict_types ref to always require importing class names instead of backlashes.
Enable parallel runner
Merge pull request #13 from instapro/enable-parallel Enable parallel processing
Update PHP-CS-Fixer to 3.80 to add PHP 8.4 support
Require version 3.80 of PHP-CS-Fixer to add PHP 8.4 support
Enable nullable type declaration
- Enable the nullable type declaration rule
This release also brings in updates to the supported versions:
We now only support PHP 8.3 and PHP 8.4 and `friendsofphp/php-cs-fixer:^3.70"
Enable the static_lambda rule
Merge pull request #5 from ozanakman/patch-1 Enable the static_lambda rule
Enable no_trailing_whitespace_in_string rule
Merge pull request #9 from instapro/no-whitespace Enable no_trailing_whitespace_in_string rule
Disable an unwanted rule
Merge pull request #4 from instapro/disable-rule Disable the nullable type rule