Skip to content

Commit 7fa0cd9

Browse files
Use PHPStan instead of Psalm
1 parent 6aedb8e commit 7fa0cd9

File tree

8 files changed

+9
-25
lines changed

8 files changed

+9
-25
lines changed

.github/workflows/ci.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,8 @@ jobs:
3131
- name: Run PHP-CS-Fixer
3232
run: ./tools/php-cs-fixer fix --dry-run --show-progress=dots --using-cache=no --verbose
3333

34-
type-checker:
35-
name: Type Checker
34+
static-analysis:
35+
name: Static Analysis
3636

3737
runs-on: ubuntu-latest
3838

@@ -49,8 +49,8 @@ jobs:
4949
- name: Install dependencies with Composer
5050
run: ./tools/composer update --no-interaction --no-ansi --no-progress
5151

52-
- name: Run Psalm
53-
run: ./tools/psalm --config=.psalm/config.xml --no-progress --shepherd --show-info=false --stats
52+
- name: Run PHPStan
53+
run: ./tools/phpstan analyse --no-progress --error-format=github
5454

5555
tests:
5656
name: Tests

.phive/phars.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<?xml version="1.0" encoding="UTF-8"?>
22
<phive xmlns="https://phar.io/phive">
33
<phar name="php-cs-fixer" version="^3.57" installed="3.57.1" location="./tools/php-cs-fixer" copy="true"/>
4-
<phar name="psalm" version="^5.24" installed="5.24.0" location="./tools/psalm" copy="true"/>
54
<phar name="composer" version="^2.7" installed="2.7.6" location="./tools/composer" copy="true"/>
65
<phar name="infection" version="^0.28" installed="0.28.1" location="./tools/infection" copy="true"/>
6+
<phar name="phpstan" version="^1.11.1" installed="1.11.1" location="./tools/phpstan" copy="true"/>
77
</phive>

.psalm/baseline.xml

Lines changed: 0 additions & 2 deletions
This file was deleted.

.psalm/config.xml

Lines changed: 0 additions & 17 deletions
This file was deleted.

README.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
[![Latest Stable Version](https://poser.pugx.org/sebastian/cli-parser/v/stable.png)](https://packagist.org/packages/sebastian/cli-parser)
22
[![CI Status](https://github.com/sebastianbergmann/cli-parser/workflows/CI/badge.svg)](https://github.com/sebastianbergmann/cli-parser/actions)
3-
[![Type Coverage](https://shepherd.dev/github/sebastianbergmann/cli-parser/coverage.svg)](https://shepherd.dev/github/sebastianbergmann/cli-parser)
43
[![codecov](https://codecov.io/gh/sebastianbergmann/cli-parser/branch/main/graph/badge.svg)](https://codecov.io/gh/sebastianbergmann/cli-parser)
54

65
# sebastian/cli-parser

phpstan.neon

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
parameters:
2+
level: 9
3+
paths:
4+
- src

tools/phpstan

21.8 MB
Binary file not shown.

tools/psalm

-12.1 MB
Binary file not shown.

0 commit comments

Comments
 (0)