Completed
Push — master ( 5b7ff5...aa63f9 )
by Stepan
16:48 queued 07:41
created
src/Application/Bundle/DefaultBundle/Controller/UploadController.php 1 patch
Indentation   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -36,10 +36,10 @@
 block discarded – undo
36 36
 
37 37
         $fileConstraint = new Collection(
38 38
             [
39
-                 'file' => [
40
-                     new NotBlank(),
41
-                     new Image(),
42
-                 ],
39
+                    'file' => [
40
+                        new NotBlank(),
41
+                        new Image(),
42
+                    ],
43 43
             ]
44 44
         );
45 45
 
Please login to merge, or discard this patch.
src/Application/Bundle/DefaultBundle/Controller/PaymentController.php 1 patch
Spacing   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -402,8 +402,7 @@
 block discarded – undo
402 402
         if ($payment->getTickets()->count() > 0) {
403 403
             if (0 === (int) $payment->getAmount()) {
404 404
                 $formAction = $payment->getFwdaysAmount() > 0 ?
405
-                    $this->generateUrl('event_pay_by_bonus', ['eventSlug' => $event->getSlug()]) :
406
-                    $this->generateUrl('event_pay_by_promocode', ['eventSlug' => $event->getSlug()]);
405
+                    $this->generateUrl('event_pay_by_bonus', ['eventSlug' => $event->getSlug()]) : $this->generateUrl('event_pay_by_promocode', ['eventSlug' => $event->getSlug()]);
407 406
                 $byeBtnCaption = $this->get('translator')->trans('ticket.status.get');
408 407
             } else {
409 408
                 $payType = 'wayforpay';
Please login to merge, or discard this patch.
src/Application/Bundle/DefaultBundle/Controller/AdminController.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -553,7 +553,7 @@
 block discarded – undo
553 553
             'Content-Disposition' => sprintf('attachment; filename="%s"', $filename),
554 554
             'Content-Type' => 'text/csv',
555 555
         ];
556
-        $callback = function () use ($users) {
556
+        $callback = function() use ($users) {
557 557
             $usersFile = \fopen('php://output', 'w');
558 558
             foreach ($users as $fields) {
559 559
                 \fputcsv($usersFile, $fields);
Please login to merge, or discard this patch.
web/config.php 1 patch
Braces   +9 added lines, -3 removed lines patch added patch discarded remove patch
@@ -56,7 +56,10 @@  discard block
 block discarded – undo
56 56
                 <?php if (count($minorProblems)): ?>
57 57
                 <h2>Recommendations</h2>
58 58
                 <p>
59
-                    <?php if (count($majorProblems)): ?>Additionally, to<?php else: ?>To<?php endif; ?> enhance your Symfony experience,
59
+                    <?php if (count($majorProblems)): ?>Additionally, to<?php else {
60
+    : ?>To<?php endif;
61
+}
62
+?> enhance your Symfony experience,
60 63
                     it’s recommended that you fix the following:
61 64
                 </p>
62 65
                 <ol>
@@ -70,9 +73,12 @@  discard block
 block discarded – undo
70 73
                 <p id="phpini">*
71 74
                     <?php if ($symfonyRequirements->getPhpIniConfigPath()): ?>
72 75
                         Changes to the <strong>php.ini</strong> file must be done in "<strong><?php echo $symfonyRequirements->getPhpIniConfigPath() ?></strong>".
73
-                        <?php else: ?>
76
+                        <?php else {
77
+    : ?>
74 78
                         To change settings, create a "<strong>php.ini</strong>".
75
-                        <?php endif; ?>
79
+                        <?php endif;
80
+}
81
+?>
76 82
                 </p>
77 83
                 <?php endif; ?>
78 84
 
Please login to merge, or discard this patch.