Skip to content

Commit

Permalink
style: suppress PHPCS false positives
Browse files Browse the repository at this point in the history
  • Loading branch information
paulschreiber committed Feb 1, 2024
1 parent f88d644 commit 7823353
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions wp-content/themes/terraso/includes/class-terraso-cli.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
* Holds methods for WP_CLI command related to Terraso
* Class Terraso_CLI
*/
class Terraso_CLI extends WP_CLI_Command {
class Terraso_CLI extends WP_CLI_Command { // phpcs:ignore WordPressVIPMinimum.Classes.RestrictedExtendClasses.wp_cli,Generic.Classes.OpeningBraceSameLine.ContentAfterBrace

const POST_TYPE = 'guide';
const TAG_TAXONOMY = 'ilm_tag';
Expand Down Expand Up @@ -116,7 +116,7 @@ public static function get_csv_data( $csv_file, $type ) {
return;
}

$handle = fopen( $csv_file, 'r' ); // phpcs:ignore WordPress.WP.AlternativeFunctions.file_system_operations_fopen
$handle = fopen( $csv_file, 'r' ); // phpcs:ignore WordPress.WP.AlternativeFunctions.file_system_operations_fopen,WordPress.WP.AlternativeFunctions.file_system_read_fopen
if ( false === $handle ) {
return;
}
Expand Down

0 comments on commit 7823353

Please sign in to comment.