Skip to content

Commit

Permalink
Allow downgrade to PHP 7.2 as no dependency requirement (#59)
Browse files Browse the repository at this point in the history
  • Loading branch information
TomasVotruba authored Dec 12, 2024
1 parent cb292c6 commit ad3929c
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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/*',
Expand Down
2 changes: 1 addition & 1 deletion build/target-repository/.github/workflows/bare_run.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion build/target-repository/composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
12 changes: 6 additions & 6 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,25 +7,25 @@
],
"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"
},
"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": {
Expand Down

0 comments on commit ad3929c

Please sign in to comment.