From cf22cbea013fb32afeaa164abad9a42dff5c9b32 Mon Sep 17 00:00:00 2001 From: Joas Schilling Date: Thu, 15 Jan 2026 12:29:28 +0100 Subject: [PATCH 1/2] chore: Bump 3rdparty Signed-off-by: Joas Schilling --- 3rdparty | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/3rdparty b/3rdparty index c62b6ed5cd055..dac79c757a66e 160000 --- a/3rdparty +++ b/3rdparty @@ -1 +1 @@ -Subproject commit c62b6ed5cd05579f788d65aab85cfcd85c283b02 +Subproject commit dac79c757a66eb387c668ee5997cae375d0e109d From 9dba927575adca7135956f4319834c61cd6adbf3 Mon Sep 17 00:00:00 2001 From: Joas Schilling Date: Thu, 15 Jan 2026 12:30:38 +0100 Subject: [PATCH 2/2] ci(lint): Use multi file argument in lint Since PHP 8.3 the linting command "php -l" can consume multiple files at once. This drastically speeds up the time necessary for the linting from ~3 minutes to few seconds. By also running the linting on multiple cores, the time can be dropped to < 1s Signed-off-by: Joas Schilling --- composer.json | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/composer.json b/composer.json index 33520b1bd7a4b..9bc7097f7c707 100644 --- a/composer.json +++ b/composer.json @@ -61,7 +61,12 @@ ], "cs:fix": "php-cs-fixer fix", "cs:check": "php-cs-fixer fix --dry-run --diff", - "lint": "find . -name \\*.php -not -path './lib/composer/*' -not -path './build/stubs/*' -print0 | xargs -0 -n1 php -l", + "lint": [ + "@lint-8.2-or-earlier", + "@lint-8.3-or-later" + ], + "lint-8.2-or-earlier": "[ $(php -r \"echo PHP_VERSION_ID;\") -ge 80300 ] || find . -type f -name '*.php' -not -path './3rdparty/*' -not -path '*/composer/*' -not -path '*/stubs/*' -not -path '*/vendor-bin/*' -not -path '*/vendor/*' | xargs -n1 -P$(nproc) php -l", + "lint-8.3-or-later": "[ $(php -r \"echo PHP_VERSION_ID;\") -lt 80300 ] || find . -type f -name '*.php' -not -path './3rdparty/*' -not -path '*/composer/*' -not -path '*/stubs/*' -not -path '*/vendor-bin/*' -not -path '*/vendor/*' | xargs -n200 -P$(nproc) php -l", "psalm": "psalm --no-cache --threads=$(nproc)", "psalm:ocp": "psalm --no-cache --threads=$(nproc) -c psalm-ocp.xml", "psalm:ncu": "psalm --no-cache --threads=$(nproc) -c psalm-ncu.xml",