summaryrefslogtreecommitdiff
path: root/ext/gd
diff options
context:
space:
mode:
authorMáté Kocsis <kocsismate@woohoolabs.com>2020-02-25 20:58:33 +0100
committerMáté Kocsis <kocsismate@woohoolabs.com>2020-02-26 15:00:08 +0100
commit960318ed95d17bd30c2896e2f3189ebffb965dce (patch)
tree2890972c266dabe649a44b540869a49e41a3e450 /ext/gd
parentc7094d892639fedffb67c273f8fd44f3ffff86d6 (diff)
downloadphp-git-960318ed95d17bd30c2896e2f3189ebffb965dce.tar.gz
Change argument error message format
Closes GH-5211
Diffstat (limited to 'ext/gd')
-rw-r--r--ext/gd/tests/imagegd2_nullbyte_injection.phpt2
-rw-r--r--ext/gd/tests/imagegd_nullbyte_injection.phpt2
-rw-r--r--ext/gd/tests/imagexbm_nullbyte_injection.phpt2
3 files changed, 3 insertions, 3 deletions
diff --git a/ext/gd/tests/imagegd2_nullbyte_injection.phpt b/ext/gd/tests/imagegd2_nullbyte_injection.phpt
index 775da28b7f..eda6cfed42 100644
--- a/ext/gd/tests/imagegd2_nullbyte_injection.phpt
+++ b/ext/gd/tests/imagegd2_nullbyte_injection.phpt
@@ -14,4 +14,4 @@ try {
}
?>
--EXPECT--
-imagegd() expects argument #2 ($to) to be a valid path, string given
+imagegd(): Argument #2 ($to) must be a valid path, string given
diff --git a/ext/gd/tests/imagegd_nullbyte_injection.phpt b/ext/gd/tests/imagegd_nullbyte_injection.phpt
index e9d0af3c93..d10e7dc31b 100644
--- a/ext/gd/tests/imagegd_nullbyte_injection.phpt
+++ b/ext/gd/tests/imagegd_nullbyte_injection.phpt
@@ -14,4 +14,4 @@ try {
}
?>
--EXPECT--
-imagegd() expects argument #2 ($to) to be a valid path, string given
+imagegd(): Argument #2 ($to) must be a valid path, string given
diff --git a/ext/gd/tests/imagexbm_nullbyte_injection.phpt b/ext/gd/tests/imagexbm_nullbyte_injection.phpt
index a84bc78eeb..7a24ebf816 100644
--- a/ext/gd/tests/imagexbm_nullbyte_injection.phpt
+++ b/ext/gd/tests/imagexbm_nullbyte_injection.phpt
@@ -14,4 +14,4 @@ try {
}
?>
--EXPECTF--
-imagexbm() expects argument #2 ($filename) to be a valid path, string given
+imagexbm(): Argument #2 ($filename) must be a valid path, string given