Skip to content

Commit 6de2265

Browse files
authored
silence mongo deprecation warnings (#283)
this is caused by the moratorium on updating semconv, so I guess we will see more of these soon enough
1 parent c701e16 commit 6de2265

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/Instrumentation/MongoDB/psalm.xml.dist

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
<?xml version="1.0"?>
22
<psalm
33
errorLevel="1"
4+
findUnusedBaselineEntry="false"
5+
findUnusedCode="false"
46
cacheDirectory="var/cache/psalm"
57
errorBaseline="psalm.baseline.xml"
68
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
@@ -15,5 +17,6 @@
1517
</plugins>
1618
<issueHandlers>
1719
<MissingClassConstType errorLevel="suppress" />
20+
<DeprecatedConstant errorLevel="suppress" />
1821
</issueHandlers>
1922
</psalm>

0 commit comments

Comments
 (0)