phpunit.xml.dist 1.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <phpunit
  3. xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  4. xsi:noNamespaceSchemaLocation="vendor/phpunit/phpunit/phpunit.xsd"
  5. backupGlobals="false"
  6. backupStaticAttributes="false"
  7. beStrictAboutChangesToGlobalState="true"
  8. beStrictAboutOutputDuringTests="true"
  9. beStrictAboutTestSize="true"
  10. beStrictAboutTestsThatDoNotTestAnything="true"
  11. beStrictAboutTodoAnnotatedTests="true"
  12. bootstrap="./vendor/autoload.php"
  13. colors="true"
  14. columns="max"
  15. convertErrorsToExceptions="true"
  16. convertNoticesToExceptions="true"
  17. convertWarningsToExceptions="true"
  18. processIsolation="false"
  19. stopOnFailure="false"
  20. verbose="true"
  21. >
  22. <testsuites>
  23. <testsuite>
  24. <directory>./tests</directory>
  25. </testsuite>
  26. </testsuites>
  27. <filter>
  28. <whitelist>
  29. <directory>./src</directory>
  30. </whitelist>
  31. </filter>
  32. <listeners>
  33. <listener class="JohnKary\PHPUnit\Listener\SpeedTrapListener">
  34. <arguments>
  35. <array>
  36. <element key="slowThreshold">
  37. <integer>100</integer>
  38. </element>
  39. </array>
  40. </arguments>
  41. </listener>
  42. <listener class="Symfony\Bridge\PhpUnit\SymfonyTestsListener"/>
  43. </listeners>
  44. <php>
  45. <ini name="zend.enable_gc" value="0"/>
  46. <ini name="memory_limit" value="1G"/>
  47. <env name="SKIP_LINT_TEST_CASES" value="0"/>
  48. <env name="PHP_CS_FIXER_TEST_USE_LEGACY_TOKENIZER" value="0"/>
  49. </php>
  50. </phpunit>