From ee8baa7d4814843c958647e7f9157646c48da53f Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Tue, 22 Mar 2022 15:31:42 +0100 Subject: fix for phpunit/php-code-coverage 9.2.13 from https://github.com/sebastianbergmann/phpcov/pull/116 --- phpcov-pr116.patch | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 phpcov-pr116.patch (limited to 'phpcov-pr116.patch') 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 +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 + { -- cgit