File tree Expand file tree Collapse file tree 3 files changed +7
-7
lines changed
Expand file tree Collapse file tree 3 files changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -25,11 +25,11 @@ jobs:
2525
2626 - uses : " ramsey/composer-install@v2"
2727
28- # downgrade /src to PHP 7.2
29- - run : vendor/bin/rector process src config --config build/rector-downgrade-php-72 .php --ansi
28+ # downgrade /src to PHP 7.4
29+ - run : vendor/bin/rector process src config --config build/rector-downgrade-php-74 .php --ansi
3030
31- # copy PHP 7.2 composer
32- - run : cp build/composer-php-72 .json composer.json
31+ # copy PHP 7.4 composer
32+ - run : cp build/composer-php-74 .json composer.json
3333
3434 # run the tests against the downgraded rules
3535 - run : vendor/bin/phpunit tests
4747 -
4848 name : " Tag Downgraded Code"
4949 run : |
50- git commit -a -m "release PHP 7.2 downgraded ${GITHUB_REF#refs/tags/}"
50+ git commit -a -m "release PHP 7.4 downgraded ${GITHUB_REF#refs/tags/}"
5151
5252 # force push tag, so there is only 1 version
5353 git tag "${GITHUB_REF#refs/tags/}" --force
Original file line number Diff line number Diff line change 44 "license" : " MIT" ,
55 "description" : " Rector upgrades rules for Laravel Framework" ,
66 "require" : {
7- "php" : " ^7.2 || ^8.0" ,
7+ "php" : " ^7.4 || ^8.0" ,
88 "rector/rector" : " ^2.0"
99 },
1010 "autoload" : {
Original file line number Diff line number Diff line change 44
55use Rector \Config \RectorConfig ;
66
7- return RectorConfig::configure ()->withDowngradeSets (php72 : true );
7+ return RectorConfig::configure ()->withDowngradeSets (php74 : true );
You can’t perform that action at this time.
0 commit comments