From 0493f607f4fe9ad6e5063dadda91b69c8623d3b7 Mon Sep 17 00:00:00 2001 From: Arafat Zahan Date: Tue, 1 Nov 2022 18:43:51 +0600 Subject: [PATCH] Add spaces in phpcs multiple ignores. --- includes/Core/REST_API/Data_Request.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/includes/Core/REST_API/Data_Request.php b/includes/Core/REST_API/Data_Request.php index 7ce5e7daeb1..ab8a46764fb 100644 --- a/includes/Core/REST_API/Data_Request.php +++ b/includes/Core/REST_API/Data_Request.php @@ -134,7 +134,7 @@ public function offsetExists( $key ) { * * @return mixed */ - // phpcs:disable Squiz.Commenting.InlineComment.WrongStyle,Squiz.Commenting.FunctionComment.WrongStyle, Squiz.PHP.CommentedOutCode.Found + // phpcs:disable Squiz.Commenting.InlineComment.WrongStyle, Squiz.Commenting.FunctionComment.WrongStyle, Squiz.PHP.CommentedOutCode.Found #[\ReturnTypeWillChange] public function offsetGet( $key ) { if ( $this->offsetExists( $key ) ) { @@ -150,7 +150,7 @@ public function offsetGet( $key ) { * @param string|int $key Key to set the value for. * @param mixed $value New value for the given key. */ - // phpcs:disable Squiz.Commenting.InlineComment.WrongStyle,Squiz.Commenting.FunctionComment.WrongStyle, Squiz.PHP.CommentedOutCode.Found + // phpcs:disable Squiz.Commenting.InlineComment.WrongStyle, Squiz.Commenting.FunctionComment.WrongStyle, Squiz.PHP.CommentedOutCode.Found #[\ReturnTypeWillChange] public function offsetSet( $key, $value ) { // Data is immutable. @@ -161,7 +161,7 @@ public function offsetSet( $key, $value ) { * * @param string|int $key Key to unset. */ - // phpcs:disable Squiz.Commenting.InlineComment.WrongStyle,Squiz.Commenting.FunctionComment.WrongStyle, Squiz.PHP.CommentedOutCode.Found + // phpcs:disable Squiz.Commenting.InlineComment.WrongStyle, Squiz.Commenting.FunctionComment.WrongStyle, Squiz.PHP.CommentedOutCode.Found #[\ReturnTypeWillChange] public function offsetUnset( $key ) { // Data is immutable.