diff --git a/.gitattributes b/.gitattributes
index 7eb9fbc..08b4eec 100644
--- a/.gitattributes
+++ b/.gitattributes
@@ -12,5 +12,3 @@
/phpcs.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 d1fea6c..ccaea7c 100644
--- a/.github/workflows/static-analysis.yml
+++ b/.github/workflows/static-analysis.yml
@@ -11,4 +11,4 @@ on:
jobs:
static-analysis:
name: "Static Analysis"
- uses: "doctrine/.github/.github/workflows/static-analysis.yml@5.2.0"
+ uses: "doctrine/.github/.github/workflows/phpstan.yml@5.2.0"
diff --git a/composer.json b/composer.json
index 41f271f..923abed 100644
--- a/composer.json
+++ b/composer.json
@@ -33,8 +33,7 @@
"phpstan/phpstan": "^1.10",
"phpunit/phpunit": "^9.6.13 || ^10.4.2",
"symfony/cache": "^5.4 || ^6.3 || ^7",
- "symfony/var-exporter": "^5.4 || ^6.3 || ^7",
- "vimeo/psalm": "^5.9"
+ "symfony/var-exporter": "^5.4 || ^6.3 || ^7"
},
"suggest": {
"alcaeus/mongo-php-adapter": "For using MongoDB ODM 1.3 with PHP 7 (deprecated)",
diff --git a/psalm-baseline.xml b/psalm-baseline.xml
deleted file mode 100644
index 550b904..0000000
--- a/psalm-baseline.xml
+++ /dev/null
@@ -1,30 +0,0 @@
-
-
-
-
- DocumentManagerInterface
- DocumentManagerInterface
-
-
- DocumentManagerInterface
-
-
-
-
- dm]]>
- ?DocumentManagerInterface
- ?DocumentManagerInterface
- DocumentManager
- NodeHelper
-
-
- DocumentManagerInterface|null
-
-
-
-
- PhpcrDocumentManager
- PhpcrDocumentManager
-
-
-
diff --git a/psalm.xml b/psalm.xml
deleted file mode 100644
index 1a74623..0000000
--- a/psalm.xml
+++ /dev/null
@@ -1,28 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/src/AbstractFixture.php b/src/AbstractFixture.php
index 4e71600..5f2ded0 100644
--- a/src/AbstractFixture.php
+++ b/src/AbstractFixture.php
@@ -82,10 +82,10 @@ abstract class AbstractFixture implements SharedFixtureInterface
* @see ReferenceRepository::getReference()
*
* @param string $name
- * @psalm-param class-string|null $class
+ * @phpstan-param class-string|null $class
*
* @return object
- * @psalm-return ($class is null ? object : T)
+ * @phpstan-return ($class is null ? object : T)
*
* @template T of object
*/
@@ -110,7 +110,7 @@ abstract class AbstractFixture implements SharedFixtureInterface
* @see ReferenceRepository::hasReference()
*
* @param string $name
- * @psalm-param class-string $class
+ * @phpstan-param class-string $class
*
* @return bool
*/
diff --git a/src/DependentFixtureInterface.php b/src/DependentFixtureInterface.php
index 5580a21..dd77e81 100644
--- a/src/DependentFixtureInterface.php
+++ b/src/DependentFixtureInterface.php
@@ -13,7 +13,7 @@ interface DependentFixtureInterface
* This method must return an array of fixtures classes
* on which the implementing class depends on
*
- * @psalm-return array>
+ * @phpstan-return array>
*/
public function getDependencies();
}
diff --git a/src/Loader.php b/src/Loader.php
index 5006a9b..471a9f2 100644
--- a/src/Loader.php
+++ b/src/Loader.php
@@ -40,14 +40,14 @@ class Loader
/**
* Array of fixture object instances to execute.
*
- * @psalm-var array, FixtureInterface>
+ * @phpstan-var array, FixtureInterface>
*/
private array $fixtures = [];
/**
* Array of ordered fixture object instances.
*
- * @psalm-var array|int, FixtureInterface>
+ * @phpstan-var array|int, FixtureInterface>
*/
private array $orderedFixtures = [];
@@ -175,7 +175,7 @@ class Loader
/**
* Returns the array of data fixtures to execute.
*
- * @psalm-return array|int, FixtureInterface>
+ * @phpstan-return array|int, FixtureInterface>
*/
public function getFixtures()
{
@@ -200,7 +200,7 @@ class Loader
* Check if a given fixture is transient and should not be considered a data fixtures
* class.
*
- * @psalm-param class-string