summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--phpcov.spec9
1 files changed, 6 insertions, 3 deletions
diff --git a/phpcov.spec b/phpcov.spec
index 62274df..b3c3200 100644
--- a/phpcov.spec
+++ b/phpcov.spec
@@ -58,7 +58,7 @@ BuildRequires: php-sebastian-cli-parser
BuildRequires: php-sebastian-diff4
BuildRequires: php-sebastian-version3
%endif
-BuildRequires: php-pecl(Xdebug)
+BuildRequires: php-pecl(Xdebug) >= 3
%endif
# from composer.json
@@ -154,9 +154,12 @@ rm tests/end-to-end/merge/valid-directory-with-text-report-stdout.phpt
rm tests/end-to-end/help/help.phpt
rm tests/end-to-end/help/help2.phpt
-# TODO php80 when xdebug will be available
+# Needed for XDebug 3
+find tests -name \*.phpt \
+ -exec sed -e '/xdebug.overload_var_dump/d' -i {} \;
+
ret=0
-for cmd in php php73 php74; do
+for cmd in php php73 php74 php80; do
if which $cmd; then
$cmd $EXT %{_bindir}/phpunit9 --testsuite end-to-end --verbose || ret=1
fi