Completed
Push — master ( dbcc11...1c506f )
by Alexandre
03:04 queued 23s
created
web/config.php 1 patch
Braces   +9 added lines, -3 removed lines patch added patch discarded remove patch
@@ -167,7 +167,10 @@  discard block
 block discarded – undo
167 167
                         <?php if (count($minorProblems)): ?>
168 168
                             <h2>Recommendations</h2>
169 169
                             <p>
170
-                                <?php if (count($majorProblems)): ?>Additionally, to<?php else: ?>To<?php endif; ?> enhance your Symfony experience,
170
+                                <?php if (count($majorProblems)): ?>Additionally, to<?php else {
171
+    : ?>To<?php endif;
172
+}
173
+?> enhance your Symfony experience,
171 174
                                 it’s recommended that you fix the following:
172 175
                             </p>
173 176
                             <ol>
@@ -181,9 +184,12 @@  discard block
 block discarded – undo
181 184
                             <p id="phpini">*
182 185
                                 <?php if ($symfonyRequirements->getPhpIniConfigPath()): ?>
183 186
                                     Changes to the <strong>php.ini</strong> file must be done in "<strong><?php echo $symfonyRequirements->getPhpIniConfigPath() ?></strong>".
184
-                                <?php else: ?>
187
+                                <?php else {
188
+    : ?>
185 189
                                     To change settings, create a "<strong>php.ini</strong>".
186
-                                <?php endif; ?>
190
+                                <?php endif;
191
+}
192
+?>
187 193
                             </p>
188 194
                         <?php endif; ?>
189 195
 
Please login to merge, or discard this patch.
src/AppBundle/Service/Planning.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -40,7 +40,7 @@
 block discarded – undo
40 40
                 $hours = $this->workDayHours;
41 41
             }
42 42
 
43
-            $vals = array_map(function ($val) use ($date) {
43
+            $vals = array_map(function($val) use ($date) {
44 44
                 return $date.' // '.$val;
45 45
             }, $hours);
46 46
             $result[$date] = array_combine($vals, $vals);
Please login to merge, or discard this patch.
src/AppBundle/Service/Notification.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -51,7 +51,7 @@
 block discarded – undo
51 51
     {
52 52
         $template = $this->twig->loadTemplate($template);
53 53
 
54
-        $subject  = $template->renderBlock('subject',   $parameters);
54
+        $subject  = $template->renderBlock('subject', $parameters);
55 55
         $bodyHtml = $template->renderBlock('body_html', $parameters);
56 56
         $bodyText = $template->renderBlock('body_text', $parameters);
57 57
 
Please login to merge, or discard this patch.
src/AppBundle/Util/Uuid.php 1 patch
Spacing   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -6,24 +6,24 @@
 block discarded – undo
6 6
 {
7 7
     static public function generateV4()
8 8
     {
9
-        return sprintf( '%04x%04x-%04x-%04x-%04x-%04x%04x%04x',
9
+        return sprintf('%04x%04x-%04x-%04x-%04x-%04x%04x%04x',
10 10
             // 32 bits for "time_low"
11
-            mt_rand( 0, 0xffff ), mt_rand( 0, 0xffff ),
11
+            mt_rand(0, 0xffff), mt_rand(0, 0xffff),
12 12
 
13 13
             // 16 bits for "time_mid"
14
-            mt_rand( 0, 0xffff ),
14
+            mt_rand(0, 0xffff),
15 15
 
16 16
             // 16 bits for "time_hi_and_version",
17 17
             // four most significant bits holds version number 4
18
-            mt_rand( 0, 0x0fff ) | 0x4000,
18
+            mt_rand(0, 0x0fff) | 0x4000,
19 19
 
20 20
             // 16 bits, 8 bits for "clk_seq_hi_res",
21 21
             // 8 bits for "clk_seq_low",
22 22
             // two most significant bits holds zero and one for variant DCE1.1
23
-            mt_rand( 0, 0x3fff ) | 0x8000,
23
+            mt_rand(0, 0x3fff) | 0x8000,
24 24
 
25 25
             // 48 bits for "node"
26
-            mt_rand( 0, 0xffff ), mt_rand( 0, 0xffff ), mt_rand( 0, 0xffff )
26
+            mt_rand(0, 0xffff), mt_rand(0, 0xffff), mt_rand(0, 0xffff)
27 27
         );
28 28
     }
29 29
 }
Please login to merge, or discard this patch.
src/AppBundle/Entity/Category.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -62,7 +62,7 @@
 block discarded – undo
62 62
             }
63 63
         }
64 64
 
65
-        usort($meals, function ($left, $right) {
65
+        usort($meals, function($left, $right) {
66 66
             return $left->getPosition() > $right->getPosition();
67 67
         });
68 68
 
Please login to merge, or discard this patch.
src/AppBundle/Form/Type/PriceType.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -31,7 +31,7 @@
 block discarded – undo
31 31
     {
32 32
         $resolver->setDefaults(array(
33 33
             'data_class' => Price::class,
34
-            'empty_data' => function (FormInterface $form) {
34
+            'empty_data' => function(FormInterface $form) {
35 35
                 return new Price(
36 36
                     $form->get('amount')->getData()
37 37
                 );
Please login to merge, or discard this patch.
src/AppBundle/Service/PhotoService.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -22,7 +22,7 @@
 block discarded – undo
22 22
 
23 23
     private $sizes = array(
24 24
         '300'  => array(300, 100),
25
-        '800' => array(800,  600),
25
+        '800' => array(800, 600),
26 26
     );
27 27
 
28 28
     public function __construct($uploadsDir, $uploadsUriPrefix)
Please login to merge, or discard this patch.
src/AppBundle/Form/Type/MealType.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -60,7 +60,7 @@
 block discarded – undo
60 60
             ))
61 61
         ;
62 62
 
63
-        $builder->addEventListener(FormEvents::POST_SUBMIT, function (FormEvent $event) {
63
+        $builder->addEventListener(FormEvents::POST_SUBMIT, function(FormEvent $event) {
64 64
             $form = $event->getForm();
65 65
 
66 66
             $meal = $form->getData();
Please login to merge, or discard this patch.