Skip to content

Commit

Permalink
replace Psalm with PHPStan
Browse files Browse the repository at this point in the history
  • Loading branch information
mjaschen committed Jan 12, 2025
1 parent b7d71dc commit 49e5970
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 23 deletions.
6 changes: 3 additions & 3 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -51,19 +51,19 @@
},
"require-dev": {
"phpunit/phpunit": "^10.0",
"vimeo/psalm": "^5.0",
"phpstan/phpstan": "^2.0",
"squizlabs/php_codesniffer": "^3.7"
},
"scripts": {
"ci:composer-validate": "composer validate --no-check-all --no-check-lock --strict",
"ci:lint": "find src tests -name '*.php' -print0 | xargs -0 -n 1 -P 4 php -l",
"ci:psalm": "./vendor/bin/psalm",
"ci:phpstan": "./vendor/bin/phpstan",
"ci:sniff": "./vendor/bin/phpcs src tests",
"ci:tests": "./vendor/bin/phpunit tests/",
"ci:static": [
"@ci:composer-validate",
"@ci:lint",
"@ci:psalm",
"@ci:phpstan",
"@ci:sniff"
],
"ci:dynamic": [
Expand Down
6 changes: 6 additions & 0 deletions phpstan.neon
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@

parameters:
editorUrl: 'phpstorm://open?file=%%file%%&line=%%line%%'
level: 7
paths:
- src
20 changes: 0 additions & 20 deletions psalm.xml

This file was deleted.

0 comments on commit 49e5970

Please sign in to comment.