diff options
author | Remi Collet <remi@remirepo.net> | 2022-03-22 15:31:42 +0100 |
---|---|---|
committer | Remi Collet <remi@php.net> | 2022-03-22 15:31:42 +0100 |
commit | ee8baa7d4814843c958647e7f9157646c48da53f (patch) | |
tree | 7af7d40d321e57f5a5fdd1d1eeec2c253617381e /phpcov-pr116.patch | |
parent | 3fe3270672f0d3b46a2903ba40f28371d512b82d (diff) |
fix for phpunit/php-code-coverage 9.2.13
from https://github.com/sebastianbergmann/phpcov/pull/116
Diffstat (limited to 'phpcov-pr116.patch')
-rw-r--r-- | phpcov-pr116.patch | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/phpcov-pr116.patch b/phpcov-pr116.patch new file mode 100644 index 0000000..16afc70 --- /dev/null +++ b/phpcov-pr116.patch @@ -0,0 +1,23 @@ +From 80a2778c39ffe8ad251e238ea49e98e827bad3a4 Mon Sep 17 00:00:00 2001 +From: Remi Collet <remi@remirepo.net> +Date: Tue, 22 Mar 2022 15:13:26 +0100 +Subject: [PATCH] Fix namespace + +Have been renamed in 9.2.12... +--- + src/cli/PatchCoverageCommand.php | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/src/cli/PatchCoverageCommand.php b/src/cli/PatchCoverageCommand.php +index 41bdcab..f2a0e71 100644 +--- a/src/cli/PatchCoverageCommand.php ++++ b/src/cli/PatchCoverageCommand.php +@@ -12,7 +12,7 @@ + use const PHP_EOL; + use function is_file; + use function printf; +-use SebastianBergmann\CodeCoverage\Percentage; ++use SebastianBergmann\CodeCoverage\Util\Percentage; + + final class PatchCoverageCommand extends Command + { |