diff --git a/.gitattributes b/.gitattributes index fc0636b..9777239 100644 --- a/.gitattributes +++ b/.gitattributes @@ -6,5 +6,3 @@ /phpunit.xml.dist export-ignore /phpstan.neon.dist export-ignore /phpstan-baseline.neon export-ignore -/psalm.xml export-ignore -/psalm-baseline.xml export-ignore diff --git a/.github/workflows/static-analysis.yml b/.github/workflows/static-analysis.yml index 1097318..196e958 100644 --- a/.github/workflows/static-analysis.yml +++ b/.github/workflows/static-analysis.yml @@ -11,4 +11,4 @@ on: jobs: static-analysis: - uses: "doctrine/.github/.github/workflows/static-analysis.yml@5.3.0" + uses: "doctrine/.github/.github/workflows/phpstan.yml@5.3.0" diff --git a/composer.json b/composer.json index 371829d..422363a 100644 --- a/composer.json +++ b/composer.json @@ -36,8 +36,7 @@ "doctrine/coding-standard": "^12", "phpstan/phpstan": "^1.10.39", "phpunit/phpunit": "^9.6.13", - "symfony/phpunit-bridge": "^6.3.6", - "vimeo/psalm": "^5.15" + "symfony/phpunit-bridge": "^6.3.6" }, "conflict": { "doctrine/dbal": "< 3" diff --git a/psalm.xml b/psalm.xml deleted file mode 100644 index 0d64635..0000000 --- a/psalm.xml +++ /dev/null @@ -1,28 +0,0 @@ - - - - - - - - - - - - - - - - - - - diff --git a/src/Loader/SymfonyFixturesLoader.php b/src/Loader/SymfonyFixturesLoader.php index 17bb73a..fb4b289 100644 --- a/src/Loader/SymfonyFixturesLoader.php +++ b/src/Loader/SymfonyFixturesLoader.php @@ -27,7 +27,7 @@ final class SymfonyFixturesLoader extends SymfonyBridgeLoader /** * @internal * - * @psalm-param list}> $fixtures + * @phpstan-param list}> $fixtures */ public function addFixtures(array $fixtures): void { @@ -134,7 +134,7 @@ private function addGroupsFixtureMapping(string $className, array $groups): void /** * Collect any dependent fixtures from the given classes. * - * @psalm-return array + * @phpstan-return array */ private function collectDependencies(string ...$fixtureClass): array { diff --git a/src/Purger/PurgerFactory.php b/src/Purger/PurgerFactory.php index b625888..ac37f1b 100644 --- a/src/Purger/PurgerFactory.php +++ b/src/Purger/PurgerFactory.php @@ -9,7 +9,7 @@ interface PurgerFactory { - /** @psalm-param list $excluded */ + /** @phpstan-param list $excluded */ public function createForEntityManager( ?string $emName, EntityManagerInterface $em,