Skip to content

Commit 967c578

Browse files
Update deprecation suppression for Psalm
Added interface - Doctrine\DBAL\VersionAwarePlatformDriver Removed methods: - Doctrine\DBAL\Schema\Column::getCustomSchemaOption - Doctrine\DBAL\Schema\Column::getCustomSchemaOptions - Doctrine\DBAL\Schema\Column::setCustomSchemaOption
1 parent 1764330 commit 967c578

File tree

1 file changed

+10
-3
lines changed

1 file changed

+10
-3
lines changed

psalm.xml

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,11 @@
1515
</ignoreFiles>
1616
</projectFiles>
1717
<issueHandlers>
18+
<DeprecatedInterface>
19+
<errorLevel type="suppress">
20+
<referencedClass name="Doctrine\DBAL\VersionAwarePlatformDriver"/>
21+
</errorLevel>
22+
</DeprecatedInterface>
1823
<DeprecatedClass>
1924
<errorLevel type="suppress">
2025
<referencedClass name="Doctrine\DBAL\Event\SchemaAlterTableChangeColumnEventArgs"/>
@@ -28,9 +33,6 @@
2833
</DeprecatedClass>
2934
<DeprecatedMethod>
3035
<errorLevel type="suppress">
31-
<referencedMethod name="Doctrine\DBAL\Schema\Column::getCustomSchemaOption"/>
32-
<referencedMethod name="Doctrine\DBAL\Schema\Column::getCustomSchemaOptions"/>
33-
<referencedMethod name="Doctrine\DBAL\Schema\Column::setCustomSchemaOption"/>
3436
<referencedMethod name="Doctrine\DBAL\Schema\ColumnDiff::hasChanged"/>
3537
<referencedMethod name="Doctrine\DBAL\Types\Type::getName"/>
3638
</errorLevel>
@@ -50,5 +52,10 @@
5052
<referencedProperty name="Doctrine\DBAL\Schema\TableDiff::$removedIndexes"/>
5153
</errorLevel>
5254
</InternalProperty>
55+
<InternalMethod>
56+
<errorLevel type="suppress">
57+
<referencedMethod name="Doctrine\DBAL\Platforms\AbstractPlatform::getCreateTableWithoutForeignKeysSQL"/>
58+
</errorLevel>
59+
</InternalMethod>
5360
</issueHandlers>
5461
</psalm>

0 commit comments

Comments
 (0)