Skip to content

Commit f43bcd2

Browse files
fix: detected deprecations in use
1 parent c3fb6d2 commit f43bcd2

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/Rules/DefaultRules.php

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ public function getRules(bool $risky): array
1717
* https://github.com/PHP-CS-Fixer/PHP-CS-Fixer/blob/master/doc/ruleSets/PER-CS2.0.rst
1818
* https://github.com/PHP-CS-Fixer/PHP-CS-Fixer/blob/master/src/RuleSet/Sets/PERCS2x0Set.php
1919
*/
20-
'@PER-CS2.0' => true,
20+
'@PER-CS2x0' => true,
2121

2222
/*
2323
* @PER-CS2.0 Overrides
@@ -129,6 +129,8 @@ public function getRules(bool $risky): array
129129
'property' => null,
130130
],
131131
] + ($risky ? [
132+
'@PER-CS2x0:risky' => true,
133+
132134
/*
133135
* @Symfony:risky
134136
*/

0 commit comments

Comments
 (0)