<?xml version="1.0" encoding="UTF-8"?>
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
         xsi:noNamespaceSchemaLocation="vendor/phpunit/phpunit/phpunit.xsd"
         bootstrap="vendor/autoload.php"
         colors="true">
    <testsuites>
        <testsuite name="zend-filter Test Suite">
            <directory>./test</directory>
        </testsuite>
    </testsuites>

    <filter>
        <whitelist processUncoveredFilesFromWhitelist="true">
            <directory suffix=".php">./src</directory>
        </whitelist>
    </filter>

    <php>
        <!-- Zend\Filter tests

             Some tests are problematic, largely due to environment.
             Specifically, the Zip compression filter has this issue. These
             tests are enabled by default; set them to false to disable them. -->
        <env name="TESTS_ZEND_FILTER_COMPRESS_ZIP_ENABLED" value="true" />
    </php>
</phpunit>

<?xml version="1.0" encoding="UTF-8"?>
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
         xsi:noNamespaceSchemaLocation="vendor/phpunit/phpunit/phpunit.xsd"
         bootstrap="vendor/autoload.php"
         colors="true">
    <testsuites>
        <testsuite name="zend-filter Test Suite">
            <directory>./test</directory>
        </testsuite>
    </testsuites>

    <filter>
        <whitelist processUncoveredFilesFromWhitelist="true">
            <directory suffix=".php">./src</directory>
            <exclude>
                <file>src/Int.php</file>
                <file>src/Null.php</file>
            </exclude>
        </whitelist>
    </filter>

    <php>
        <!-- Zend\Filter tests

             Some tests are problematic, largely due to environment.
             Specifically, the Zip compression filter has this issue. These
             tests are enabled by default; set them to false to disable them. -->
        <env name="TESTS_ZEND_FILTER_COMPRESS_ZIP_ENABLED" value="true" />
    </php>
</phpunit>

Exclude files from test coverage that are not compatible with PHP 7.1+
Exclude files from test coverage that are not compatible with PHP 7.1+
