summarylogtreecommitdiffstats
path: root/php80.patch
diff options
context:
space:
mode:
Diffstat (limited to 'php80.patch')
-rw-r--r--php80.patch32
1 files changed, 32 insertions, 0 deletions
diff --git a/php80.patch b/php80.patch
new file mode 100644
index 000000000000..dd2440d9d04a
--- /dev/null
+++ b/php80.patch
@@ -0,0 +1,32 @@
+diff --git a/tests/cnn_face_detection_ctor_error.phpt b/tests/cnn_face_detection_ctor_error.phpt
+index 3535448..385e307 100644
+--- a/tests/cnn_face_detection_ctor_error.phpt
++++ b/tests/cnn_face_detection_ctor_error.phpt
+@@ -11,5 +11,5 @@ try {
+ }
+ ?>
+ --EXPECTF--
+-string(68) "CnnFaceDetection::__construct() expects exactly 1 parameter, 0 given"
++string(%d) "CnnFaceDetection::__construct() expects exactly 1 %s, 0 given"
+
+diff --git a/tests/face_landmark_detection_ctor_error.phpt b/tests/face_landmark_detection_ctor_error.phpt
+index 2a717db..1f783f2 100644
+--- a/tests/face_landmark_detection_ctor_error.phpt
++++ b/tests/face_landmark_detection_ctor_error.phpt
+@@ -16,5 +16,5 @@ try {
+ }
+ ?>
+ --EXPECTF--
+-string(73) "FaceLandmarkDetection::__construct() expects exactly 1 parameter, 0 given"
++string(%d) "FaceLandmarkDetection::__construct() expects exactly 1 %s, 0 given"
+ string(45) "Unable to open non-existent file for reading."
+diff --git a/tests/face_recognition_ctor_error.phpt b/tests/face_recognition_ctor_error.phpt
+index c06ed39..237f2b0 100644
+--- a/tests/face_recognition_ctor_error.phpt
++++ b/tests/face_recognition_ctor_error.phpt
+@@ -11,4 +11,4 @@ try {
+ }
+ ?>
+ --EXPECTF--
+-string(67) "FaceRecognition::__construct() expects exactly 1 parameter, 0 given"
++string(%d) "FaceRecognition::__construct() expects exactly 1 %s, 0 given"