@@ -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() |
@@ -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, array( |
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', array( |
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', array( |
66 | 66 | 'required' => false, |
67 | 67 | 'label' => 'sylius.form.static_content.body', |
@@ -52,7 +52,7 @@ |
||
52 | 52 | { |
53 | 53 | $event->getData()->willReturn('badObject'); |
54 | 54 | $this->shouldThrow(new UnexpectedTypeException('badObject', ArchetypeInterface::class)) |
55 | - ->during('preSetData', array($event)) |
|
55 | + ->during('preSetData', array($event)) |
|
56 | 56 | ; |
57 | 57 | } |
58 | 58 | } |
@@ -47,8 +47,8 @@ |
||
47 | 47 | } |
48 | 48 | |
49 | 49 | /** |
50 | - * {@inheritdoc} |
|
51 | - */ |
|
50 | + * {@inheritdoc} |
|
51 | + */ |
|
52 | 52 | public function getName() |
53 | 53 | { |
54 | 54 | return 'sylius_data_fetcher_sales_total'; |
@@ -17,12 +17,12 @@ |
||
17 | 17 | */ |
18 | 18 | public function it_uses_app_themes_filesystem_as_the_default_source() |
19 | 19 | { |
20 | - $this->assertProcessedConfigurationEquals( |
|
21 | - [ |
|
22 | - [], |
|
23 | - ], |
|
24 | - ['sources' => ['filesystem' => ['locations' => ['%kernel.root_dir%/themes', '%kernel.root_dir%/../vendor/sylius/themes']]]] |
|
25 | - ); |
|
20 | + $this->assertProcessedConfigurationEquals( |
|
21 | + [ |
|
22 | + [], |
|
23 | + ], |
|
24 | + ['sources' => ['filesystem' => ['locations' => ['%kernel.root_dir%/themes', '%kernel.root_dir%/../vendor/sylius/themes']]]] |
|
25 | + ); |
|
26 | 26 | } |
27 | 27 | |
28 | 28 | /** |
@@ -47,8 +47,8 @@ |
||
47 | 47 | } |
48 | 48 | |
49 | 49 | /** |
50 | - * {@inheritdoc} |
|
51 | - */ |
|
50 | + * {@inheritdoc} |
|
51 | + */ |
|
52 | 52 | public function getName() |
53 | 53 | { |
54 | 54 | return 'sylius_data_fetcher_sales_total'; |