From bd5a9865df229a108d774ac6e67cee4ce163ebcb Mon Sep 17 00:00:00 2001
From: jrfnl <jrfnl@users.noreply.github.com>
Date: Wed, 19 Jul 2023 22:50:43 +0200
Subject: [PATCH] CS: align equal signs for consecutive statements

---
 src/wp-admin/includes/class-wp-debug-data.php          | 6 +++---
 src/wp-admin/includes/class-wp-ms-sites-list-table.php | 4 ++--
 src/wp-admin/includes/class-wp-posts-list-table.php    | 2 +-
 src/wp-includes/class-wp-scripts.php                   | 2 +-
 src/wp-includes/media.php                              | 1 +
 src/wp-includes/shortcodes.php                         | 2 +-
 6 files changed, 9 insertions(+), 8 deletions(-)

diff --git a/src/wp-admin/includes/class-wp-debug-data.php b/src/wp-admin/includes/class-wp-debug-data.php
index 8590cbbdb6..550b1eea4c 100644
--- a/src/wp-admin/includes/class-wp-debug-data.php
+++ b/src/wp-admin/includes/class-wp-debug-data.php
@@ -845,12 +845,12 @@ class WP_Debug_Data {
 		}
 
 		// Server time.
-		$date = new DateTime( 'now', new DateTimeZone( 'UTC' ) );
-		$info['wp-server']['fields']['current'] = array(
+		$date                                       = new DateTime( 'now', new DateTimeZone( 'UTC' ) );
+		$info['wp-server']['fields']['current']     = array(
 			'label' => __( 'Current time' ),
 			'value' => $date->format( DateTime::ATOM ),
 		);
-		$info['wp-server']['fields']['utc-time'] = array(
+		$info['wp-server']['fields']['utc-time']    = array(
 			'label' => __( 'Current UTC time' ),
 			'value' => $date->format( DateTime::RFC850 ),
 		);
diff --git a/src/wp-admin/includes/class-wp-ms-sites-list-table.php b/src/wp-admin/includes/class-wp-ms-sites-list-table.php
index 4e54862185..a3fbca44f1 100644
--- a/src/wp-admin/includes/class-wp-ms-sites-list-table.php
+++ b/src/wp-admin/includes/class-wp-ms-sites-list-table.php
@@ -391,10 +391,10 @@ class WP_MS_Sites_List_Table extends WP_List_Table {
 	protected function get_sortable_columns() {
 
 		if ( is_subdomain_install() ) {
-			$abbr = __( 'Domain' );
+			$abbr                  = __( 'Domain' );
 			$blogname_orderby_text = __( 'Table ordered by Site Domain Name.' );
 		} else {
-			$abbr = __( 'Path' );
+			$abbr                  = __( 'Path' );
 			$blogname_orderby_text = __( 'Table ordered by Site Path.' );
 		}
 
diff --git a/src/wp-admin/includes/class-wp-posts-list-table.php b/src/wp-admin/includes/class-wp-posts-list-table.php
index 54bd19441d..749cbda78e 100644
--- a/src/wp-admin/includes/class-wp-posts-list-table.php
+++ b/src/wp-admin/includes/class-wp-posts-list-table.php
@@ -765,7 +765,7 @@ class WP_Posts_List_Table extends WP_List_Table {
 
 		if ( 'page' === $post_type ) {
 			$title_orderby_text = isset( $_GET['orderby'] ) ? __( 'Table ordered by Title.' ) : __( 'Table ordered by Hierarchical Menu Order and Title.' );
-			$sortables = array(
+			$sortables          = array(
 				'title'    => array( 'title', false, __( 'Title' ), $title_orderby_text, 'asc' ),
 				'parent'   => array( 'parent', false ),
 				'comments' => array( 'comment_count', false, __( 'Comments' ), __( 'Table ordered by Comments.' ) ),
diff --git a/src/wp-includes/class-wp-scripts.php b/src/wp-includes/class-wp-scripts.php
index 08aba0aa5d..cf0259c3c4 100644
--- a/src/wp-includes/class-wp-scripts.php
+++ b/src/wp-includes/class-wp-scripts.php
@@ -964,7 +964,7 @@ JS;
 			return $eligible;
 		}
 
-		$is_alias = (bool) ! $this->registered[ $handle ]->src;
+		$is_alias          = (bool) ! $this->registered[ $handle ]->src;
 		$intended_strategy = $this->get_data( $handle, 'strategy' );
 
 		// For non-alias handles, an empty intended strategy filters all strategies.
diff --git a/src/wp-includes/media.php b/src/wp-includes/media.php
index f4d6a5a67d..db5565e385 100644
--- a/src/wp-includes/media.php
+++ b/src/wp-includes/media.php
@@ -5620,6 +5620,7 @@ function wp_get_loading_optimization_attributes( $tag_name, $attr, $context ) {
 		}
 		return $loading_attributes;
 	};
+
 	// Closure to increase media count for images with certain minimum threshold, mostly used for header images.
 	$maybe_increase_content_media_count = static function() use ( $attr ) {
 		/** This filter is documented in wp-admin/includes/media.php */
diff --git a/src/wp-includes/shortcodes.php b/src/wp-includes/shortcodes.php
index 4d23521f44..538b6e79da 100644
--- a/src/wp-includes/shortcodes.php
+++ b/src/wp-includes/shortcodes.php
@@ -222,7 +222,7 @@ function do_shortcode( $content, $ignore_html = false ) {
 	}
 
 	// Ensure this context is only added once if shortcodes are nested.
-	$has_filter = has_filter( 'wp_get_attachment_image_context', '_filter_do_shortcode_context' );
+	$has_filter   = has_filter( 'wp_get_attachment_image_context', '_filter_do_shortcode_context' );
 	$filter_added = false;
 
 	if ( ! $has_filter ) {
-- 
2.41.0.windows.1

