Skip to content

Commit c020484

Browse files
authored
Merge pull request #218 from jrfnl/feature/cs-fixes-3
PHPCS: fix up the code base [3] - strict comparisons (second try)
2 parents 91aaeec + a2c5034 commit c020484

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Scaffold_Command.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -432,7 +432,7 @@ public function underscores( $args, $assoc_args ) {
432432
}
433433

434434
$response_code = wp_remote_retrieve_response_code( $response );
435-
if ( 200 != $response_code ) {
435+
if ( 200 !== (int) $response_code ) {
436436
WP_CLI::error( "Couldn't create theme (received {$response_code} response)." );
437437
}
438438

0 commit comments

Comments
 (0)