Skip to content

Commit

Permalink
Enhancement: Add Php82 rule set
Browse files Browse the repository at this point in the history
  • Loading branch information
localheinz committed Jan 2, 2023
1 parent a622bd5 commit a7660b4
Show file tree
Hide file tree
Showing 7 changed files with 1,691 additions and 12 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Expand Up @@ -8,6 +8,10 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),

For a full diff see [`5.0.1...main`][5.0.1...main].

### Added

- Added `Config\Ruleset\Php82` rule set ([#690]), by [@localheinz]

## [`5.0.1`][5.0.1]

For a full diff see [`5.0.0...5.0.1`][5.0.0...5.0.1].
Expand Down
1 change: 1 addition & 0 deletions README.md
Expand Up @@ -29,6 +29,7 @@ Pick one of the rule sets:

- [`Ergebnis\PhpCsFixer\RuleSet\Php80`](src/RuleSet/Php80.php)
- [`Ergebnis\PhpCsFixer\RuleSet\Php81`](src/RuleSet/Php81.php)
- [`Ergebnis\PhpCsFixer\RuleSet\Php82`](src/RuleSet/Php82.php)

Create a configuration file `.php-cs-fixer.php` in the root of your project:

Expand Down
7 changes: 6 additions & 1 deletion psalm-baseline.xml
Expand Up @@ -10,9 +10,14 @@
<code>$rules</code>
</NonInvariantDocblockPropertyType>
</file>
<file src="src/RuleSet/Php82.php">
<NonInvariantDocblockPropertyType occurrences="1">
<code>$rules</code>
</NonInvariantDocblockPropertyType>
</file>
<file src="test/EndToEnd/RuleSet/AbstractRuleSetTestCase.php">
<InternalClass occurrences="1">
<code>Console\Command\FixCommandExitStatusCalculator::EXIT_STATUS_FLAG_HAS_INVALID_CONFIG</code>
<code>Command\FixCommandExitStatusCalculator::EXIT_STATUS_FLAG_HAS_INVALID_CONFIG</code>
</InternalClass>
</file>
<file src="test/Unit/RuleSet/AbstractRuleSetTestCase.php">
Expand Down

0 comments on commit a7660b4

Please sign in to comment.