Skip to content

Commit 4ab9fa7

Browse files
committed
Remove psalm in favor of phpstan
1 parent 954b354 commit 4ab9fa7

File tree

7 files changed

+1105
-2363
lines changed

7 files changed

+1105
-2363
lines changed

.gitattributes

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,6 @@ infection.json export-ignore
33
Makefile export-ignore
44
phpstan.neon.dist export-ignore
55
phpstan-baseline.neon export-ignore
6-
psalm-baseline.xml export-ignore
7-
psalm.xml export-ignore
86
phpunit.xml.dist export-ignore
97
/tests export-ignore
108
/vendor-bin export-ignore

Makefile

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -32,10 +32,6 @@ cs: vendor-bin/tools/vendor
3232
cs-fix: vendor-bin/tools/vendor
3333
vendor/bin/php-cs-fixer fix --verbose
3434

35-
.PHONY: psalm
36-
psalm: vendor-bin/tools/vendor
37-
vendor/bin/psalm --config=psalm.xml --diff --shepherd --show-info=false --stats --threads=4
38-
3935
.PHONY: phpstan
4036
phpstan: vendor-bin/tools/vendor
4137
vendor/bin/phpstan analyse

psalm-baseline.xml

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

psalm.xml

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

tests/Menu/ConfigBuilderTest.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -374,7 +374,6 @@ public function testBuildMenuWithChildren(): void
374374
protected function withParameter(InvokedCount $matcher, array $parameters): Closure
375375
{
376376
return static function () use ($matcher, $parameters): void {
377-
/** @psalm-suppress InternalMethod */
378377
$callNumber = $matcher->numberOfInvocations();
379378

380379
Assert::assertEquals($parameters[$callNumber-1], \func_get_args(), sprintf('Call %s', $callNumber));

vendor-bin/tools/composer.json

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,7 @@
1313
"phpstan/phpstan-strict-rules": "^1.5.1",
1414
"phpstan/phpstan-symfony": "^1.3.1",
1515
"phpunit/phpunit": "^10.1.2",
16-
"psalm/plugin-phpunit": "^0.19.0",
17-
"psalm/plugin-symfony": "^5.0.3",
18-
"symfony/phpunit-bridge": "^7.0.0",
19-
"vimeo/psalm": "^5.9"
16+
"symfony/phpunit-bridge": "^7.0.0"
2017
},
2118
"config": {
2219
"allow-plugins": {

0 commit comments

Comments
 (0)