Skip to content

Commit

Permalink
maintenance: allow PHP 8.4
Browse files Browse the repository at this point in the history
  • Loading branch information
holtkamp committed Nov 28, 2024
1 parent fc9b459 commit 1c7e124
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"description": "PHP Sitemap crawler",
"license": "MIT",
"require": {
"php": "~8.3",
"php": "~8.3 || ~8.4",
"ext-simplexml": "*",
"clue/reactphp-flux": "^1.4",
"psr/log": "^2.0 || ^3.0",
Expand Down
4 changes: 1 addition & 3 deletions rector.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@
use Rector\Php74\Rector\FuncCall\ArrayKeyExistsOnPropertyRector;
use Rector\Php74\Rector\Ternary\ParenthesizeNestedTernaryRector;
use Rector\Php81\Rector\Array_\FirstClassCallableRector;
use Rector\Php81\Rector\ClassConst\FinalizePublicClassConstantRector;
use Rector\Php81\Rector\Property\ReadOnlyPropertyRector;
use Rector\Php83\Rector\ClassConst\AddTypeToConstRector;
use Rector\TypeDeclaration\Rector\ArrowFunction\AddArrowFunctionReturnTypeRector;
Expand All @@ -23,7 +22,6 @@
$rectorConfig->rule(ArrayKeyExistsOnPropertyRector::class);
$rectorConfig->rule(ParenthesizeNestedTernaryRector::class);
$rectorConfig->rule(FirstClassCallableRector::class);
$rectorConfig->rule(FinalizePublicClassConstantRector::class);
$rectorConfig->rule(ReadOnlyPropertyRector::class);
$rectorConfig->rule(AddTypeToConstRector::class);
$rectorConfig->rule(AddArrowFunctionReturnTypeRector::class);
Expand All @@ -33,6 +31,6 @@
__DIR__ . '/src',
]);

$rectorConfig->phpVersion(PhpVersion::PHP_83);
$rectorConfig->phpVersion(PhpVersion::PHP_84);
$rectorConfig->parallel(600);
};

0 comments on commit 1c7e124

Please sign in to comment.