Skip to content

Commit 81d048d

Browse files
committedJun 29, 2024
Use PHPStan instead of Psalm
1 parent d0c929d commit 81d048d

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

46 files changed

+288
-493
lines changed
 

‎.gitattributes

+12-12
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
1-
/.gitattributes export-ignore
2-
/.gitignore export-ignore
3-
/.github export-ignore
4-
/.phive export-ignore
5-
/.php-cs-fixer.dist.php export-ignore
6-
/.psalm export-ignore
7-
/build export-ignore
8-
/build.xml export-ignore
9-
/phpunit.xml export-ignore
10-
/tests export-ignore
11-
/tools export-ignore
12-
/tools/* binary
1+
/.gitattributes export-ignore
2+
/.gitignore export-ignore
3+
/.github export-ignore
4+
/.phive export-ignore
5+
/.php-cs-fixer.dist.php export-ignore
6+
/build export-ignore
7+
/build.xml export-ignore
8+
/phpstan.neon export-ignore
9+
/phpunit.xml export-ignore
10+
/tests export-ignore
11+
/tools export-ignore
12+
/tools/* binary
1313

1414
*.php diff=php

‎.github/workflows/ci.yml

+5-5
Original file line numberDiff line numberDiff line change
@@ -30,8 +30,8 @@ jobs:
3030
- name: Run PHP-CS-Fixer
3131
run: ./tools/php-cs-fixer fix --dry-run --show-progress=dots --using-cache=no --verbose
3232

33-
type-checker:
34-
name: Type Checker
33+
static-analysis:
34+
name: Static Analysis
3535

3636
runs-on: ubuntu-latest
3737

@@ -47,11 +47,11 @@ jobs:
4747
coverage: none
4848
tools: none
4949

50-
- name: Update dependencies with composer
50+
- name: Install dependencies with Composer
5151
run: ./tools/composer update --no-interaction --no-ansi --no-progress
5252

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

5656
tests:
5757
name: Tests

0 commit comments

Comments
 (0)