File tree Expand file tree Collapse file tree 7 files changed +36
-45
lines changed Expand file tree Collapse file tree 7 files changed +36
-45
lines changed Original file line number Diff line number Diff line change 1616 - name : Setup PHP
1717 uses : shivammathur/setup-php@v2
1818 with :
19- php-version : ' 8.0 '
19+ php-version : ' 8.1 '
2020 tools : composer:v2
2121 coverage : none
2222 env :
5050 - name : Setup PHP
5151 uses : shivammathur/setup-php@v2
5252 with :
53- php-version : ' 8.0 '
53+ php-version : ' 8.1 '
5454 tools : composer:v2
5555 coverage : none
5656 env :
Original file line number Diff line number Diff line change 11install :
2- @docker run -it -w /data -v ${PWD} :/data:delegated -v ~ /.composer:/root/.composer:delegated --entrypoint composer --rm registry.gitlab.com/grahamcampbell/php:8.0 -base update
3- @docker run -it -w /data -v ${PWD} :/data:delegated -v ~ /.composer:/root/.composer:delegated --entrypoint composer --rm registry.gitlab.com/grahamcampbell/php:8.0 -base bin all update
2+ @docker run -it -w /data -v ${PWD} :/data:delegated -v ~ /.composer:/root/.composer:delegated --entrypoint composer --rm registry.gitlab.com/grahamcampbell/php:8.1 -base update
3+ @docker run -it -w /data -v ${PWD} :/data:delegated -v ~ /.composer:/root/.composer:delegated --entrypoint composer --rm registry.gitlab.com/grahamcampbell/php:8.1 -base bin all update
44
55phpunit :
6- @docker run -it -w /data -v ${PWD} :/data:delegated --entrypoint vendor/bin/phpunit --rm registry.gitlab.com/grahamcampbell/php:8.0 -cli
6+ @docker run -it -w /data -v ${PWD} :/data:delegated --entrypoint vendor/bin/phpunit --rm registry.gitlab.com/grahamcampbell/php:8.1 -cli
77
88phpstan-analyze :
9- @docker run -it -w /data -v ${PWD} :/data:delegated --entrypoint vendor/bin/phpstan --rm registry.gitlab.com/grahamcampbell/php:8.0 -cli analyze
9+ @docker run -it -w /data -v ${PWD} :/data:delegated --entrypoint vendor/bin/phpstan --rm registry.gitlab.com/grahamcampbell/php:8.1 -cli analyze
1010
1111phpstan-baseline :
12- @docker run -it -w /data -v ${PWD} :/data:delegated --entrypoint vendor/bin/phpstan --rm registry.gitlab.com/grahamcampbell/php:8.0 -cli analyze --generate-baseline
12+ @docker run -it -w /data -v ${PWD} :/data:delegated --entrypoint vendor/bin/phpstan --rm registry.gitlab.com/grahamcampbell/php:8.1 -cli analyze --generate-baseline
1313
1414psalm-analyze :
15- @docker run -it -w /data -v ${PWD} :/data:delegated --entrypoint vendor/bin/psalm.phar --rm registry.gitlab.com/grahamcampbell/php:8.0 -cli
15+ @docker run -it -w /data -v ${PWD} :/data:delegated --entrypoint vendor/bin/psalm.phar --rm registry.gitlab.com/grahamcampbell/php:8.1 -cli
1616
1717psalm-baseline :
18- @docker run -it -w /data -v ${PWD} :/data:delegated --entrypoint vendor/bin/psalm.phar --rm registry.gitlab.com/grahamcampbell/php:8.0 -cli --set-baseline=psalm-baseline.xml
18+ @docker run -it -w /data -v ${PWD} :/data:delegated --entrypoint vendor/bin/psalm.phar --rm registry.gitlab.com/grahamcampbell/php:8.1 -cli --set-baseline=psalm-baseline.xml
1919
2020psalm-show-info :
21- @docker run -it -w /data -v ${PWD} :/data:delegated --entrypoint vendor/bin/psalm.phar --rm registry.gitlab.com/grahamcampbell/php:8.0 -cli --show-info=true
21+ @docker run -it -w /data -v ${PWD} :/data:delegated --entrypoint vendor/bin/psalm.phar --rm registry.gitlab.com/grahamcampbell/php:8.1 -cli --show-info=true
2222
2323test : phpunit phpstan-analyze psalm-analyze
2424
Original file line number Diff line number Diff line change 4343 "config" : {
4444 "preferred-install" : " dist" ,
4545 "allow-plugins" : {
46- "bamarni/composer-bin-plugin" : true
46+ "bamarni/composer-bin-plugin" : true ,
47+ "php-http/discovery" : true
48+ }
49+ },
50+ "extra" : {
51+ "bamarni-bin" : {
52+ "bin-links" : true ,
53+ "forward-command" : false
4754 }
4855 }
4956}
Original file line number Diff line number Diff line change 11<?xml version =" 1.0" encoding =" UTF-8" ?>
2- <phpunit backupGlobals =" false"
3- backupStaticAttributes =" false"
4- beStrictAboutTestsThatDoNotTestAnything =" true"
5- beStrictAboutOutputDuringTests =" true"
6- bootstrap =" vendor/autoload.php"
7- colors =" true"
8- convertDeprecationsToExceptions =" true"
9- convertErrorsToExceptions =" true"
10- convertNoticesToExceptions =" true"
11- convertWarningsToExceptions =" true"
12- failOnRisky =" true"
13- failOnWarning =" true"
14- processIsolation =" false"
15- stopOnError =" false"
16- stopOnFailure =" false"
17- verbose =" true"
18- >
19- <testsuites >
20- <testsuite name =" Test Suite" >
21- <directory suffix =" Test.php" >./tests</directory >
22- </testsuite >
23- </testsuites >
24- <coverage processUncoveredFiles =" true" >
25- <include >
26- <directory suffix =" .php" >./src</directory >
27- </include >
28- </coverage >
2+ <phpunit xmlns : xsi =" http://www.w3.org/2001/XMLSchema-instance" backupGlobals =" false" beStrictAboutTestsThatDoNotTestAnything =" true" beStrictAboutOutputDuringTests =" true" bootstrap =" vendor/autoload.php" colors =" true" failOnRisky =" true" failOnWarning =" true" processIsolation =" false" stopOnError =" false" stopOnFailure =" false" xsi : noNamespaceSchemaLocation =" https://schema.phpunit.de/10.0/phpunit.xsd" >
3+ <testsuites >
4+ <testsuite name =" Test Suite" >
5+ <directory suffix =" Test.php" >./tests</directory >
6+ </testsuite >
7+ </testsuites >
8+ <coverage >
9+ <include >
10+ <directory suffix =" .php" >./src</directory >
11+ </include >
12+ </coverage >
2913</phpunit >
Original file line number Diff line number Diff line change 11{
22 "require" : {
3- "php" : " ^8.0.2 " ,
4- "phpstan/phpstan" : " 1.4.2 " ,
5- "phpstan/phpstan-deprecation-rules" : " 1.0.0 " ,
6- "phpstan/phpstan-strict-rules" : " 1.1 .0" ,
3+ "php" : " ^8.1 " ,
4+ "phpstan/phpstan" : " 1.10.3 " ,
5+ "phpstan/phpstan-deprecation-rules" : " 1.1.2 " ,
6+ "phpstan/phpstan-strict-rules" : " 1.5 .0" ,
77 "thecodingmachine/phpstan-strict-rules" : " 1.0.0" ,
88 "ergebnis/phpstan-rules" : " 1.0.0"
99 },
Original file line number Diff line number Diff line change 11{
22 "require" : {
33 "php" : " ^7.4.15 || ^8.0.2" ,
4- "phpunit/phpunit" : " ^9.5 .12"
4+ "phpunit/phpunit" : " ^9.6.3 || ^10.0 .12"
55 },
66 "config" : {
77 "preferred-install" : " dist"
Original file line number Diff line number Diff line change 11{
22 "require" : {
3- "php" : " ^8.0.2 " ,
4- "psalm/phar" : " 4.18.1 "
3+ "php" : " ^8.1 " ,
4+ "psalm/phar" : " 5.7.6 "
55 },
66 "config" : {
77 "preferred-install" : " dist"
You can’t perform that action at this time.
0 commit comments