File tree Expand file tree Collapse file tree 5 files changed +1187
-971
lines changed
Expand file tree Collapse file tree 5 files changed +1187
-971
lines changed Original file line number Diff line number Diff line change 99 strategy :
1010 max-parallel : 10
1111 matrix :
12- php : ['7.3', '7.4', '8.0']
12+ php : ['7.3', '7.4', '8.0', '8.1' ]
1313
1414 steps :
1515 - name : Set up PHP
16- uses : shivammathur/setup-php@2.1 .0
16+ uses : shivammathur/setup-php@2.16 .0
1717 with :
1818 php-version : ${{ matrix.php }}
1919 coverage : none
3737 runs-on : ubuntu-latest
3838 steps :
3939 - name : Set up PHP
40- uses : shivammathur/setup-php@2.1 .0
40+ uses : shivammathur/setup-php@2.16 .0
4141 with :
42- php-version : 7.3
42+ php-version : ' 7.3'
4343 coverage : none
4444
4545 - name : Checkout code
Original file line number Diff line number Diff line change @@ -17,16 +17,28 @@ jobs:
1717 args : analyze --no-progress
1818
1919 phpcs :
20- name : PHPCS
20+ name : PHP CodeSniffer
2121 runs-on : ubuntu-latest
2222 steps :
2323 - name : Checkout code
2424 uses : actions/checkout@v2
2525
26- - name : Download dependencies
27- run : composer update --no-interaction --prefer-dist --no-progress --no-suggest --dev
26+ - name : Setup PHP
27+ uses : shivammathur/setup-php@v2
28+ with :
29+ php-version : 8.0
30+ tools : composer:v2, cs2pr
31+ coverage : none
2832
29- - name : PHPCS check
30- uses : chekalsky/phpcs-action@v1
33+ - name : Cache Composer dependencies
34+ uses : actions/cache@v2
3135 with :
32- phpcs_bin_path : ' ./vendor/bin/phpcs'
36+ path : ~/.composer/cache
37+ key : php-composer-locked-${{ hashFiles('composer.lock') }}
38+ restore-keys : php-composer-locked-
39+
40+ - name : Install dependencies
41+ run : composer install --no-interaction --prefer-dist --no-progress
42+
43+ - name : PHP CS
44+ run : vendor/bin/phpcs -q --no-colors --report=checkstyle | cs2pr
Original file line number Diff line number Diff line change 1919 "php" : " >=7.3" ,
2020 "ext-json" : " *" ,
2121 "bref/bref" : " ^1.0" ,
22- "illuminate/queue" : " ^6.0|^7.0|^8.0" ,
23- "illuminate/support" : " ^6.0|^7.0|^8.0" ,
22+ "illuminate/queue" : " ^6.0|^7.0|^8.0|^9.0 " ,
23+ "illuminate/support" : " ^6.0|^7.0|^8.0|^9.0 " ,
2424 "aws/aws-sdk-php" : " ^3.134"
2525 },
2626 "require-dev" : {
2727 "phpunit/phpunit" : " ^9.0" ,
2828 "mnapoli/hard-mode" : " ^0.3.0" ,
2929 "phpstan/phpstan" : " ^0.12.0" ,
30- "symfony/filesystem" : " ^5.0" ,
31- "symfony/process" : " ^5.0"
30+ "symfony/filesystem" : " ^5.0|^6.0" ,
31+ "symfony/process" : " ^5.0|^6.0" ,
32+ "squizlabs/php_codesniffer" : " ^3.6"
3233 },
3334 "extra" : {
3435 "laravel" : {
3536 "providers" : [
3637 " Bref\\ LaravelBridge\\ BrefServiceProvider"
3738 ]
3839 }
40+ },
41+ "config" : {
42+ "allow-plugins" : {
43+ "dealerdirect/phpcodesniffer-composer-installer" : true
44+ }
3945 }
4046}
Original file line number Diff line number Diff line change 1010 "require" : {
1111 "php" : " >=7.2.5" ,
1212 "aws/aws-sdk-php" : " ^3.134" ,
13- "bref/bref" : " ^1.0 " ,
13+ "bref/bref" : " ^1.5 " ,
1414 "fideloper/proxy" : " ^4.2" ,
1515 "fruitcake/laravel-cors" : " ^1.0" ,
1616 "guzzlehttp/guzzle" : " ^7.0.1" ,
You can’t perform that action at this time.
0 commit comments