File tree 7 files changed +36
-45
lines changed
7 files changed +36
-45
lines changed Original file line number Diff line number Diff line change 16
16
- name : Setup PHP
17
17
uses : shivammathur/setup-php@v2
18
18
with :
19
- php-version : ' 8.0 '
19
+ php-version : ' 8.1 '
20
20
tools : composer:v2
21
21
coverage : none
22
22
env :
50
50
- name : Setup PHP
51
51
uses : shivammathur/setup-php@v2
52
52
with :
53
- php-version : ' 8.0 '
53
+ php-version : ' 8.1 '
54
54
tools : composer:v2
55
55
coverage : none
56
56
env :
Original file line number Diff line number Diff line change 1
1
install :
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
4
4
5
5
phpunit :
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
7
7
8
8
phpstan-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
10
10
11
11
phpstan-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
13
13
14
14
psalm-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
16
16
17
17
psalm-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
19
19
20
20
psalm-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
22
22
23
23
test : phpunit phpstan-analyze psalm-analyze
24
24
Original file line number Diff line number Diff line change 43
43
"config" : {
44
44
"preferred-install" : " dist" ,
45
45
"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
47
54
}
48
55
}
49
56
}
Original file line number Diff line number Diff line change 1
1
<?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 >
29
13
</phpunit >
Original file line number Diff line number Diff line change 1
1
{
2
2
"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" ,
7
7
"thecodingmachine/phpstan-strict-rules" : " 1.0.0" ,
8
8
"ergebnis/phpstan-rules" : " 1.0.0"
9
9
},
Original file line number Diff line number Diff line change 1
1
{
2
2
"require" : {
3
3
"php" : " ^7.4.15 || ^8.0.2" ,
4
- "phpunit/phpunit" : " ^9.5 .12"
4
+ "phpunit/phpunit" : " ^9.6.3 || ^10.0 .12"
5
5
},
6
6
"config" : {
7
7
"preferred-install" : " dist"
Original file line number Diff line number Diff line change 1
1
{
2
2
"require" : {
3
- "php" : " ^8.0.2 " ,
4
- "psalm/phar" : " 4.18.1 "
3
+ "php" : " ^8.1 " ,
4
+ "psalm/phar" : " 5.7.6 "
5
5
},
6
6
"config" : {
7
7
"preferred-install" : " dist"
You can’t perform that action at this time.
0 commit comments