Skip to content

Commit 7c373b4

Browse files
committed
removing unncessary comments
1 parent afa1d7b commit 7c373b4

File tree

2 files changed

+1
-3
lines changed

2 files changed

+1
-3
lines changed

features/search-replace.feature

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1105,7 +1105,7 @@ Feature: Do global search/replace
11051105
"""
11061106
a:1:{i:0;O:10:"CornFlakes":0:{}}
11071107
"""
1108-
1108+
11091109
Scenario: Deserialization for empty, type-hinted objects are handled gracefully
11101110

11111111
Given a WP install

src/WP_CLI/SearchReplacer.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -92,8 +92,6 @@ private function run_recursively( $data, $serialised, $recursion_level = 0, $vis
9292
error_reporting( $error_reporting );
9393

9494
} catch ( \TypeError $e ) { // phpcs:ignore
95-
// catch incompatible deserialized object type conversions between different PHP versions and skip them
96-
9795
\WP_CLI::warning(
9896
sprintf(
9997
'Skipping an inconvertible serialized object: "%s", replacements might not be complete.',

0 commit comments

Comments
 (0)