mirror of
https://github.com/Combodo/iTop.git
synced 2026-05-17 14:28:53 +02:00
N°4224 Fix failed Jenkins build due to "Function ReflectionType::__toString() is deprecated"
E_DEPRECATED were previously hidden on the whole test infra. But after PHPUnit update (N°3091) we restored them. On legacy builds we are still using PHPUnit 6 and mocks which are generating such notices. So we are now hiding them only where necessary !
This commit is contained in:
@@ -40,6 +40,14 @@
|
||||
timeoutForLargeTests="60"
|
||||
verbose="false">
|
||||
|
||||
<php>
|
||||
<!--
|
||||
N°4224 workaround for old PHPUnit 6 and phpunit-mock-objects E_DEPRECATED notices
|
||||
To remove when switching to PHPUnit 8.5 and later !
|
||||
-->
|
||||
<ini name="error_reporting" value="E_ALL & ~E_DEPRECATED"/>
|
||||
</php>
|
||||
|
||||
<testsuites>
|
||||
<testsuite name="Extensions">
|
||||
<directory>../env-production/*/test</directory>
|
||||
|
||||
Reference in New Issue
Block a user