Skip to content

Commit 3987e20

Browse files
Update to WPCS v3 (#73)
* Update to wp-cli-tests v4 (which requires WPCS v3) * Rename variable to avoid PHPCS issue --------- Co-authored-by: Daniel Bachhuber <daniel.bachhuber@automattic.com>
1 parent fa96740 commit 3987e20

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
},
1616
"require-dev": {
1717
"wp-cli/entity-command": "^1.3 || ^2",
18-
"wp-cli/wp-cli-tests": "^3.1"
18+
"wp-cli/wp-cli-tests": "^4"
1919
},
2020
"config": {
2121
"process-timeout": 7200,

src/Fetch_Command.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@ function ( $args ) use ( $response_size_limit ) {
127127
remove_all_filters( 'oembed_dataparse' ); // Save a few cycles.
128128
add_filter(
129129
'oembed_dataparse',
130-
function ( $return, $data, $url ) {
130+
function ( $ret, $data, $url ) {
131131
return $data;
132132
},
133133
PHP_INT_MAX,

0 commit comments

Comments
 (0)