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 16
16
- name : Setup PHP
17
17
uses : shivammathur/setup-php@v2
18
18
with :
19
- php-version : 7.4
19
+ php-version : ' 8.0 '
20
20
tools : composer:2.1
21
21
coverage : none
22
22
48
48
- name : Setup PHP
49
49
uses : shivammathur/setup-php@v2
50
50
with :
51
- php-version : 7.4
51
+ php-version : ' 8.0 '
52
52
tools : composer:2.1
53
53
coverage : none
54
54
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: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
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: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
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: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
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: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
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: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
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: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
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: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
22
22
23
23
test : phpunit phpstan-analyze psalm-analyze
24
24
Original file line number Diff line number Diff line change 1
1
parameters :
2
2
ignoreErrors :
3
+ -
4
+ message : " #^Property Bitbucket\\\\ Api\\\\ AbstractApi\\ :\\ :\\ $perPage is never written, only read\\ .$#"
5
+ count : 1
6
+ path : src/Api/AbstractApi.php
7
+
3
8
-
4
9
message : " #^Variable method call on Bitbucket\\\\ Api\\\\ AbstractApi\\ .$#"
5
10
count : 1
Original file line number Diff line number Diff line change 1
1
<?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@" >
11
3
<file src =" src/ResultPager.php" >
12
4
<InaccessibleProperty occurrences =" 1" >
13
5
<code >$clone-> perPage</code >
Original file line number Diff line number Diff line change @@ -33,6 +33,7 @@ final class UriBuilder
33
33
*/
34
34
public static function build (string ...$ parts ): string
35
35
{
36
+ /** @var int $index */
36
37
foreach ($ parts as $ index => $ part ) {
37
38
if ('' === $ part ) {
38
39
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 1
1
{
2
2
"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 "
9
9
},
10
10
"config" : {
11
11
"preferred-install" : " dist"
Original file line number Diff line number Diff line change 1
1
{
2
2
"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 "
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" : " ^7.2.5 || ^ 8.0" ,
4
- "psalm/phar" : " 4.6.3 "
3
+ "php" : " ^8.0.2 " ,
4
+ "psalm/phar" : " 4.18.1 "
5
5
},
6
6
"config" : {
7
7
"preferred-install" : " dist"
You can’t perform that action at this time.
0 commit comments