mirror of
https://github.com/doctrine/DoctrineFixturesBundle.git
synced 2026-03-23 22:32:17 +01:00
Drop Psalm
As per the decision we took at the Hackathon.
This commit is contained in:
2
.gitattributes
vendored
2
.gitattributes
vendored
@@ -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
|
||||
|
||||
2
.github/workflows/static-analysis.yml
vendored
2
.github/workflows/static-analysis.yml
vendored
@@ -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"
|
||||
|
||||
@@ -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"
|
||||
|
||||
28
psalm.xml
28
psalm.xml
@@ -1,28 +0,0 @@
|
||||
<?xml version="1.0"?>
|
||||
<psalm
|
||||
errorLevel="7"
|
||||
resolveFromConfigFile="true"
|
||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xmlns="https://getpsalm.org/schema/config"
|
||||
xsi:schemaLocation="https://getpsalm.org/schema/config vendor/vimeo/psalm/config.xsd"
|
||||
phpVersion="8.2"
|
||||
findUnusedBaselineEntry="true"
|
||||
findUnusedCode="false"
|
||||
>
|
||||
<projectFiles>
|
||||
<directory name="src" />
|
||||
<directory name="tests" />
|
||||
<ignoreFiles>
|
||||
<directory name="vendor" />
|
||||
</ignoreFiles>
|
||||
</projectFiles>
|
||||
|
||||
<issueHandlers>
|
||||
<DuplicateClass>
|
||||
<errorLevel type="suppress">
|
||||
<file name="src/Command/CommandCompatibility.php"/>
|
||||
<file name="tests/IntegrationTest.php"/>
|
||||
</errorLevel>
|
||||
</DuplicateClass>
|
||||
</issueHandlers>
|
||||
</psalm>
|
||||
@@ -27,7 +27,7 @@ final class SymfonyFixturesLoader extends SymfonyBridgeLoader
|
||||
/**
|
||||
* @internal
|
||||
*
|
||||
* @psalm-param list<array{fixture: FixtureInterface, groups: list<string>}> $fixtures
|
||||
* @phpstan-param list<array{fixture: FixtureInterface, groups: list<string>}> $fixtures
|
||||
*/
|
||||
public function addFixtures(array $fixtures): void
|
||||
{
|
||||
@@ -134,7 +134,7 @@ final class SymfonyFixturesLoader extends SymfonyBridgeLoader
|
||||
/**
|
||||
* Collect any dependent fixtures from the given classes.
|
||||
*
|
||||
* @psalm-return array<string,true>
|
||||
* @phpstan-return array<string,true>
|
||||
*/
|
||||
private function collectDependencies(string ...$fixtureClass): array
|
||||
{
|
||||
|
||||
@@ -9,7 +9,7 @@ use Doctrine\ORM\EntityManagerInterface;
|
||||
|
||||
interface PurgerFactory
|
||||
{
|
||||
/** @psalm-param list<string> $excluded */
|
||||
/** @phpstan-param list<string> $excluded */
|
||||
public function createForEntityManager(
|
||||
?string $emName,
|
||||
EntityManagerInterface $em,
|
||||
|
||||
Reference in New Issue
Block a user