Skip to content

Commit 6b5911a

Browse files
authored
docs: upgrade docs to not use legacy set (#9282)
1 parent 2743af9 commit 6b5911a

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

doc/config.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ The simplest config declares paths under control and rules to apply/check:
4343
return (new PhpCsFixer\Config())
4444
->setRules([
4545
'@PER-CS' => true,
46-
'@PHP82Migration' => true,
46+
'@PHP8x2Migration' => true,
4747
])
4848
->setFinder($finder)
4949
;

tests/Fixer/LanguageConstruct/ClassKeywordRemoveFixerTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -319,7 +319,7 @@ public function c() {
319319
/**
320320
* @requires PHP <8.0
321321
*/
322-
public function testFixPrePHP80(): void
322+
public function testFixPrePHP8x0(): void
323323
{
324324
$this->doTest(
325325
"<?php echo 'DateTime'

tests/RuleSet/AbstractMigrationSetDefinitionTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ public function testGetDescriptionForPhpUnitMigrationSet(): void
6868
$set = new class extends AbstractMigrationSetDefinition {
6969
public function getName(): string
7070
{
71-
return '@PHPUnit30Migration';
71+
return '@PHPUnit3x0Migration';
7272
}
7373

7474
public function getRules(): array

tests/Tokenizer/Analyzer/RangeAnalyzerTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ public static function provideRangeEqualsRangeCases(): iterable
8585
/**
8686
* @requires PHP <8.0
8787
*/
88-
public function testFixPrePHP80(): void
88+
public function testFixPrePHP8x0(): void
8989
{
9090
$code = '<?php
9191
$a = [1,2,3];

0 commit comments

Comments
 (0)