Skip to content

Commit f2ef86f

Browse files
committed
Configure deprecation triggers
1 parent e1e6770 commit f2ef86f

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

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"
@@ -20,6 +20,11 @@
2020
</testsuites>
2121

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

0 commit comments

Comments
 (0)