Skip to content

Commit 2c79096

Browse files
committed
Merge branch 'PHP-5.6' into PHP-7.0
* PHP-5.6: Fix test
2 parents 43d0f2a + 814966a commit 2c79096

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

ext/exif/tests/exif_imagetype_variation1.phpt

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -142,23 +142,23 @@ Warning: exif_imagetype(0.5): failed to open stream: No such file or directory i
142142
bool(false)
143143
-- Iteration 10 --
144144

145-
Warning: exif_imagetype() expects parameter 1 to be string, array given in %s on line %d
145+
Warning: exif_imagetype() expects parameter 1 to be a valid path, array given in %s on line %d
146146
NULL
147147
-- Iteration 11 --
148148

149-
Warning: exif_imagetype() expects parameter 1 to be string, array given in %s on line %d
149+
Warning: exif_imagetype() expects parameter 1 to be a valid path, array given in %s on line %d
150150
NULL
151151
-- Iteration 12 --
152152

153-
Warning: exif_imagetype() expects parameter 1 to be string, array given in %s on line %d
153+
Warning: exif_imagetype() expects parameter 1 to be a valid path, array given in %s on line %d
154154
NULL
155155
-- Iteration 13 --
156156

157-
Warning: exif_imagetype() expects parameter 1 to be string, array given in %s on line %d
157+
Warning: exif_imagetype() expects parameter 1 to be a valid path, array given in %s on line %d
158158
NULL
159159
-- Iteration 14 --
160160

161-
Warning: exif_imagetype() expects parameter 1 to be string, array given in %s on line %d
161+
Warning: exif_imagetype() expects parameter 1 to be a valid path, array given in %s on line %d
162162
NULL
163163
-- Iteration 15 --
164164

@@ -198,7 +198,7 @@ Warning: exif_imagetype(obj'ct): failed to open stream: No such file or director
198198
bool(false)
199199
-- Iteration 24 --
200200

201-
Warning: exif_imagetype() expects parameter 1 to be string, resource given in %s on line %d
201+
Warning: exif_imagetype() expects parameter 1 to be a valid path, resource given in %s on line %d
202202
NULL
203203
-- Iteration 25 --
204204

0 commit comments

Comments
 (0)