Completed
Push — theme-bundle ( ccadad...4f3506 )
by Kamil
47:50 queued 30:17
created
src/Sylius/Bundle/VariationBundle/Form/Type/VariantChoiceType.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -54,7 +54,7 @@
 block discarded – undo
54 54
      */
55 55
     public function configureOptions(OptionsResolver $resolver)
56 56
     {
57
-        $choiceList = function (Options $options) {
57
+        $choiceList = function(Options $options) {
58 58
             if (null === $options['enabled']) {
59 59
                 $choices = $this->localeRepository->findAll();
60 60
             } else {
Please login to merge, or discard this patch.
src/Sylius/Bundle/PaymentBundle/Form/Type/PaymentMethodChoiceType.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -31,13 +31,13 @@
 block discarded – undo
31 31
     {
32 32
         parent::configureOptions($resolver);
33 33
 
34
-        $queryBuilder = function (Options $options) {
34
+        $queryBuilder = function(Options $options) {
35 35
             $repositoryOptions = array(
36 36
                 'disabled' => $options['disabled'],
37 37
                 'channel' => $options['channel'],
38 38
             );
39 39
 
40
-            return function (PaymentMethodRepositoryInterface $repository) use ($repositoryOptions) {
40
+            return function(PaymentMethodRepositoryInterface $repository) use ($repositoryOptions) {
41 41
                 return $repository->getQueryBuidlerForChoiceType($repositoryOptions);
42 42
             };
43 43
         };
Please login to merge, or discard this patch.
Sylius/Bundle/CoreBundle/Form/Type/Action/AddProductConfigurationType.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -45,7 +45,7 @@
 block discarded – undo
45 45
                 'label' => 'sylius.form.action.customer_group',
46 46
                 'property' => 'name',
47 47
                 'class' => $this->groupRepository->getClassName(),
48
-                'query_builder' => function () {
48
+                'query_builder' => function() {
49 49
                     return $this->groupRepository->getFormQueryBuilder();
50 50
                 },
51 51
                 'constraints' => array(
Please login to merge, or discard this patch.
src/Sylius/Bundle/CoreBundle/Form/Type/CountryType.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -48,7 +48,7 @@
 block discarded – undo
48 48
     {
49 49
         $builder->addEventListener(
50 50
             FormEvents::PRE_SET_DATA,
51
-            function (FormEvent $event) {
51
+            function(FormEvent $event) {
52 52
                 // Adding dynamically created code field
53 53
                 $nameOptions = array(
54 54
                     'label' => 'sylius.form.locale.name',
Please login to merge, or discard this patch.
src/Sylius/Bundle/CoreBundle/Form/Type/DataFetcher/NumberOfOrdersType.php 1 patch
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -47,8 +47,8 @@
 block discarded – undo
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';
Please login to merge, or discard this patch.
Bundle/CoreBundle/Form/Type/Rule/ContainsProductConfigurationType.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -45,7 +45,7 @@
 block discarded – undo
45 45
                 'label' => 'sylius.form.action.customer_group',
46 46
                 'property' => 'name',
47 47
                 'class' => $this->groupRepository->getClassName(),
48
-                'query_builder' => function () {
48
+                'query_builder' => function() {
49 49
                     return $this->groupRepository->getFormQueryBuilder();
50 50
                 },
51 51
                 'constraints' => array(
Please login to merge, or discard this patch.
src/Sylius/Bundle/ShippingBundle/Form/Type/ShippingMethodChoiceType.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -54,7 +54,7 @@
 block discarded – undo
54 54
      */
55 55
     public function configureOptions(OptionsResolver $resolver)
56 56
     {
57
-        $choiceList = function (Options $options) {
57
+        $choiceList = function(Options $options) {
58 58
             if (null === $options['enabled']) {
59 59
                 $choices = $this->localeRepository->findAll();
60 60
             } else {
Please login to merge, or discard this patch.
src/Sylius/Bundle/ThemeBundle/spec/Asset/Package/PathPackageSpec.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -51,7 +51,7 @@  discard block
 block discarded – undo
51 51
         $themeContext->getTheme()->shouldBeCalled()->willReturn(null);
52 52
         $versionStrategy->applyVersion($path)->shouldBeCalled()->willReturn($path);
53 53
 
54
-        $this->getUrl($path)->shouldReturn('/' . $path);
54
+        $this->getUrl($path)->shouldReturn('/'.$path);
55 55
     }
56 56
 
57 57
     function it_returns_modified_url_if_there_is_active_theme(
@@ -68,6 +68,6 @@  discard block
 block discarded – undo
68 68
         $pathResolver->resolve($path, $theme)->shouldBeCalled()->willReturn($themeAssetPath);
69 69
         $versionStrategy->applyVersion($themeAssetPath)->shouldBeCalled()->willReturn($themeAssetPath);
70 70
 
71
-        $this->getUrl($path)->shouldReturn('/' . $themeAssetPath);
71
+        $this->getUrl($path)->shouldReturn('/'.$themeAssetPath);
72 72
     }
73 73
 }
Please login to merge, or discard this patch.
src/Sylius/Bundle/CoreBundle/Controller/ProductController.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -347,7 +347,7 @@
 block discarded – undo
347 347
         Pagerfanta $results,
348 348
         $template,
349 349
         $page
350
-    ){
350
+    ) {
351 351
         $results->setCurrentPage($page, true, true);
352 352
         $results->setMaxPerPage($this->config->getPaginationMaxPerPage());
353 353
 
Please login to merge, or discard this patch.