diff --git a/build/rector-downgrade-php-74.php b/build/rector-downgrade-php-72.php similarity index 80% rename from build/rector-downgrade-php-74.php rename to build/rector-downgrade-php-72.php index a7b2214ea4..68641a4596 100644 --- a/build/rector-downgrade-php-74.php +++ b/build/rector-downgrade-php-72.php @@ -6,7 +6,7 @@ use Rector\Set\ValueObject\DowngradeLevelSetList; return static function (RectorConfig $rectorConfig): void { - $rectorConfig->sets([DowngradeLevelSetList::DOWN_TO_PHP_74]); + $rectorConfig->sets([DowngradeLevelSetList::DOWN_TO_PHP_72]); $rectorConfig->skip([ '*/Tests/*', diff --git a/build/target-repository/.github/workflows/bare_run.yaml b/build/target-repository/.github/workflows/bare_run.yaml index 93453d1f61..3586171d0a 100644 --- a/build/target-repository/.github/workflows/bare_run.yaml +++ b/build/target-repository/.github/workflows/bare_run.yaml @@ -9,7 +9,7 @@ jobs: strategy: fail-fast: false matrix: - php_version: ['7.4', '8.0', '8.2'] + php_version: ['7.2', '7.3', '7.4', '8.0', '8.2'] steps: - uses: actions/checkout@v2 diff --git a/build/target-repository/composer.json b/build/target-repository/composer.json index 83296c0974..6aba2bea17 100644 --- a/build/target-repository/composer.json +++ b/build/target-repository/composer.json @@ -3,7 +3,7 @@ "description": "Swiss knife in pocket of every upgrade architect", "license": "MIT", "require": { - "php": ">=7.4" + "php": ">=7.2" }, "bin": [ "bin/swiss-knife" diff --git a/composer.json b/composer.json index 067d7f1494..68028110d7 100644 --- a/composer.json +++ b/composer.json @@ -7,10 +7,10 @@ ], "require": { "php": ">=8.2", - "illuminate/container": "^11.20", + "illuminate/container": "^11.35", "nette/robot-loader": "^4.0", "nette/utils": "^4.0", - "nikic/php-parser": "^5.0", + "nikic/php-parser": "^5.3", "symfony/console": "^6.4", "symfony/finder": "^6.4", "webmozart/assert": "^1.11" @@ -18,14 +18,14 @@ "require-dev": { "phpstan/extension-installer": "^1.4", "phpstan/phpstan": "^2.0", - "phpunit/phpunit": "^10.5", + "phpunit/phpunit": "^11.5", "rector/rector": "^2.0", "rector/type-perfect": "^2.0", - "shipmonk/composer-dependency-analyser": "^1.7", - "symplify/easy-coding-standard": "^12.3", - "tomasvotruba/class-leak": "^0.2.16", + "shipmonk/composer-dependency-analyser": "^1.8", + "symplify/easy-coding-standard": "^12.4", "tomasvotruba/type-coverage": "^2.0", "tomasvotruba/unused-public": "^2.0", + "tomasvotruba/class-leak": "^2.0", "tracy/tracy": "^2.10" }, "autoload": {