diff options
author | Andrew Dolgov <[email protected]> | 2023-12-02 17:45:25 +0300 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2023-12-02 18:03:06 +0300 |
commit | 09898ccbc87b5e297bcfab4527a3705bd3b4d5a4 (patch) | |
tree | ebb1e6ebe21782f4c1a757a00af1316ca645b69e /vendor/phpunit/php-code-coverage/src/Filter.php | |
parent | 2b8e34453234b8b31ebc9e7020f8677bf3889898 (diff) |
add phpunit code coverage driver
Diffstat (limited to 'vendor/phpunit/php-code-coverage/src/Filter.php')
-rw-r--r-- | vendor/phpunit/php-code-coverage/src/Filter.php | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/vendor/phpunit/php-code-coverage/src/Filter.php b/vendor/phpunit/php-code-coverage/src/Filter.php index ef0a2c62f..5a0a142a8 100644 --- a/vendor/phpunit/php-code-coverage/src/Filter.php +++ b/vendor/phpunit/php-code-coverage/src/Filter.php @@ -100,11 +100,7 @@ final class Filter public function isExcluded(string $filename): bool { - if (!$this->isFile($filename)) { - return true; - } - - return !isset($this->files[$filename]); + return !isset($this->files[$filename]) || !$this->isFile($filename); } /** |