Skip to content

Releases: instapro/coding-standard

Update cs fixer to 3.94 and amend rule for phpdoc_line_span

Choose a tag to compare

@maxbaldanza maxbaldanza released this 29 Apr 08:15
e01d58d

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

Choose a tag to compare

@maxbaldanza maxbaldanza released this 13 Jan 11:14
cd29ce8

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

Choose a tag to compare

@henriquemoody henriquemoody released this 08 Oct 12:14
0e06be6

This release enables the fully_qualified_strict_types ref to always require importing class names instead of backlashes.

Enable parallel runner

Choose a tag to compare

@maxbaldanza maxbaldanza released this 26 Aug 07:32
9cdc0af
Merge pull request #13 from instapro/enable-parallel

Enable parallel processing

Update PHP-CS-Fixer to 3.80 to add PHP 8.4 support

Choose a tag to compare

@maxbaldanza maxbaldanza released this 07 Jul 11:22
7ad4f4b

Require version 3.80 of PHP-CS-Fixer to add PHP 8.4 support

Enable nullable type declaration

Choose a tag to compare

@maxbaldanza maxbaldanza released this 07 Jul 11:00
1f959c9
  • 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

Choose a tag to compare

@maxbaldanza maxbaldanza released this 04 Jan 14:01
c2c7b36
Merge pull request #5 from ozanakman/patch-1

Enable the static_lambda rule

Enable no_trailing_whitespace_in_string rule

Choose a tag to compare

@maxbaldanza maxbaldanza released this 03 Jan 13:51
81bb077
Merge pull request #9 from instapro/no-whitespace

Enable no_trailing_whitespace_in_string rule

Disable an unwanted rule

Choose a tag to compare

@thijsBreker thijsBreker released this 05 Jun 13:23
eb846fe
Merge pull request #4 from instapro/disable-rule

Disable the nullable type rule