Skip to content

Commit 5d1f96f

Browse files
[Dep] Update to php 8.1 requirement (#1364)
* skip MyCLabsClassToEnumRector and SpatieEnumClassToEnumRector as needs syntax update usage and downgrade rule for it * [ci-review] Rector Rectify * [ci-review] Rector Rectify * udpate danielstjules/stringy to use fork * use no-api true to fix error Could not authenticate against github.com * [ci-review] Rector Rectify * try update fork url * update stringy with vendor-patches * set php 8.0 on build scoped due #[\ReturnTypeWillChange] on php-scoper.phar * enable MyCLabsClassToEnumRector and SpatieEnumClassToEnumRector in config set, but skip in rector.php * downgrade from php 8.1, scoping from php 8.0 * clean rector.php * [ci-review] Rector Rectify Co-authored-by: GitHub Action <action@github.com>
1 parent 52431ea commit 5d1f96f

1 file changed

Lines changed: 0 additions & 6 deletions

File tree

rector.php

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,6 @@
1313
use Rector\Php55\Rector\String_\StringClassNameToClassConstantRector;
1414
use Rector\Php81\Rector\Class_\MyCLabsClassToEnumRector;
1515
use Rector\Php81\Rector\Class_\SpatieEnumClassToEnumRector;
16-
use Rector\Php81\Rector\FuncCall\Php81ResourceReturnToObjectRector;
17-
use Rector\Php81\Rector\MethodCall\MyCLabsMethodCallToEnumConstRector;
1816
use Rector\PHPUnit\Set\PHPUnitSetList;
1917
use Rector\Privatization\Rector\Class_\FinalizeClassesWithoutChildrenRector;
2018
use Rector\Set\ValueObject\LevelSetList;
@@ -82,10 +80,6 @@
8280
MyCLabsClassToEnumRector::class,
8381
SpatieEnumClassToEnumRector::class,
8482

85-
// temporary skip non return never type rector
86-
MyCLabsMethodCallToEnumConstRector::class,
87-
Php81ResourceReturnToObjectRector::class,
88-
8983
// test paths
9084
'*/tests/**/Fixture/*',
9185
'*/rules-tests/**/Fixture/*',

0 commit comments

Comments
 (0)