Skip to content

Commit

Permalink
Update deprecation suppression for Psalm
Browse files Browse the repository at this point in the history
Added interface
- Doctrine\DBAL\VersionAwarePlatformDriver

Removed methods:
- Doctrine\DBAL\Schema\Column::getCustomSchemaOption
- Doctrine\DBAL\Schema\Column::getCustomSchemaOptions
- Doctrine\DBAL\Schema\Column::setCustomSchemaOption
  • Loading branch information
GwendolenLynch committed Jul 1, 2023
1 parent 1764330 commit 967c578
Showing 1 changed file with 10 additions and 3 deletions.
13 changes: 10 additions & 3 deletions psalm.xml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,11 @@
</ignoreFiles>
</projectFiles>
<issueHandlers>
<DeprecatedInterface>
<errorLevel type="suppress">
<referencedClass name="Doctrine\DBAL\VersionAwarePlatformDriver"/>
</errorLevel>
</DeprecatedInterface>
<DeprecatedClass>
<errorLevel type="suppress">
<referencedClass name="Doctrine\DBAL\Event\SchemaAlterTableChangeColumnEventArgs"/>
Expand All @@ -28,9 +33,6 @@
</DeprecatedClass>
<DeprecatedMethod>
<errorLevel type="suppress">
<referencedMethod name="Doctrine\DBAL\Schema\Column::getCustomSchemaOption"/>
<referencedMethod name="Doctrine\DBAL\Schema\Column::getCustomSchemaOptions"/>
<referencedMethod name="Doctrine\DBAL\Schema\Column::setCustomSchemaOption"/>
<referencedMethod name="Doctrine\DBAL\Schema\ColumnDiff::hasChanged"/>
<referencedMethod name="Doctrine\DBAL\Types\Type::getName"/>
</errorLevel>
Expand All @@ -50,5 +52,10 @@
<referencedProperty name="Doctrine\DBAL\Schema\TableDiff::$removedIndexes"/>
</errorLevel>
</InternalProperty>
<InternalMethod>
<errorLevel type="suppress">
<referencedMethod name="Doctrine\DBAL\Platforms\AbstractPlatform::getCreateTableWithoutForeignKeysSQL"/>
</errorLevel>
</InternalMethod>
</issueHandlers>
</psalm>

0 comments on commit 967c578

Please sign in to comment.