Skip to content

Commit c9c1f82

Browse files
committed
Remove psalm in favor of phpstan
1 parent f3b0c15 commit c9c1f82

File tree

8 files changed

+1212
-629
lines changed

8 files changed

+1212
-629
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
/docs export-ignore
108
/tests export-ignore

.php-cs-fixer.dist.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@
3636
'null_adjustment' => 'always_last',
3737
],
3838
'phpdoc_to_comment' => [
39-
'ignored_tags' => ['psalm-suppress'],
39+
'ignored_tags' => [],
4040
],
4141
'php_unit_internal_class' => false,
4242
'php_unit_test_class_requires_covers' => false,

Makefile

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -51,10 +51,6 @@ cs: vendor-bin/tools/vendor
5151
cs-fix: vendor-bin/tools/vendor
5252
vendor/bin/php-cs-fixer fix --verbose
5353

54-
.PHONY: psalm
55-
psalm: vendor-bin/tools/vendor
56-
vendor/bin/psalm --config=psalm.xml --diff --shepherd --show-info=false --stats --threads=4
57-
5854
.PHONY: phpstan
5955
phpstan: vendor-bin/tools/vendor
6056
vendor/bin/phpstan analyse

psalm-baseline.xml

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

psalm.xml

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

src/NucleosUserBundle.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,6 @@ private function addRegisterMappingsPass(ContainerBuilder $container): void
4040
$container->addCompilerPass(DoctrineOrmMappingsPass::createXmlMappingDriver($mappings, ['nucleos_user.model_manager_name'], 'nucleos_user.backend_type_orm'));
4141
}
4242
if (class_exists(DoctrineMongoDBMappingsPass::class)) {
43-
/** @psalm-suppress InternalClass, InternalMethod */
4443
$container->addCompilerPass(DoctrineMongoDBMappingsPass::createXmlMappingDriver($mappings, ['nucleos_user.model_manager_name'], 'nucleos_user.backend_type_mongodb'));
4544
}
4645
}

vendor-bin/tools/composer.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,7 @@
1616
"phpunit/phpunit": "^10.1.2",
1717
"psalm/plugin-phpunit": "^0.18.4",
1818
"psalm/plugin-symfony": "^5.0.3",
19-
"symfony/phpunit-bridge": "^7.0",
20-
"vimeo/psalm": "^5.9"
19+
"symfony/phpunit-bridge": "^7.0"
2120
},
2221
"config": {
2322
"allow-plugins": {

0 commit comments

Comments
 (0)