Skip to content

Commit 51dacd3

Browse files
committed
fix: Drop PHP 8.2 in Nextcloud 35
[skip ci] Signed-off-by: Joas Schilling <coding@schilljs.com>
1 parent e0afdd1 commit 51dacd3

1 file changed

Lines changed: 5 additions & 10 deletions

File tree

composer.json

Lines changed: 5 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
"optimize-autoloader": true,
1010
"classmap-authoritative": true,
1111
"platform": {
12-
"php": "8.2.0"
12+
"php": "8.3.0"
1313
},
1414
"sort-packages": true,
1515
"allow-plugins": {
@@ -71,20 +71,15 @@
7171
"wapmorgan/mp3info": "^0.1.1",
7272
"web-auth/webauthn-lib": "^4.9.1"
7373
},
74-
"replace": {
75-
"symfony/polyfill-php80": "*",
74+
"replace": {
75+
"symfony/polyfill-php80": "*",
7676
"symfony/polyfill-php81": "*",
7777
"symfony/polyfill-php82": "*",
7878
"symfony/polyfill-ctype": "*",
7979
"symfony/polyfill-mbstring": "*"
80-
},
80+
},
8181
"scripts": {
82-
"lint": [
83-
"@lint-8.2-or-earlier",
84-
"@lint-8.3-or-later"
85-
],
86-
"lint-8.2-or-earlier": "[ $(php -r \"echo PHP_VERSION_ID;\") -ge 80300 ] || find . -type f -name '*.php' -not -name '.*.php' -print0 | xargs -0 -n1 -P$(nproc) php -l",
87-
"lint-8.3-or-later": "[ $(php -r \"echo PHP_VERSION_ID;\") -lt 80300 ] || find . -type f -name '*.php' -not -name '.*.php' -print0 | xargs -0 -n200 -P$(nproc) php -l",
82+
"lint": "find . -type f -name '*.php' -not -name '.*.php' -print0 | xargs -0 -n200 -P$(nproc) php -l",
8883
"pre-autoload-dump": "Aws\\Script\\Composer\\Composer::removeUnusedServices"
8984
},
9085
"extra": {

0 commit comments

Comments
 (0)