From aecb113edb9004a0945deddc34afb8705653aed5 Mon Sep 17 00:00:00 2001 From: Marco Martins Date: Thu, 20 Jun 2019 13:16:37 +0300 Subject: [PATCH] Add the documentation for WordPress.Arrays.CommaAfterArrayItem --- .../Arrays/CommaAfterArrayItemStandard.xml | 96 +++++++++++++++++++ 1 file changed, 96 insertions(+) create mode 100644 WordPress/Docs/Arrays/CommaAfterArrayItemStandard.xml 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' ]; + ]]> + + +