Skip to content

Commit

Permalink
Merge pull request #690 from ergebnis/feature/php82
Browse files Browse the repository at this point in the history
Enhancement: Add `Php82` rule set
  • Loading branch information
localheinz authored Jan 2, 2023
2 parents a622bd5 + a7660b4 commit e5a5e5e
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
Original file line number Diff line number Diff line change
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
Original file line number Diff line number Diff line change
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
Original file line number Diff line number Diff line change
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
Loading

0 comments on commit e5a5e5e

Please sign in to comment.