phpunit.dist.xml 1.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <!-- https://phpunit.readthedocs.io/en/latest/configuration.html -->
  3. <phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  4. xsi:noNamespaceSchemaLocation="vendor/phpunit/phpunit/phpunit.xsd"
  5. colors="true"
  6. failOnDeprecation="true"
  7. failOnNotice="true"
  8. failOnWarning="true"
  9. bootstrap="tests/bootstrap.php"
  10. cacheDirectory=".phpunit.cache"
  11. >
  12. <php>
  13. <ini name="display_errors" value="1" />
  14. <ini name="error_reporting" value="-1" />
  15. <server name="APP_ENV" value="test" force="true" />
  16. <server name="SHELL_VERBOSITY" value="-1" />
  17. </php>
  18. <testsuites>
  19. <testsuite name="Project Test Suite">
  20. <directory>tests</directory>
  21. </testsuite>
  22. </testsuites>
  23. <source ignoreSuppressionOfDeprecations="true"
  24. ignoreIndirectDeprecations="true"
  25. restrictNotices="true"
  26. restrictWarnings="true"
  27. >
  28. <include>
  29. <directory>src</directory>
  30. </include>
  31. <deprecationTrigger>
  32. <method>Doctrine\Deprecations\Deprecation::trigger</method>
  33. <method>Doctrine\Deprecations\Deprecation::delegateTriggerToBackend</method>
  34. <function>trigger_deprecation</function>
  35. </deprecationTrigger>
  36. </source>
  37. <extensions>
  38. </extensions>
  39. </phpunit>