Skip to content

Commit

Permalink
Remove psalm
Browse files Browse the repository at this point in the history
Psalm not adding much anymore right now, as phpstan is covering most
issues perfectly.
  • Loading branch information
jaapio committed Nov 7, 2024
1 parent 0c9e12f commit 0f6b930
Show file tree
Hide file tree
Showing 6 changed files with 43 additions and 1,281 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/integrate.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ jobs:

static-analysis:
name: "Static analysis"
uses: "phpDocumentor/.github/.github/workflows/static-analysis.yml@v0.7"
uses: "phpDocumentor/.github/.github/workflows/static-analysis.yml@v0.8"
with:
php-version: "8.2"
composer-root-version: "2.x-dev"
Expand Down
6 changes: 1 addition & 5 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ fix-code-style: add-license
$(PHP_BIN) vendor/bin/phpcbf

.PHONY: static-code-analysis
static-code-analysis: vendor phpstan psalm test-architecture ## Runs a static code analysis with phpstan/phpstan and vimeo/psalm
static-code-analysis: vendor phpstan test-architecture ## Runs a static code analysis with phpstan/phpstan and vimeo/psalm

.PHONY: phpstan-baseline
phpstan-baseline:
Expand All @@ -24,10 +24,6 @@ phpstan-baseline:
phpstan:
$(PHP_BIN) -d memory_limit=1024M vendor/bin/phpstan --configuration=phpstan.neon

.PHONY: psalm
psalm:
$(PHP_BIN) vendor/bin/psalm --update-baseline

.PHONY: test
test: test-unit test-functional test-integration test-xml test-docs## Runs all test suites with phpunit/phpunit

Expand Down
4 changes: 1 addition & 3 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -63,13 +63,11 @@
"phpstan/phpstan-strict-rules": "^1.6",
"phpstan/phpstan-webmozart-assert": "^1.2",
"phpunit/phpunit": "^10.5",
"psalm/plugin-phpunit": "^0.19.0",
"qossmic/deptrac-shim": "^1.0.2",
"rector/rector": "^1.2.9",
"squizlabs/php_codesniffer": "^3.10",
"symfony/finder": "^6.4.8",
"symplify/phpstan-rules": "^13.0",
"vimeo/psalm": "^5.26"
"symplify/phpstan-rules": "^13.0"
},
"suggest": {
"league/csv:": "To use the CSV tables"
Expand Down
Loading

0 comments on commit 0f6b930

Please sign in to comment.