Skip to content

Commit 15ec77f

Browse files
authored
Suppress Psalm's ReservedWord errors (#9212)
1 parent cac2aca commit 15ec77f

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

psalm.xml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -87,6 +87,13 @@
8787
<file name="lib/Doctrine/ORM/QueryBuilder.php"/>
8888
</errorLevel>
8989
</RedundantCastGivenDocblockType>
90+
<!-- Workaround for https://github.com/vimeo/psalm/issues/7026 -->
91+
<ReservedWord>
92+
<errorLevel type="suppress">
93+
<directory name="lib"/>
94+
<directory name="tests"/>
95+
</errorLevel>
96+
</ReservedWord>
9097
<TypeDoesNotContainType>
9198
<errorLevel type="suppress">
9299
<file name="lib/Doctrine/ORM/Internal/SQLResultCasing.php"/>

0 commit comments

Comments
 (0)