File tree Expand file tree Collapse file tree 3 files changed +13
-7
lines changed Expand file tree Collapse file tree 3 files changed +13
-7
lines changed Original file line number Diff line number Diff line change 6060 - name : Downgrade src
6161 run : php bin/transform-source ${{ env.TARGET_PHP_VERSION_ID }}
6262
63- - name : Setup PHP ${{ env.TARGET_PHP_VERSION }}
64- uses : shivammathur/setup-php@v2
65- with :
66- php-version : ${{ env.TARGET_PHP_VERSION }}
67- coverage : none
68- env :
69- COMPOSER_TOKEN : ${{ secrets.RELEASE_TOKEN }}
63+ - name : Run lint on src
64+ run : vendor/bin/parallel-lint src --colors --show-deprecated
7065
7166 - name : Get tag for downgraded release
7267 id : tag-downgraded
Original file line number Diff line number Diff line change 1414 - ' **.php'
1515 - ' phpunit.dist.xml'
1616
17+ env :
18+ TARGET_PHP_VERSION : ' 7.4'
19+ TARGET_PHP_VERSION_ID : 70400
20+
1721jobs :
1822 extension-tests :
1923 name : PHPUnit Extension Tests [PHP ${{ matrix.php-version }}]
5559 - name : Install dependencies
5660 run : composer update --ansi
5761
62+ - name : Downgrade src
63+ run : php bin/transform-source ${{ env.TARGET_PHP_VERSION_ID }}
64+
65+ - name : Run lint on src
66+ run : vendor/bin/parallel-lint src --colors --show-deprecated
67+
5868 - name : Run Extension Tests
5969 run : vendor/bin/phpunit --no-coverage
Original file line number Diff line number Diff line change 3131 "codeigniter4/shield" : " ^1.0@beta" ,
3232 "friendsofphp/php-cs-fixer" : " ^3.20" ,
3333 "nexusphp/cs-config" : " ^3.12" ,
34+ "php-parallel-lint/php-parallel-lint" : " ^1.3" ,
3435 "phpstan/extension-installer" : " ^1.3" ,
3536 "phpstan/phpstan-deprecation-rules" : " ^1.1" ,
3637 "phpstan/phpstan-phpunit" : " ^1.3" ,
You can’t perform that action at this time.
0 commit comments