Skip to content

Commit 140bbbe

Browse files
committed
Configure deprecation triggers
1 parent 53c5a60 commit 140bbbe

1 file changed

Lines changed: 6 additions & 1 deletion

File tree

phpunit.xml.dist

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<?xml version="1.0" encoding="UTF-8"?>
22

33
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
4-
xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/11.3/phpunit.xsd"
4+
xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/11.5/phpunit.xsd"
55
backupGlobals="false"
66
colors="true"
77
bootstrap="vendor/autoload.php"
@@ -21,6 +21,11 @@
2121
</testsuites>
2222

2323
<source ignoreSuppressionOfDeprecations="true">
24+
<deprecationTrigger>
25+
<function>trigger_deprecation</function>
26+
<method>Doctrine\Deprecations\Deprecation::trigger</method>
27+
<method>Doctrine\Deprecations\Deprecation::triggerIfCalledFromOutside</method>
28+
</deprecationTrigger>
2429
<include>
2530
<directory>./</directory>
2631
</include>

0 commit comments

Comments
 (0)