Fix multiline array CS

This commit is contained in:
Dariusz Rumiński
2014-09-14 18:21:08 +02:00
parent f4a6048f81
commit 9340b3eed1
21 changed files with 119 additions and 119 deletions
+1 -1
View File
@@ -8,7 +8,7 @@ class DotNotation
'hometown' => array(
'city' => 'Cincinnati',
'state' => 'OH',
)
),
);
public $normal = 'Normal';
@@ -9,14 +9,14 @@ class GrandParentContext
{
$this->parent_contexts[] = array('parent_id' => 'parent1', 'child_contexts' => array(
array('child_id' => 'parent1-child1'),
array('child_id' => 'parent1-child2')
array('child_id' => 'parent1-child2'),
));
$parent2 = new stdClass();
$parent2->parent_id = 'parent2';
$parent2->child_contexts = array(
array('child_id' => 'parent2-child1'),
array('child_id' => 'parent2-child2')
array('child_id' => 'parent2-child2'),
);
$this->parent_contexts[] = $parent2;
@@ -8,6 +8,6 @@ class RecursivePartials
'child' => array(
'name' => 'Justin',
'child' => false,
)
),
);
}
@@ -16,7 +16,7 @@ class MagicObject
{
protected $_data = array(
'foo' => 'And it worked the second time.',
'bar' => 'As well as the third.'
'bar' => 'As well as the third.',
);
public function __get($key)
+3 -3
View File
@@ -13,7 +13,7 @@ class SectionsNested
array('name' => 'Super Macho Man'),
array('name' => 'Piston Honda'),
array('name' => 'Mr. Sandman'),
)
),
),
array(
'name' => 'Mike Tyson',
@@ -22,13 +22,13 @@ class SectionsNested
array('name' => 'King Hippo'),
array('name' => 'Great Tiger'),
array('name' => 'Glass Joe'),
)
),
),
array(
'name' => 'Don Flamenco',
'enemies' => array(
array('name' => 'Bald Bull'),
)
),
),
);
}