summaryrefslogtreecommitdiffstats
path: root/yac-php81.patch
diff options
context:
space:
mode:
authorRemi Collet <remi@remirepo.net>2021-08-04 14:07:36 +0200
committerRemi Collet <remi@remirepo.net>2021-08-04 14:07:36 +0200
commitd6f05e21dab46ec89b07eb7768b804739ab4baff (patch)
tree750c32d836cca0c59a256384aaac3c9b7d09c9eb /yac-php81.patch
parent1e5a0dec8f1c3ef419811b40f0cc625ab842aa9d (diff)
add patch for test suite with 8.1.0beta2 from
https://github.com/laruence/yac/pull/120
Diffstat (limited to 'yac-php81.patch')
-rw-r--r--yac-php81.patch19
1 files changed, 19 insertions, 0 deletions
diff --git a/yac-php81.patch b/yac-php81.patch
new file mode 100644
index 0000000..e4d4c45
--- /dev/null
+++ b/yac-php81.patch
@@ -0,0 +1,19 @@
+From 14fd1ecb6d95b9eecf3356fb2b3f01d937d2e4b5 Mon Sep 17 00:00:00 2001
+From: Remi Collet <remi@remirepo.net>
+Date: Wed, 4 Aug 2021 14:05:13 +0200
+Subject: [PATCH] relax test for 8.1.0beta2
+
+---
+ tests/023.phpt | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/tests/023.phpt b/tests/023.phpt
+index 0dce792..1fc658a 100644
+--- a/tests/023.phpt
++++ b/tests/023.phpt
+@@ -9,4 +9,4 @@ yac.enable=0
+ class Sub extends Yac {};
+ ?>
+ --EXPECTF--
+-Fatal error: Class Sub may not inherit from final class (Yac) in %s023.php on line %d
++Fatal error: Class Sub %s final class %s