Completed
Push — master ( 1eb1d9...f12af0 )
by Markus
03:08
created
src/BCRM/BackendBundle/Command/SendTicketsMailCommand.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -10,7 +10,6 @@
 block discarded – undo
10 10
 use BCRM\BackendBundle\Entity\Event\Event;
11 11
 use BCRM\BackendBundle\Exception\CommandException;
12 12
 use BCRM\BackendBundle\Service\Event\SendTicketMailCommand;
13
-use Doctrine\Common\Util\Debug;
14 13
 use Symfony\Bundle\FrameworkBundle\Command\ContainerAwareCommand;
15 14
 use Symfony\Component\Console\Input\InputInterface;
16 15
 use Symfony\Component\Console\Output\OutputInterface;
Please login to merge, or discard this patch.
src/BCRM/BackendBundle/Service/Concierge.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -12,7 +12,6 @@
 block discarded – undo
12 12
 use BCRM\BackendBundle\Service\Concierge\PayRegistrationConciergeCommand;
13 13
 use BCRM\BackendBundle\Entity\PaymentRepository;
14 14
 use BCRM\BackendBundle\Entity\Event\RegistrationRepository;
15
-use Endroid\QrCode\QrCode;
16 15
 use LiteCQRS\Bus\CommandBus;
17 16
 use LiteCQRS\Bus\EventMessageBus;
18 17
 use LiteCQRS\Plugin\CRUD\Model\Commands\UpdateResourceCommand;
Please login to merge, or discard this patch.
src/BCRM/BackendBundle/Service/Mail.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -5,7 +5,6 @@
 block discarded – undo
5 5
 use BCRM\BackendBundle\Service\Mail\SendTemplateMailCommand;
6 6
 use BCRM\BackendBundle\Content\ContentReader;
7 7
 use Symfony\Bridge\Twig\TwigEngine;
8
-use Symfony\Component\Templating\TemplateReference;
9 8
 
10 9
 class Mail
11 10
 {
Please login to merge, or discard this patch.
src/BCRM/PrintBundle/Command/PrintTicketsCommand.php 1 patch
Unused Use Statements   -5 removed lines patch added patch discarded remove patch
@@ -7,13 +7,8 @@
 block discarded – undo
7 7
 
8 8
 namespace BCRM\PrintBundle\Command;
9 9
 
10
-use BCRM\BackendBundle\Entity\Event\Event;
11
-use BCRM\BackendBundle\Entity\Event\Registration;
12 10
 use BCRM\BackendBundle\Entity\Event\Ticket;
13
-use BCRM\BackendBundle\Exception\CommandException;
14
-use BCRM\BackendBundle\Service\Event\CreateTicketCommand;
15 11
 use Symfony\Bundle\FrameworkBundle\Command\ContainerAwareCommand;
16
-use Symfony\Component\Console\Input\InputArgument;
17 12
 use Symfony\Component\Console\Input\InputInterface;
18 13
 use Symfony\Component\Console\Input\InputOption;
19 14
 use Symfony\Component\Console\Output\OutputInterface;
Please login to merge, or discard this patch.
src/BCRM/WebBundle/Controller/CheckinController.php 1 patch
Unused Use Statements   -4 removed lines patch added patch discarded remove patch
@@ -13,7 +13,6 @@  discard block
 block discarded – undo
13 13
 use BCRM\BackendBundle\Entity\Event\Ticket;
14 14
 use BCRM\BackendBundle\Entity\Event\TicketRepository;
15 15
 use BCRM\BackendBundle\Service\Concierge\CheckinCommand;
16
-use BCRM\WebBundle\Content\ContentReader;
17 16
 use BCRM\WebBundle\Exception\AccesDeniedHttpException;
18 17
 use BCRM\WebBundle\Exception\BadRequestException;
19 18
 use Carbon\Carbon;
@@ -21,10 +20,7 @@  discard block
 block discarded – undo
21 20
 use Sensio\Bundle\FrameworkExtraBundle\Configuration\Template;
22 21
 use Symfony\Component\HttpFoundation\RedirectResponse;
23 22
 use Symfony\Component\HttpFoundation\Request;
24
-use Symfony\Component\HttpFoundation\Response;
25 23
 use Symfony\Component\HttpKernel\Exception\NotFoundHttpException;
26
-use Symfony\Component\Routing\RouterInterface;
27
-use Symfony\Component\Validator\Constraints\DateTime;
28 24
 
29 25
 /**
30 26
  * Manages event checkins.
Please login to merge, or discard this patch.
src/BCRM/WebBundle/Controller/ConciergeController.php 2 patches
Unused Use Statements   -5 removed lines patch added patch discarded remove patch
@@ -12,13 +12,10 @@  discard block
 block discarded – undo
12 12
 use BCRM\BackendBundle\Entity\Event\Registration;
13 13
 use BCRM\BackendBundle\Entity\Event\Ticket;
14 14
 use BCRM\BackendBundle\Entity\Event\TicketRepository;
15
-use BCRM\BackendBundle\Service\Concierge\CheckinCommand;
16 15
 use BCRM\BackendBundle\Service\Concierge\PayRegistrationConciergeCommand;
17 16
 use BCRM\BackendBundle\Service\Event\CreateTicketCommand;
18 17
 use BCRM\BackendBundle\Service\Event\RegisterCommand;
19
-use BCRM\WebBundle\Content\ContentReader;
20 18
 use BCRM\WebBundle\Exception\AccesDeniedHttpException;
21
-use BCRM\WebBundle\Exception\BadRequestException;
22 19
 use BCRM\WebBundle\Form\TicketType;
23 20
 use Carbon\Carbon;
24 21
 use LiteCQRS\Bus\CommandBus;
@@ -29,9 +26,7 @@  discard block
 block discarded – undo
29 26
 use Symfony\Component\HttpFoundation\Response;
30 27
 use Symfony\Component\HttpFoundation\Session\Flash\FlashBagInterface;
31 28
 use Symfony\Component\HttpKernel\Exception\AccessDeniedHttpException;
32
-use Symfony\Component\HttpKernel\Exception\NotFoundHttpException;
33 29
 use Symfony\Component\Routing\RouterInterface;
34
-use Symfony\Component\Validator\Constraints\DateTime;
35 30
 use Symfony\Component\Security\Core\Util\SecureRandom;
36 31
 
37 32
 /**
Please login to merge, or discard this patch.
Braces   +3 added lines, -1 removed lines patch added patch discarded remove patch
@@ -112,7 +112,9 @@
 block discarded – undo
112 112
                     Ticket::DAY_SATURDAY => $formData->getSaturday(),
113 113
                     Ticket::DAY_SUNDAY   => $formData->getSunday(),
114 114
                 ) as $day => $want) {
115
-                if (!$want) continue;
115
+                if (!$want) {
116
+                    continue;
117
+                }
116 118
                 $ticketCommand               = new CreateTicketCommand();
117 119
                 $ticketCommand->day          = $day;
118 120
                 $ticketCommand->event        = $event;
Please login to merge, or discard this patch.
src/BCRM/WebBundle/Controller/EventController.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -18,7 +18,6 @@
 block discarded – undo
18 18
 use BCRM\BackendBundle\Service\Event\UnregisterCommand;
19 19
 use BCRM\WebBundle\Content\ContentReader;
20 20
 use BCRM\WebBundle\Form\EventRegisterModel;
21
-use BCRM\WebBundle\Form\EventRegisterType;
22 21
 use BCRM\WebBundle\Form\EventUnregisterType;
23 22
 use Carbon\Carbon;
24 23
 use Dothiv\Bundle\MoneyFormatBundle\Service\MoneyFormatServiceInterface;
Please login to merge, or discard this patch.
src/BCRM/WebBundle/Controller/StatsController.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -7,7 +7,6 @@
 block discarded – undo
7 7
 
8 8
 namespace BCRM\WebBundle\Controller;
9 9
 
10
-use BCRM\BackendBundle\Entity\Event\Event;
11 10
 use BCRM\BackendBundle\Entity\Event\EventRepository;
12 11
 use BCRM\BackendBundle\Entity\Event\Registration;
13 12
 use BCRM\BackendBundle\Entity\Event\Ticket;
Please login to merge, or discard this patch.
src/BCRM/BackendBundle/Command/CreateTicketsCommand.php 1 patch
Braces   +3 added lines, -1 removed lines patch added patch discarded remove patch
@@ -67,7 +67,9 @@
 block discarded – undo
67 67
 
68 68
     protected function logVerbose($msg)
69 69
     {
70
-        if ($this->output->getVerbosity() < OutputInterface::VERBOSITY_VERBOSE) return;
70
+        if ($this->output->getVerbosity() < OutputInterface::VERBOSITY_VERBOSE) {
71
+            return;
72
+        }
71 73
         $this->output->writeln($msg);
72 74
     }
73 75
 }
Please login to merge, or discard this patch.