Skip to content

Commit 9c12684

Browse files
committed
Adapt warning for PHP < 8.0
1 parent 4509c7d commit 9c12684

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

features/search-replace.feature

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1115,7 +1115,7 @@ Feature: Do global search/replace
11151115
When I try `wp search-replace mysqli_result stdClass`
11161116
Then STDERR should contain:
11171117
"""
1118-
Warning: Skipping an inconvertible serialized object of type "mysqli_result", replacements might not be complete. Reason: mysqli_result object is already closed.
1118+
Warning: WP_CLI\SearchReplacer::run_recursively(): Couldn't fetch mysqli_result in src/WP_CLI/SearchReplacer.php
11191119
"""
11201120
And STDOUT should contain:
11211121
"""

0 commit comments

Comments
 (0)