Skip to content

Commit e56713c

Browse files
Updated static analyzers
1 parent 427ec55 commit e56713c

File tree

7 files changed

+19
-18
lines changed

7 files changed

+19
-18
lines changed

.github/workflows/static.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ jobs:
6767
command: composer bin psalm update --no-interaction --no-progress
6868

6969
- name: Execute Psalm
70-
run: vendor/bin/psalm --no-progress --output-format=github
70+
run: vendor/bin/psalm.phar --no-progress --output-format=github
7171

7272
rector:
7373
name: Rector

Makefile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,13 +12,13 @@ phpstan-baseline:
1212
@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
1313

1414
psalm-analyze:
15-
@docker run -it -w /data -v ${PWD}:/data:delegated --entrypoint vendor/bin/psalm --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:7.4-cli
1616

1717
psalm-baseline:
18-
@docker run -it -w /data -v ${PWD}:/data:delegated --entrypoint vendor/bin/psalm --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:7.4-cli --set-baseline=psalm-baseline.xml
1919

2020
psalm-show-info:
21-
@docker run -it -w /data -v ${PWD}:/data:delegated --entrypoint vendor/bin/psalm --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:7.4-cli --show-info=true
2222

2323
rector-dry-run:
2424
@docker run -it -w /data -v ${PWD}:/data:delegated --entrypoint vendor/bin/rector --rm registry.gitlab.com/grahamcampbell/php:7.4-cli process --dry-run

psalm-baseline.xml

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,11 @@
11
<?xml version="1.0" encoding="UTF-8"?>
2-
<files psalm-version="3.12.2@7c7ebd068f8acaba211d4a2c707c4ba90874fa26"/>
2+
<files psalm-version="3.13.1@afd8874a9e4562eac42a02de90e42e430c3a1db1">
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>
11+
</files>

vendor-bin/phpstan/composer.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
{
22
"require": {
3-
"phpstan/phpstan": "~0.12.33",
3+
"phpstan/phpstan": "~0.12.37",
44
"phpstan/phpstan-deprecation-rules": "~0.12.5",
55
"phpstan/phpstan-strict-rules": "~0.12.4",
66
"thecodingmachine/phpstan-strict-rules": "~0.12.0",
7-
"ergebnis/phpstan-rules": "~0.15.0"
7+
"ergebnis/phpstan-rules": "~0.15.1"
88
},
99
"config": {
1010
"preferred-install": "dist"

vendor-bin/phpunit/composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"require": {
3-
"phpunit/phpunit": "^7.5.15|^8.5|^9.0"
3+
"phpunit/phpunit": "^7.5.20 || ^8.5.8 || ^9.3.7"
44
},
55
"config": {
66
"preferred-install": "dist"

vendor-bin/psalm/composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"require": {
3-
"vimeo/psalm": "~3.12.2"
3+
"psalm/phar": "~3.13.1"
44
},
55
"config": {
66
"preferred-install": "dist"

vendor-bin/rector/composer.json

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,6 @@
11
{
22
"require": {
3-
"phpstan/phpstan": "0.12.32",
4-
"rector/rector": "0.7.48",
5-
"symplify/auto-bind-parameter": "8.1.13",
6-
"symplify/autowire-array-parameter": "8.1.13",
7-
"symplify/console-color-diff": "8.1.13",
8-
"symplify/package-builder": "8.1.13",
9-
"symplify/parameter-name-guard": "8.1.13",
10-
"symplify/set-config-resolver": "8.1.13",
11-
"symplify/smart-file-system": "8.1.13"
3+
"rector/rector-prefixed": "0.7.48"
124
},
135
"config": {
146
"preferred-install": "dist"

0 commit comments

Comments
 (0)