Completed
Branch master (429264)
by Kamil
37:02
created
src/Sylius/Bundle/UserBundle/Doctrine/ORM/UserRepository.php 1 patch
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -34,7 +34,7 @@  discard block
 block discarded – undo
34 34
                 ->orWhere('customer.firstName LIKE :query')
35 35
                 ->orWhere('customer.lastName LIKE :query')
36 36
                 ->orWhere('o.username LIKE :query')
37
-                ->setParameter('query', '%'.$criteria['query'].'%')
37
+                ->setParameter('query', '%' . $criteria['query'] . '%')
38 38
             ;
39 39
         }
40 40
         if (isset($criteria['enabled'])) {
@@ -63,9 +63,9 @@  discard block
 block discarded – undo
63 63
     {
64 64
         $queryBuilder = $this->createQueryBuilder('o');
65 65
         $queryBuilder
66
-            ->leftJoin('o'.'.customer', 'customer')
66
+            ->leftJoin('o' . '.customer', 'customer')
67 67
             ->addSelect('customer')
68
-            ->where($queryBuilder->expr()->eq('o'.'.id', ':id'))
68
+            ->where($queryBuilder->expr()->eq('o' . '.id', ':id'))
69 69
             ->setParameter('id', $id)
70 70
         ;
71 71
 
@@ -112,7 +112,7 @@  discard block
 block discarded – undo
112 112
     {
113 113
         $groupBy = '';
114 114
         foreach ($configuration['groupBy'] as $groupByArray) {
115
-            $groupBy = $groupByArray.'(date)'.' '.$groupBy;
115
+            $groupBy = $groupByArray . '(date)' . ' ' . $groupBy;
116 116
         }
117 117
         $groupBy = substr($groupBy, 0, -1);
118 118
         $groupBy = str_replace(' ', ', ', $groupBy);
@@ -145,7 +145,7 @@  discard block
 block discarded – undo
145 145
         $queryBuilder = $this->createQueryBuilder('o');
146 146
 
147 147
         $queryBuilder
148
-            ->leftJoin('o'.'.customer', 'customer')
148
+            ->leftJoin('o' . '.customer', 'customer')
149 149
             ->andWhere($queryBuilder->expr()->eq('customer.emailCanonical', ':email'))
150 150
             ->setParameter('email', $email)
151 151
         ;
Please login to merge, or discard this patch.
src/Sylius/Bundle/UserBundle/Command/AbstractRoleCommand.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -32,7 +32,7 @@
 block discarded – undo
32 32
             $email = $this->getHelper('dialog')->askAndValidate(
33 33
                 $output,
34 34
                 'Please enter an email:',
35
-                function($email) {
35
+                function ($email) {
36 36
                     if (empty($email)) {
37 37
                         throw new \Exception('Email can not be empty');
38 38
                     }
Please login to merge, or discard this patch.
src/Sylius/Bundle/UserBundle/Command/ChangePasswordCommand.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -76,7 +76,7 @@  discard block
 block discarded – undo
76 76
             $email = $this->getHelper('dialog')->askAndValidate(
77 77
                 $output,
78 78
                 'Please enter an email:',
79
-                function($email) {
79
+                function ($email) {
80 80
                     if (empty($email)) {
81 81
                         throw new \Exception('Email can not be empty');
82 82
                     }
@@ -91,7 +91,7 @@  discard block
 block discarded – undo
91 91
             $password = $this->getHelper('dialog')->askHiddenResponseAndValidate(
92 92
                 $output,
93 93
                 'Please choose a password:',
94
-                function($password) {
94
+                function ($password) {
95 95
                     if (empty($password)) {
96 96
                         throw new \Exception('Password can not be empty');
97 97
                     }
Please login to merge, or discard this patch.
src/Sylius/Bundle/UserBundle/DependencyInjection/SyliusUserExtension.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -30,7 +30,7 @@  discard block
 block discarded – undo
30 30
     public function load(array $config, ContainerBuilder $container)
31 31
     {
32 32
         $config = $this->processConfiguration($this->getConfiguration($config, $container), $config);
33
-        $loader = new XmlFileLoader($container, new FileLocator(__DIR__.'/../Resources/config'));
33
+        $loader = new XmlFileLoader($container, new FileLocator(__DIR__ . '/../Resources/config'));
34 34
 
35 35
         $loader->load(sprintf('driver/%s.xml', $config['driver']));
36 36
 
@@ -61,7 +61,7 @@  discard block
 block discarded – undo
61 61
      */
62 62
     public function prepend(ContainerBuilder $container)
63 63
     {
64
-        $loader = new XmlFileLoader($container, new FileLocator(__DIR__.'/../Resources/config'));
64
+        $loader = new XmlFileLoader($container, new FileLocator(__DIR__ . '/../Resources/config'));
65 65
 
66 66
         $this->prependHwiOauth($container, $loader);
67 67
     }
Please login to merge, or discard this patch.
Sylius/Bundle/LocaleBundle/DependencyInjection/SyliusLocaleExtension.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -28,7 +28,7 @@
 block discarded – undo
28 28
     public function load(array $config, ContainerBuilder $container)
29 29
     {
30 30
         $config = $this->processConfiguration($this->getConfiguration($config, $container), $config);
31
-        $loader = new XmlFileLoader($container, new FileLocator(__DIR__.'/../Resources/config'));
31
+        $loader = new XmlFileLoader($container, new FileLocator(__DIR__ . '/../Resources/config'));
32 32
 
33 33
         $this->registerResources('sylius', $config['driver'], $config['resources'], $container);
34 34
 
Please login to merge, or discard this patch.
Bundle/TaxationBundle/DependencyInjection/SyliusTaxationExtension.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -27,7 +27,7 @@
 block discarded – undo
27 27
     public function load(array $config, ContainerBuilder $container)
28 28
     {
29 29
         $config = $this->processConfiguration($this->getConfiguration($config, $container), $config);
30
-        $loader = new XmlFileLoader($container, new FileLocator(__DIR__.'/../Resources/config'));
30
+        $loader = new XmlFileLoader($container, new FileLocator(__DIR__ . '/../Resources/config'));
31 31
 
32 32
         $loader->load(sprintf('driver/%s.xml', $config['driver']));
33 33
 
Please login to merge, or discard this patch.
Sylius/Bundle/ContactBundle/DependencyInjection/SyliusContactExtension.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -30,7 +30,7 @@
 block discarded – undo
30 30
     public function load(array $config, ContainerBuilder $container)
31 31
     {
32 32
         $config = $this->processConfiguration($this->getConfiguration($config, $container), $config);
33
-        $loader = new XmlFileLoader($container, new FileLocator(__DIR__.'/../Resources/config'));
33
+        $loader = new XmlFileLoader($container, new FileLocator(__DIR__ . '/../Resources/config'));
34 34
 
35 35
         $this->registerResources('sylius', $config['driver'], $config['resources'], $container);
36 36
 
Please login to merge, or discard this patch.
src/Sylius/Bundle/InventoryBundle/DependencyInjection/Configuration.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -55,7 +55,7 @@
 block discarded – undo
55 55
                 return !isset($array['operator']);
56 56
             })
57 57
             ->then(function ($array) {
58
-                $array['operator'] = 'sylius.inventory_operator.'.($array['track_inventory'] ? 'default' : 'noop');
58
+                $array['operator'] = 'sylius.inventory_operator.' . ($array['track_inventory'] ? 'default' : 'noop');
59 59
 
60 60
                 return $array;
61 61
             })
Please login to merge, or discard this patch.
Bundle/InventoryBundle/DependencyInjection/SyliusInventoryExtension.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -30,7 +30,7 @@
 block discarded – undo
30 30
     public function load(array $config, ContainerBuilder $container)
31 31
     {
32 32
         $config = $this->processConfiguration($this->getConfiguration($config, $container), $config);
33
-        $loader = new XmlFileLoader($container, new FileLocator(__DIR__.'/../Resources/config'));
33
+        $loader = new XmlFileLoader($container, new FileLocator(__DIR__ . '/../Resources/config'));
34 34
 
35 35
         $this->registerResources('sylius', $config['driver'], $config['resources'], $container);
36 36
 
Please login to merge, or discard this patch.