From 46c9c0d7660ca061dd69aff6ddc35347d4be1975 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A9my=20Perona?= Date: Tue, 19 Sep 2023 11:18:57 -0400 Subject: [PATCH] update ignore rule --- inc/Logger/StreamHandler.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/inc/Logger/StreamHandler.php b/inc/Logger/StreamHandler.php index 987c185b20..84863be269 100644 --- a/inc/Logger/StreamHandler.php +++ b/inc/Logger/StreamHandler.php @@ -94,7 +94,7 @@ public function create_htaccess_file() { if ( ! is_resource( $file_resource ) ) { $this->has_error = true; - throw new UnexpectedValueException( sprintf( 'The file "%s" could not be opened: ' . $this->error_message, $file_path ) ); // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped + throw new UnexpectedValueException( sprintf( 'The file "%s" could not be opened: ' . $this->error_message, $file_path ) ); // phpcs:ignore WordPress.Security.EscapeOutput.ExceptionNotEscaped } $new_content = "\nOrder allow,deny\nDeny from all\n\nOptions -Indexes";