File tree Expand file tree Collapse file tree 8 files changed +27
-29
lines changed Expand file tree Collapse file tree 8 files changed +27
-29
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 : 7.4
19+ php-version : ' 8.0 '
2020 tools : composer:2.1
2121 coverage : none
2222
4848 - name : Setup PHP
4949 uses : shivammathur/setup-php@v2
5050 with :
51- php-version : 7.4
51+ php-version : ' 8.0 '
5252 tools : composer:2.1
5353 coverage : none
5454
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:7.4 -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:7.4 -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.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
44
55phpunit :
6- @docker run -it -w /data -v ${PWD} :/data:delegated --entrypoint vendor/bin/phpunit --rm registry.gitlab.com/grahamcampbell/php:7.4 -cli
6+ @docker run -it -w /data -v ${PWD} :/data:delegated --entrypoint vendor/bin/phpunit --rm registry.gitlab.com/grahamcampbell/php:8.0 -cli
77
88phpstan-analyze :
9- @docker run -it -w /data -v ${PWD} :/data:delegated --entrypoint vendor/bin/phpstan --rm registry.gitlab.com/grahamcampbell/php:7.4 -cli 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
1010
1111phpstan-baseline :
12- @docker run -it -w /data -v ${PWD} :/data:delegated --entrypoint vendor/bin/phpstan --rm registry.gitlab.com/grahamcampbell/php:7.4 -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.0 -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:7.4 -cli
15+ @docker run -it -w /data -v ${PWD} :/data:delegated --entrypoint vendor/bin/psalm.phar --rm registry.gitlab.com/grahamcampbell/php:8.0 -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:7.4 -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.0 -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:7.4 -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.0 -cli --show-info=true
2222
2323test : phpunit phpstan-analyze psalm-analyze
2424
Original file line number Diff line number Diff line change 11parameters :
22 ignoreErrors :
3+ -
4+ message : " #^Property Bitbucket\\\\ Api\\\\ AbstractApi\\ :\\ :\\ $perPage is never written, only read\\ .$#"
5+ count : 1
6+ path : src/Api/AbstractApi.php
7+
38 -
49 message : " #^Variable method call on Bitbucket\\\\ Api\\\\ AbstractApi\\ .$#"
510 count : 1
Original file line number Diff line number Diff line change 11<?xml version =" 1.0" encoding =" UTF-8" ?>
2- <files psalm-version =" 4.3.1@2feba22a005a18bf31d4c7b9bdb9252c73897476" >
3- <file src =" src/HttpClient/Util/JsonArray.php" >
4- <MixedArgument occurrences =" 1" >
5- <code >\get_debug_type($data)</code >
6- </MixedArgument >
7- <UndefinedFunction occurrences =" 1" >
8- <code >\get_debug_type($data)</code >
9- </UndefinedFunction >
10- </file >
2+ <files psalm-version =" 4.x-dev@" >
113 <file src =" src/ResultPager.php" >
124 <InaccessibleProperty occurrences =" 1" >
135 <code >$clone-> perPage</code >
Original file line number Diff line number Diff line change @@ -33,6 +33,7 @@ final class UriBuilder
3333 */
3434 public static function build (string ...$ parts ): string
3535 {
36+ /** @var int $index */
3637 foreach ($ parts as $ index => $ part ) {
3738 if ('' === $ part ) {
3839 throw new ValueError (\sprintf ('%s::buildUri(): Argument #%d ($parts) must non-empty ' , self ::class, $ index + 1 ));
Original file line number Diff line number Diff line change 11{
22 "require" : {
3- "php" : " ^7.2.5 || ^ 8.0" ,
4- "phpstan/phpstan" : " 0.12.82 " ,
5- "phpstan/phpstan-deprecation-rules" : " 0.12.6 " ,
6- "phpstan/phpstan-strict-rules" : " 0.12.9 " ,
7- "thecodingmachine/phpstan-strict-rules" : " 0.12.1 " ,
8- "ergebnis/phpstan-rules" : " 0.15.3 "
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 " ,
7+ "thecodingmachine/phpstan-strict-rules" : " 1.0.0 " ,
8+ "ergebnis/phpstan-rules" : " 1.0.0 "
99 },
1010 "config" : {
1111 "preferred-install" : " dist"
Original file line number Diff line number Diff line change 11{
22 "require" : {
3- "php" : " ^7.2.5 || ^8.0" ,
4- "phpunit/phpunit" : " ^8.5.15 || ^9.5.4 "
3+ "php" : " ^7.2.5 || ^8.0.2 " ,
4+ "phpunit/phpunit" : " ^8.5.23 || ^9.5.12 "
55 },
66 "config" : {
77 "preferred-install" : " dist"
Original file line number Diff line number Diff line change 11{
22 "require" : {
3- "php" : " ^7.2.5 || ^ 8.0" ,
4- "psalm/phar" : " 4.6.3 "
3+ "php" : " ^8.0.2 " ,
4+ "psalm/phar" : " 4.18.1 "
55 },
66 "config" : {
77 "preferred-install" : " dist"
You can’t perform that action at this time.
0 commit comments