Skip to content

Commit

Permalink
Fix: Require vimeo/psalm instead of psalm/phar (#139)
Browse files Browse the repository at this point in the history
  • Loading branch information
localheinz authored Dec 11, 2020
1 parent c52b246 commit 00d0fe1
Show file tree
Hide file tree
Showing 4 changed files with 1,684 additions and 18 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/static-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -91,4 +91,4 @@ jobs:
- name: Run Psalm
run: |
vendor/bin/psalm.phar --no-progress --output-format=github
vendor/bin/psalm --no-progress --output-format=github
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,11 @@ test: vendor/autoload.php ## Runs tests with phpunit

static: vendor/autoload.php ## Runs static analyzers
vendor/bin/phpstan analyze
vendor/bin/psalm.phar
vendor/bin/psalm

baseline: vendor/autoload.php ## Generate baseline files
vendor/bin/phpstan analyze --generate-baseline
vendor/bin/psalm.phar --update-baseline
vendor/bin/psalm --update-baseline

clean: rm -rf vendor composer.lock .build ## Cleans up build and vendor files

Expand Down
2 changes: 1 addition & 1 deletion vendor-bin/psalm/composer.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"require": {
"php": "^7.1 || ^8.0",
"psalm/phar": "4.3.1"
"vimeo/psalm": "4.3.1"
},
"config": {
"platform": {
Expand Down
Loading

0 comments on commit 00d0fe1

Please sign in to comment.