File tree 3 files changed +7
-7
lines changed
3 files changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -25,11 +25,11 @@ jobs:
25
25
26
26
- uses : " ramsey/composer-install@v2"
27
27
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
30
30
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
33
33
34
34
# run the tests against the downgraded rules
35
35
- run : vendor/bin/phpunit tests
47
47
-
48
48
name : " Tag Downgraded Code"
49
49
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/}"
51
51
52
52
# force push tag, so there is only 1 version
53
53
git tag "${GITHUB_REF#refs/tags/}" --force
Original file line number Diff line number Diff line change 4
4
"license" : " MIT" ,
5
5
"description" : " Rector upgrades rules for Laravel Framework" ,
6
6
"require" : {
7
- "php" : " ^7.2 || ^8.0" ,
7
+ "php" : " ^7.4 || ^8.0" ,
8
8
"rector/rector" : " ^2.0"
9
9
},
10
10
"autoload" : {
Original file line number Diff line number Diff line change 4
4
5
5
use Rector \Config \RectorConfig ;
6
6
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