Skip to content

Commit

Permalink
Coverage: Ignore an untestable line.
Browse files Browse the repository at this point in the history
  • Loading branch information
costdev committed Dec 19, 2024
1 parent 54858e8 commit fad7eed
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion includes/class-debug.php
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ private static function verify_filesystem( $wp_filesystem ) {
/**
* Log error in file write fails only if debug is set to true. This is a valid use case.
*/
error_log( 'AspireUpdate - Could not open or write to the file system. Check file system permissions to debug log directory.' );
error_log( 'AspireUpdate - Could not open or write to the file system. Check file system permissions to debug log directory.' ); // @codeCoverageIgnore
// phpcs:enable
}
return false;
Expand Down

0 comments on commit fad7eed

Please sign in to comment.