Skip to content

Commit 7ec0600

Browse files
committed
Allow PHP 8.5
1 parent c76a191 commit 7ec0600

File tree

4 files changed

+102
-21
lines changed

4 files changed

+102
-21
lines changed

.rector.php

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@
1818
use Rector\Php82\Rector as Php82;
1919
use Rector\Php83\Rector as Php83;
2020
use Rector\Php84\Rector as Php84;
21+
use Rector\Php85\Rector as Php85;
2122
use Rector\PHPUnit\CodeQuality\Rector\Class_\PreferPHPUnitThisCallRector;
2223
use Rector\Privatization\Rector as Privatization;
2324
use Rector\Renaming\Rector as Renaming;
@@ -39,6 +40,9 @@
3940
__DIR__,
4041
])
4142
->withSkipPath(__DIR__ . '/vendor')
43+
->withRules([
44+
Php85\ArrayDimFetch\ArrayFirstLastRector::class,
45+
])
4246
->withSkip([
4347
CodeQuality\Assign\CombinedAssignRector::class, # todo: TMP
4448
CodeQuality\BooleanNot\SimplifyDeMorganBinaryRector::class,

composer.json

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
],
99
"type": "magento-source",
1010
"require": {
11-
"php": ">=8.1 <8.5",
11+
"php": ">=8.1 <8.6",
1212
"ext-ctype": "*",
1313
"ext-curl": "*",
1414
"ext-dom": "*",
@@ -41,9 +41,10 @@
4141
"phpseclib/mcrypt_compat": "^2.0.3",
4242
"phpseclib/phpseclib": "^3.0.14",
4343
"shardj/zf1-future": "^1.24.1",
44-
"symfony/polyfill-php82": "^1.31",
45-
"symfony/polyfill-php83": "^1.31",
46-
"symfony/polyfill-php84": "^1.31",
44+
"symfony/polyfill-php82": "^1.32",
45+
"symfony/polyfill-php83": "^1.32",
46+
"symfony/polyfill-php84": "^1.32",
47+
"symfony/polyfill-php85": "^1.32",
4748
"symfony/string": "^6.4",
4849
"symfony/translation-contracts": "^3.5",
4950
"tinymce/tinymce": "^7.5"
@@ -60,10 +61,10 @@
6061
"phpcompatibility/php-compatibility": "^9.3",
6162
"phpmd/phpmd": "^2.13",
6263
"phpstan/extension-installer": "^1.4",
63-
"phpstan/phpstan": "^2.1",
64+
"phpstan/phpstan": "^2.1.18",
6465
"phpstan/phpstan-phpunit": "^2.0",
6566
"phpunit/phpunit": "^9.6",
66-
"rector/rector": "^2.0",
67+
"rector/rector": "^2.1.2",
6768
"squizlabs/php_codesniffer": "^3.7",
6869
"symplify/vendor-patches": "^11.1"
6970
},

composer.lock

Lines changed: 90 additions & 14 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

docs/content/users/requirements.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ tags:
88
# Requirements
99

1010
- PHP 8.1+[^1]
11-
- PHP 8.4 supported but some warnings may be shown/logged
11+
- PHP 8.4/8.5 supported but some warnings may be shown/logged
1212
- MySQL 5.6+ (8.0+ recommended) or MariaDB
1313
- optional: Redis 5.x, 6.x and 7.0.x are supported
1414

0 commit comments

Comments
 (0)