diff options
author | Marcin Zelent <zelent.marcin@gmail.com> | 2018-03-16 17:48:44 +0100 |
---|---|---|
committer | Marcin Zelent <zelent.marcin@gmail.com> | 2018-03-16 17:48:44 +0100 |
commit | ed01011dfb563e7d8ab13b6a0718eed7bf857880 (patch) | |
tree | 104a22a75d287d0607668eea3177eec626ab3f80 /pollutometer-php/phpunit.xml.dist | |
parent | 1d24e941dc7d9da10c9045203ae18f5234c774f5 (diff) |
Moved PHP website to separate directory.
Diffstat (limited to 'pollutometer-php/phpunit.xml.dist')
-rw-r--r-- | pollutometer-php/phpunit.xml.dist | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/pollutometer-php/phpunit.xml.dist b/pollutometer-php/phpunit.xml.dist new file mode 100644 index 0000000..5a12e67 --- /dev/null +++ b/pollutometer-php/phpunit.xml.dist @@ -0,0 +1,31 @@ +<?xml version="1.0" encoding="UTF-8"?> + +<!-- https://phpunit.de/manual/current/en/appendixes.configuration.html --> +<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" + xsi:noNamespaceSchemaLocation="http://schema.phpunit.de/4.8/phpunit.xsd" + backupGlobals="false" + colors="true" + bootstrap="vendor/autoload.php" +> + <php> + <ini name="error_reporting" value="-1" /> + <server name="KERNEL_CLASS" value="AppKernel" /> + </php> + + <testsuites> + <testsuite name="Project Test Suite"> + <directory>tests</directory> + </testsuite> + </testsuites> + + <filter> + <whitelist> + <directory>src</directory> + <exclude> + <directory>src/*Bundle/Resources</directory> + <directory>src/*/*Bundle/Resources</directory> + <directory>src/*/Bundle/*Bundle/Resources</directory> + </exclude> + </whitelist> + </filter> +</phpunit> |