@@ -202,8 +202,8 @@ |
||
202 | 202 | ->arrayNode('form') |
203 | 203 | ->addDefaultsIfNotSet() |
204 | 204 | ->children() |
205 | - ->scalarNode('default')->defaultValue(ShippingCategoryType::class)->cannotBeEmpty()->end() |
|
206 | - ->scalarNode('choice')->defaultValue(ResourceChoiceType::class)->cannotBeEmpty()->end() |
|
205 | + ->scalarNode('default')->defaultValue(ShippingCategoryType::class)->cannotBeEmpty()->end() |
|
206 | + ->scalarNode('choice')->defaultValue(ResourceChoiceType::class)->cannotBeEmpty()->end() |
|
207 | 207 | ->end() |
208 | 208 | ->end() |
209 | 209 | ->end() |
@@ -47,7 +47,7 @@ |
||
47 | 47 | { |
48 | 48 | $event->getData()->willReturn('badObject'); |
49 | 49 | $this->shouldThrow(new UnexpectedTypeException('badObject', ArchetypeInterface::class)) |
50 | - ->during('preSetData', [$event]) |
|
50 | + ->during('preSetData', [$event]) |
|
51 | 51 | ; |
52 | 52 | } |
53 | 53 | } |
@@ -48,7 +48,7 @@ |
||
48 | 48 | 'label' => false, |
49 | 49 | 'button_add_label' => 'sylius.form.menu.add_menu_node', |
50 | 50 | 'cascade_validation' => true, |
51 | - ]) |
|
51 | + ]) |
|
52 | 52 | ->add('uri', null, [ |
53 | 53 | 'required' => false, |
54 | 54 | 'label' => 'sylius.form.menu.uri', |
@@ -53,7 +53,7 @@ discard block |
||
53 | 53 | 'by_reference' => false, |
54 | 54 | 'label' => 'sylius.form.static_content.routes', |
55 | 55 | 'cascade_validation' => true, |
56 | - ]) |
|
56 | + ]) |
|
57 | 57 | ->add('menuNodes', 'collection', [ |
58 | 58 | 'type' => 'sylius_menu_node', |
59 | 59 | 'allow_add' => true, |
@@ -61,7 +61,7 @@ discard block |
||
61 | 61 | 'by_reference' => false, |
62 | 62 | 'label' => 'sylius.form.static_content.menu_nodes', |
63 | 63 | 'cascade_validation' => true, |
64 | - ]) |
|
64 | + ]) |
|
65 | 65 | ->add('body', 'textarea', [ |
66 | 66 | 'required' => false, |
67 | 67 | 'label' => 'sylius.form.static_content.body', |
@@ -39,9 +39,9 @@ |
||
39 | 39 | public function getFunctions() |
40 | 40 | { |
41 | 41 | return [ |
42 | - new \Twig_SimpleFunction('sylius_settings_all', [$this, 'getSettings']), |
|
43 | - new \Twig_SimpleFunction('sylius_settings_get', [$this, 'getSettingsParameter']), |
|
44 | - new \Twig_SimpleFunction('sylius_settings_has', [$this, 'hasSettingsParameter']), |
|
42 | + new \Twig_SimpleFunction('sylius_settings_all', [$this, 'getSettings']), |
|
43 | + new \Twig_SimpleFunction('sylius_settings_get', [$this, 'getSettingsParameter']), |
|
44 | + new \Twig_SimpleFunction('sylius_settings_has', [$this, 'hasSettingsParameter']), |
|
45 | 45 | ]; |
46 | 46 | } |
47 | 47 |
@@ -65,7 +65,7 @@ |
||
65 | 65 | $objects = $this->loadFixturesFromFile('books.yml'); |
66 | 66 | |
67 | 67 | $data = |
68 | - <<<EOT |
|
68 | + <<<EOT |
|
69 | 69 | { |
70 | 70 | "title": "Star Wars: Dark Disciple" |
71 | 71 | } |
@@ -27,12 +27,12 @@ |
||
27 | 27 | public function it_uses_app_themes_filesystem_as_the_default_source() |
28 | 28 | { |
29 | 29 | $this->assertProcessedConfigurationEquals( |
30 | - [ |
|
31 | - [], |
|
32 | - ], |
|
33 | - ['sources' => ['filesystem' => ['locations' => ['%kernel.root_dir%/themes', '%kernel.root_dir%/../vendor/sylius/themes']]]], |
|
30 | + [ |
|
31 | + [], |
|
32 | + ], |
|
33 | + ['sources' => ['filesystem' => ['locations' => ['%kernel.root_dir%/themes', '%kernel.root_dir%/../vendor/sylius/themes']]]], |
|
34 | 34 | 'sources' |
35 | - ); |
|
35 | + ); |
|
36 | 36 | } |
37 | 37 | |
38 | 38 | /** |