Skip to content

Commit 834edc5

Browse files
Upgraded static analyzers
1 parent 07e916f commit 834edc5

File tree

8 files changed

+21
-20
lines changed

8 files changed

+21
-20
lines changed

.github/CONTRIBUTING.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ First, install the dependencies:
2121
$ make install
2222
```
2323

24-
Then run the test suite and static analyzer:
24+
Then run the test suite and static analyzers:
2525

2626
```bash
2727
$ make test

.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: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,11 @@
11
<?xml version="1.0" encoding="UTF-8"?>
2-
<files psalm-version="3.12.2@7c7ebd068f8acaba211d4a2c707c4ba90874fa26">
2+
<files psalm-version="4.0.1@b1e2e30026936ef8d5bf6a354d1c3959b6231f44">
33
<file src="lib/Gitlab/HttpClient/Plugin/HistoryTrait.php">
44
<UnrecognizedStatement occurrences="1"/>
55
</file>
6+
<file src="vendor/php-http/client-common/src/Plugin/VersionBridgePlugin.php">
7+
<InternalMethod occurrences="1">
8+
<code>doHandleRequest</code>
9+
</InternalMethod>
10+
</file>
611
</files>

vendor-bin/phpstan/composer.json

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,11 @@
11
{
22
"require": {
3-
"phpstan/phpstan": "~0.12.33",
3+
"php": "^7.2.5",
4+
"phpstan/phpstan": "~0.12.51",
45
"phpstan/phpstan-deprecation-rules": "~0.12.5",
5-
"phpstan/phpstan-strict-rules": "~0.12.4",
6-
"thecodingmachine/phpstan-strict-rules": "~0.12.0",
7-
"ergebnis/phpstan-rules": "~0.15.0"
6+
"phpstan/phpstan-strict-rules": "~0.12.5",
7+
"thecodingmachine/phpstan-strict-rules": "~0.12.1",
8+
"ergebnis/phpstan-rules": "~0.15.2"
89
},
910
"config": {
1011
"preferred-install": "dist"

vendor-bin/phpunit/composer.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
{
22
"require": {
3+
"php": "^5.6 || ^7.0",
34
"phpunit/phpunit": "^5.7.27 || ^7.5.15"
45
},
56
"config": {

vendor-bin/psalm/composer.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
{
22
"require": {
3-
"vimeo/psalm": "~3.12.2"
3+
"php": "^7.3",
4+
"psalm/phar": "~4.0.1"
45
},
56
"config": {
67
"preferred-install": "dist"

vendor-bin/rector/composer.json

Lines changed: 2 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,7 @@
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+
"php": "^7.2.5",
4+
"rector/rector-prefixed": "0.7.61"
125
},
136
"config": {
147
"preferred-install": "dist"

0 commit comments

Comments
 (0)