diff --git a/Modernize/Docs/FunctionCalls/DirnameStandard.xml b/Modernize/Docs/FunctionCalls/DirnameStandard.xml
index 5f486646..a4c65f7e 100644
--- a/Modernize/Docs/FunctionCalls/DirnameStandard.xml
+++ b/Modernize/Docs/FunctionCalls/DirnameStandard.xml
@@ -14,7 +14,7 @@
$path = __DIR__;
]]>
-
+
dirname(__FILE__);
]]>
diff --git a/NormalizedArrays/Docs/Arrays/ArrayBraceSpacingStandard.xml b/NormalizedArrays/Docs/Arrays/ArrayBraceSpacingStandard.xml
index e8a006f0..3c655486 100644
--- a/NormalizedArrays/Docs/Arrays/ArrayBraceSpacingStandard.xml
+++ b/NormalizedArrays/Docs/Arrays/ArrayBraceSpacingStandard.xml
@@ -5,7 +5,7 @@
>
@@ -22,7 +22,7 @@ $args = array (1, 2);
@@ -43,7 +43,7 @@ $args = [ ];
@@ -64,7 +64,7 @@ $args = [ 1, 2 ];
diff --git a/NormalizedArrays/Docs/Arrays/CommaAfterLastStandard.xml b/NormalizedArrays/Docs/Arrays/CommaAfterLastStandard.xml
index c5094c5c..9afebbd6 100644
--- a/NormalizedArrays/Docs/Arrays/CommaAfterLastStandard.xml
+++ b/NormalizedArrays/Docs/Arrays/CommaAfterLastStandard.xml
@@ -5,25 +5,25 @@
>
no comma after the last array item.
+ For single-line arrays, there should be no comma after the last array item.
- However, for multi-line arrays, there should be a comma after the last array item.
+ However, for multi-line arrays, there should be a comma after the last array item.
]]>
-
+
-
+
, );
]]>
-
+
'foo',
@@ -31,7 +31,7 @@ $args = [
];
]]>
-
+
'foo',
diff --git a/Universal/Docs/Arrays/DuplicateArrayKeyStandard.xml b/Universal/Docs/Arrays/DuplicateArrayKeyStandard.xml
index 00f9b7bb..02c0974e 100644
--- a/Universal/Docs/Arrays/DuplicateArrayKeyStandard.xml
+++ b/Universal/Docs/Arrays/DuplicateArrayKeyStandard.xml
@@ -5,8 +5,8 @@
>
diff --git a/Universal/Docs/Arrays/MixedArrayKeyTypesStandard.xml b/Universal/Docs/Arrays/MixedArrayKeyTypesStandard.xml
index f7efdda1..f66b235a 100644
--- a/Universal/Docs/Arrays/MixedArrayKeyTypesStandard.xml
+++ b/Universal/Docs/Arrays/MixedArrayKeyTypesStandard.xml
@@ -5,7 +5,7 @@
>
diff --git a/Universal/Docs/Arrays/MixedKeyedUnkeyedArrayStandard.xml b/Universal/Docs/Arrays/MixedKeyedUnkeyedArrayStandard.xml
index 79897c19..5f2dbda5 100644
--- a/Universal/Docs/Arrays/MixedKeyedUnkeyedArrayStandard.xml
+++ b/Universal/Docs/Arrays/MixedKeyedUnkeyedArrayStandard.xml
@@ -5,7 +5,7 @@
>
diff --git a/Universal/Docs/CodeAnalysis/ConstructorDestructorReturnStandard.xml b/Universal/Docs/CodeAnalysis/ConstructorDestructorReturnStandard.xml
index b44b4777..35b76785 100644
--- a/Universal/Docs/CodeAnalysis/ConstructorDestructorReturnStandard.xml
+++ b/Universal/Docs/CodeAnalysis/ConstructorDestructorReturnStandard.xml
@@ -9,14 +9,14 @@
]]>
-
+
-
+
: int {}
@@ -31,7 +31,7 @@ class Foo {
]]>
-
+
-
+
-
+
$v ) {}
]]>
-
+
$k ) {}
]]>
diff --git a/Universal/Docs/CodeAnalysis/NoDoubleNegativeStandard.xml b/Universal/Docs/CodeAnalysis/NoDoubleNegativeStandard.xml
index 953149b7..972a304b 100644
--- a/Universal/Docs/CodeAnalysis/NoDoubleNegativeStandard.xml
+++ b/Universal/Docs/CodeAnalysis/NoDoubleNegativeStandard.xml
@@ -9,14 +9,14 @@
]]>
-
+
! $b;
if((bool) callMe($a)) {}
]]>
-
+
! ! $b;
diff --git a/Universal/Docs/CodeAnalysis/NoEchoSprintfStandard.xml b/Universal/Docs/CodeAnalysis/NoEchoSprintfStandard.xml
index 914eb65d..08812140 100644
--- a/Universal/Docs/CodeAnalysis/NoEchoSprintfStandard.xml
+++ b/Universal/Docs/CodeAnalysis/NoEchoSprintfStandard.xml
@@ -9,13 +9,13 @@
]]>
-
+
printf('text %s text', $var);
echo callMe('text %s text', $var);
]]>
-
+
echo sprintf('text %s text', $var);
echo vsprintf('text %s text', [$var]);
diff --git a/Universal/Docs/Constants/LowercaseClassResolutionKeywordStandard.xml b/Universal/Docs/Constants/LowercaseClassResolutionKeywordStandard.xml
index 7b61c8fa..6d34f128 100644
--- a/Universal/Docs/Constants/LowercaseClassResolutionKeywordStandard.xml
+++ b/Universal/Docs/Constants/LowercaseClassResolutionKeywordStandard.xml
@@ -9,12 +9,12 @@
]]>
-
+
-
+
MyClass::CLASS;
]]>
diff --git a/Universal/Docs/Constants/UppercaseMagicConstantsStandard.xml b/Universal/Docs/Constants/UppercaseMagicConstantsStandard.xml
index 2a9583fa..e89dceff 100644
--- a/Universal/Docs/Constants/UppercaseMagicConstantsStandard.xml
+++ b/Universal/Docs/Constants/UppercaseMagicConstantsStandard.xml
@@ -9,13 +9,13 @@
]]>
-
+
__LINE__;
include __DIR__ . '/file.php';
]]>
-
+
__NameSpace__;
include dirname(__file__) . '/file.php';
diff --git a/Universal/Docs/ControlStructures/DisallowAlternativeSyntaxStandard.xml b/Universal/Docs/ControlStructures/DisallowAlternativeSyntaxStandard.xml
index 4be7e6df..816e812f 100644
--- a/Universal/Docs/ControlStructures/DisallowAlternativeSyntaxStandard.xml
+++ b/Universal/Docs/ControlStructures/DisallowAlternativeSyntaxStandard.xml
@@ -9,7 +9,7 @@
]]>
-
+
{
$var = 1;
@@ -20,7 +20,7 @@ while (++$i < 10) {
}
]]>
-
+
:
$var = 1;
diff --git a/Universal/Docs/ControlStructures/DisallowLonelyIfStandard.xml b/Universal/Docs/ControlStructures/DisallowLonelyIfStandard.xml
index 88d09228..8acb7bfa 100644
--- a/Universal/Docs/ControlStructures/DisallowLonelyIfStandard.xml
+++ b/Universal/Docs/ControlStructures/DisallowLonelyIfStandard.xml
@@ -11,7 +11,7 @@
]]>
-
+
-
+
-
+
-
+
diff --git a/Universal/Docs/Operators/ConcatPositionStandard.xml b/Universal/Docs/Operators/ConcatPositionStandard.xml
index 4d2761af..4936f04a 100644
--- a/Universal/Docs/Operators/ConcatPositionStandard.xml
+++ b/Universal/Docs/Operators/ConcatPositionStandard.xml
@@ -13,14 +13,14 @@
]]>
-
+
. $b . 'text'
. $c;
]]>
-
+
.
$b . 'text'
diff --git a/Universal/Docs/UseStatements/DisallowUseConstStandard.xml b/Universal/Docs/UseStatements/DisallowUseConstStandard.xml
index 0dbec70b..b4340954 100644
--- a/Universal/Docs/UseStatements/DisallowUseConstStandard.xml
+++ b/Universal/Docs/UseStatements/DisallowUseConstStandard.xml
@@ -15,7 +15,7 @@ use Vendor\Sub\ClassName;
use function Vendor\Sub\functionName;
]]>
-
+
-
+
-
+
[space][space][space][space]$foo = 'bar';
@@ -17,7 +17,7 @@
[tab]$foo = 'bar';
]]>
-
+
[space][space]$foo = 'bar';