diff --git a/WordPress/Docs/Arrays/ArrayIndentationStandard.xml b/WordPress/Docs/Arrays/ArrayIndentationStandard.xml
index 0833cce3bf..16d41d0bc8 100644
--- a/WordPress/Docs/Arrays/ArrayIndentationStandard.xml
+++ b/WordPress/Docs/Arrays/ArrayIndentationStandard.xml
@@ -5,18 +5,18 @@
>
-
+
22,
);
]]>
-
+
22,
@@ -26,11 +26,11 @@ $args = array(
-
+
22,
@@ -88,7 +88,7 @@ $args = array(
-
+
-
+
[ $post_id ];
$post_title = $post[ 'concatenated' . $title ];
@@ -18,7 +18,7 @@ $post = $posts[123];
$post_title = $post['post_title'];
]]>
-
+
[$post_id];
$post_title = $post['concatenated' . $title ];
diff --git a/WordPress/Docs/Arrays/MultipleStatementAlignmentStandard.xml b/WordPress/Docs/Arrays/MultipleStatementAlignmentStandard.xml
index e5c856769c..85e0c53120 100644
--- a/WordPress/Docs/Arrays/MultipleStatementAlignmentStandard.xml
+++ b/WordPress/Docs/Arrays/MultipleStatementAlignmentStandard.xml
@@ -5,7 +5,7 @@
>
@@ -24,7 +24,7 @@ $bar = array( 'year'=> $current_year );
diff --git a/WordPress/Docs/NamingConventions/PrefixAllGlobalsStandard.xml b/WordPress/Docs/NamingConventions/PrefixAllGlobalsStandard.xml
index a97d139438..06a82f88fd 100644
--- a/WordPress/Docs/NamingConventions/PrefixAllGlobalsStandard.xml
+++ b/WordPress/Docs/NamingConventions/PrefixAllGlobalsStandard.xml
@@ -15,7 +15,7 @@
]]>
-
+
'ECPT_VERSION', '1.0' );
@@ -29,7 +29,7 @@ apply_filter(
);
]]>
-
+
'PLUGIN_VERSION', '1.0' );
@@ -45,7 +45,7 @@ apply_filter(
-
+
ECPT_Plugin\Admin;
@@ -68,7 +68,7 @@ apply_filter(
);
]]>
-
+
Admin;
@@ -88,12 +88,12 @@ class Admin_Page {}
]]>
-
+
mycoolplugin_save_post() {}
]]>
-
+
wp_save_post() {}
]]>
@@ -105,12 +105,12 @@ function wp_save_post() {}
]]>
-
+
MyPluginIsCool {}
]]>
-
+
My {}
]]>
diff --git a/WordPress/Docs/PHP/IniSetStandard.xml b/WordPress/Docs/PHP/IniSetStandard.xml
index 91c73c584c..328e65c772 100644
--- a/WordPress/Docs/PHP/IniSetStandard.xml
+++ b/WordPress/Docs/PHP/IniSetStandard.xml
@@ -5,7 +5,7 @@
>
@@ -22,7 +22,7 @@ ini_set( 'short_open_tag', 'off' );
diff --git a/WordPress/Docs/PHP/YodaConditionsStandard.xml b/WordPress/Docs/PHP/YodaConditionsStandard.xml
index cb2aa366db..96666d508b 100644
--- a/WordPress/Docs/PHP/YodaConditionsStandard.xml
+++ b/WordPress/Docs/PHP/YodaConditionsStandard.xml
@@ -9,14 +9,14 @@
]]>
-
+
true === $the_force ) {
$victorious = you_will( $be );
}
]]>
-
+
$the_force === false ) {
$victorious = you_will_not( $be );
diff --git a/WordPress/Docs/WP/CapabilitiesStandard.xml b/WordPress/Docs/WP/CapabilitiesStandard.xml
index a65848e8e1..987a6c3d55 100644
--- a/WordPress/Docs/WP/CapabilitiesStandard.xml
+++ b/WordPress/Docs/WP/CapabilitiesStandard.xml
@@ -5,7 +5,7 @@
>
@@ -22,7 +22,7 @@ map_meta_cap( 'manage_site', $user->ID );
@@ -51,7 +51,7 @@ add_options_page(
diff --git a/WordPress/Docs/WP/CapitalPDangitStandard.xml b/WordPress/Docs/WP/CapitalPDangitStandard.xml
index 8df7940f72..0cdf49bf26 100644
--- a/WordPress/Docs/WP/CapitalPDangitStandard.xml
+++ b/WordPress/Docs/WP/CapitalPDangitStandard.xml
@@ -5,9 +5,9 @@
>
diff --git a/WordPress/Docs/WP/DeprecatedParametersStandard.xml b/WordPress/Docs/WP/DeprecatedParametersStandard.xml
index 195e27098b..d298a5c2b6 100644
--- a/WordPress/Docs/WP/DeprecatedParametersStandard.xml
+++ b/WordPress/Docs/WP/DeprecatedParametersStandard.xml
@@ -6,7 +6,7 @@
after the deprecated parameter, only ever pass the default value.
+ In case, you need to pass an optional parameter positioned after the deprecated parameter, only ever pass the default value.
]]>
diff --git a/WordPress/Docs/WP/PostsPerPageStandard.xml b/WordPress/Docs/WP/PostsPerPageStandard.xml
index 55715ca80d..0191cf2b3a 100644
--- a/WordPress/Docs/WP/PostsPerPageStandard.xml
+++ b/WordPress/Docs/WP/PostsPerPageStandard.xml
@@ -5,9 +5,9 @@
>
diff --git a/WordPress/Docs/WhiteSpace/ObjectOperatorSpacingStandard.xml b/WordPress/Docs/WhiteSpace/ObjectOperatorSpacingStandard.xml
index 47ffb1e8e6..10fb004b55 100644
--- a/WordPress/Docs/WhiteSpace/ObjectOperatorSpacingStandard.xml
+++ b/WordPress/Docs/WhiteSpace/ObjectOperatorSpacingStandard.xml
@@ -1,4 +1,8 @@
-
+
+
, ?->, ::) should not have any spaces around them, though new lines are allowed except for use with the `::class` constant.