From 660ddb2a96a38c5f43efb31afb3bd23562530bd1 Mon Sep 17 00:00:00 2001 From: Quentin Dequippe Date: Fri, 20 Nov 2026 18:27:22 +0100 Subject: [PATCH 1/3] fix: Makefile, add rector lock --- .gitignore | 2 +- Makefile | 2 +- tools/rector/composer.lock | 140 +++++++++++++++++++++++++++++++++++++ 3 files changed, 142 insertions(+), 2 deletions(-) create mode 100644 tools/rector/composer.lock diff --git a/.gitignore b/.gitignore index 4e4110f1..2eca0c13 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,3 @@ /vendor/ .php-cs-fixer.cache -composer.lock +/composer.lock diff --git a/Makefile b/Makefile index 5ab5f80d..9562589b 100644 --- a/Makefile +++ b/Makefile @@ -4,7 +4,7 @@ tools/php-cs-fixer/vendor/composer/installed.php: tools/php-cs-fixer/composer.lo tools/rector/vendor/composer/installed.php: tools/rector/composer.lock composer install --working-dir=./tools/rector -vendor/composer/installed.php: composer.lock +vendor/composer/installed.php: composer install vendor: vendor/composer/installed.php diff --git a/tools/rector/composer.lock b/tools/rector/composer.lock new file mode 100644 index 00000000..635f9270 --- /dev/null +++ b/tools/rector/composer.lock @@ -0,0 +1,140 @@ +{ + "_readme": [ + "This file locks the dependencies of your project to a known state", + "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", + "This file is @generated automatically" + ], + "content-hash": "05f9b4e134418188980902ac9063b1ad", + "packages": [ + { + "name": "phpstan/phpstan", + "version": "2.2.14", + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/phpstan/phpstan/zipball/9c672e7a8e791dfc3d30e55f683e73fc0b63a3ac", + "reference": "9c672e7a8e791dfc3d30e55f683e73fc0b63a3ac", + "shasum": "" + }, + "require": { + "php": "^7.4|^8.0" + }, + "conflict": { + "phpstan/phpstan-shim": "*" + }, + "bin": [ + "phpstan", + "phpstan.phar" + ], + "type": "library", + "autoload": { + "files": [ + "bootstrap.php" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Ondřej Mirtes" + }, + { + "name": "Markus Staab" + }, + { + "name": "Vincent Langlet" + } + ], + "description": "PHPStan - PHP Static Analysis Tool", + "keywords": [ + "dev", + "static analysis" + ], + "support": { + "docs": "https://phpstan.org/user-guide/getting-started", + "forum": "https://github.com/phpstan/phpstan/discussions", + "issues": "https://github.com/phpstan/phpstan/issues", + "security": "https://github.com/phpstan/phpstan/security/policy", + "source": "https://github.com/phpstan/phpstan-src" + }, + "funding": [ + { + "url": "https://github.com/ondrejmirtes", + "type": "github" + }, + { + "url": "https://github.com/phpstan", + "type": "github" + } + ], + "time": "2026-09-12T21:39:33+00:00" + }, + { + "name": "rector/rector", + "version": "2.6.7", + "source": { + "type": "git", + "url": "https://github.com/rectorphp/rector.git", + "reference": "f4aa224edb9b0630fb43826d4cb6a49b62e48d4c" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/rectorphp/rector/zipball/f4aa224edb9b0630fb43826d4cb6a49b62e48d4c", + "reference": "f4aa224edb9b0630fb43826d4cb6a49b62e48d4c", + "shasum": "" + }, + "require": { + "php": "^7.4|^8.0", + "phpstan/phpstan": "^2.2.14" + }, + "conflict": { + "rector/rector-doctrine": "*", + "rector/rector-downgrade-php": "*", + "rector/rector-phpunit": "*", + "rector/rector-symfony": "*" + }, + "bin": [ + "bin/rector" + ], + "type": "library", + "autoload": { + "files": [ + "bootstrap.php" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "description": "Instant Upgrade and Automated Refactoring of any PHP code", + "homepage": "https://getrector.com/", + "keywords": [ + "automation", + "dev", + "migration", + "refactoring" + ], + "support": { + "issues": "https://github.com/rectorphp/rector/issues", + "source": "https://github.com/rectorphp/rector/tree/2.6.7" + }, + "funding": [ + { + "url": "https://github.com/tomasvotruba", + "type": "github" + } + ], + "time": "2026-09-13T20:17:44+00:00" + } + ], + "packages-dev": [], + "aliases": [], + "minimum-stability": "stable", + "stability-flags": {}, + "prefer-stable": false, + "prefer-lowest": false, + "platform": {}, + "platform-dev": {}, + "plugin-api-version": "2.9.0" +} From be06f7ee030f532a26b7bc9efcce909356550fa5 Mon Sep 17 00:00:00 2001 From: Quentin Dequippe Date: Fri, 20 Nov 2026 18:31:44 +0100 Subject: [PATCH 2/3] update ci --- .github/workflows/ci.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 7385ae4f..aeba631a 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -35,4 +35,4 @@ jobs: restore-keys: phpcsfixer- - name: "PHP-CS-Fixer" - run: ./tools/php-cs-fixer/vendor/bin/php-cs-fixer check + run: ./tools/bin/php-cs-fixer check From 43402eda7948aaae84e316d5812dd7cb069a2371 Mon Sep 17 00:00:00 2001 From: Quentin Dequippe Date: Fri, 20 Nov 2026 18:32:56 +0100 Subject: [PATCH 3/3] set php version --- .github/workflows/ci.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index aeba631a..49395fe6 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -19,6 +19,7 @@ jobs: - name: "Install PHP with extensions" uses: shivammathur/setup-php@v2 with: + php-version: '8.5' coverage: "none" extensions: intl tools: composer