diff --git a/WordPress/Docs/Arrays/CommaAfterArrayItemStandard.xml b/WordPress/Docs/Arrays/CommaAfterArrayItemStandard.xml new file mode 100644 index 0000000000..65e00c5063 --- /dev/null +++ b/WordPress/Docs/Arrays/CommaAfterArrayItemStandard.xml @@ -0,0 +1,96 @@ + + + + + + + [ 'a', 'b', 'c' ]; + ]]> + + + [ 'a', 'b', 'c', ]; + ]]> + + + + + + [ + 'a', + 'b', + 'c', +]; + ]]> + + + + [ + 'a', + 'b', + 'c' +]; + ]]> + + + + + + [ + 1 => 'value', + 2 => [ 1 ], + 3 => 'c', +]; + ]]> + + + [ + 1 => 'value', + 2 => [ 1 ], + 3 => 'c' +]; + ]]> + + + + + + [ + 1 => 'value', + 2 => [ 1 ], + 3 => 'c', +]; + ]]> + + + [ + 1 => 'value' , + 2 => [ 1 ], + 3 => 'c' , /* Comment. */ +]; + ]]> + + + + + + [ 'a', 'b', 'c' ]; + ]]> + + + [ 'a','b', 'c' ]; + ]]> + + +