Skip to content

Commit 03af373

Browse files
committed
Changes in tests
1 parent 9e4d482 commit 03af373

File tree

10 files changed

+202
-450
lines changed

10 files changed

+202
-450
lines changed

Zend/tests/type_declarations/scalar_basic.phpt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -197,11 +197,11 @@ string(%d) "%d"
197197
string(3) "NAN"
198198

199199
*** Trying bool(true)
200-
E_DEPRECATED: Implicit bool to string coercion is deprecated on line 16
200+
E_DEPRECATED: Implicit bool to string coercion is deprecated on line %d
201201
string(1) "1"
202202

203203
*** Trying bool(false)
204-
E_DEPRECATED: Implicit bool to string coercion is deprecated on line 16
204+
E_DEPRECATED: Implicit bool to string coercion is deprecated on line %d
205205
string(0) ""
206206

207207
*** Trying NULL

Zend/tests/type_declarations/scalar_return_basic_64bit.phpt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -158,10 +158,10 @@ string(19) "9223372036854775807"
158158
*** Trying float(NAN)
159159
string(3) "NAN"
160160
*** Trying bool(true)
161-
E_DEPRECATED: Implicit bool to string coercion is deprecated on line 16
161+
E_DEPRECATED: Implicit bool to string coercion is deprecated on line %d
162162
string(1) "1"
163163
*** Trying bool(false)
164-
E_DEPRECATED: Implicit bool to string coercion is deprecated on line 16
164+
E_DEPRECATED: Implicit bool to string coercion is deprecated on line %d
165165
string(0) ""
166166
*** Trying NULL
167167
*** Caught {closure}(): Return value must be of type string, null returned in %s on line %d

0 commit comments

Comments
 (0)