Completed
Push — master ( b83ce7...b701e2 )
by Markus
03:20
created
src/BCRM/BackendBundle/Command/CreateTicketsCommand.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -65,6 +65,9 @@
 block discarded – undo
65 65
         $commandBus->handle($command);
66 66
     }
67 67
 
68
+    /**
69
+     * @param string $msg
70
+     */
68 71
     protected function logVerbose($msg)
69 72
     {
70 73
         if ($this->output->getVerbosity() < OutputInterface::VERBOSITY_VERBOSE) return;
Please login to merge, or discard this patch.
src/BCRM/BackendBundle/Content/FileContentReader.php 1 patch
Doc Comments   +9 added lines, -1 removed lines patch added patch discarded remove patch
@@ -44,7 +44,7 @@  discard block
 block discarded – undo
44 44
     }
45 45
 
46 46
     /**
47
-     * @param $path
47
+     * @param string $path
48 48
      *
49 49
      * @return \SplFileInfo
50 50
      */
@@ -71,6 +71,9 @@  discard block
 block discarded – undo
71 71
         return $c;
72 72
     }
73 73
 
74
+    /**
75
+     * @param string $markdown
76
+     */
74 77
     protected function readProperties($markdown)
75 78
     {
76 79
         $properties = array();
@@ -81,6 +84,11 @@  discard block
 block discarded – undo
81 84
         return $properties;
82 85
     }
83 86
 
87
+    /**
88
+     * @param string $markdown
89
+     *
90
+     * @return string
91
+     */
84 92
     protected function removeProperties($markdown)
85 93
     {
86 94
         return preg_replace(static::PROPERTIES_MATCH, '', $markdown);
Please login to merge, or discard this patch.
src/BCRM/BackendBundle/Entity/Event/Ticket.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -251,7 +251,7 @@
 block discarded – undo
251 251
     }
252 252
 
253 253
     /**
254
-     * @return \DateTime|null
254
+     * @return boolean
255 255
      */
256 256
     public function getCheckinTime()
257 257
     {
Please login to merge, or discard this patch.
src/BCRM/BackendBundle/Service/Concierge.php 1 patch
Doc Comments   -1 removed lines patch added patch discarded remove patch
@@ -34,7 +34,6 @@
 block discarded – undo
34 34
 
35 35
     /**
36 36
      * @param CommandBus             $commandBus
37
-     * @param RouterInterface        $router
38 37
      * @param PaymentRepository      $paymentRepo
39 38
      * @param RegistrationRepository $registrationRepo
40 39
      */
Please login to merge, or discard this patch.
src/BCRM/WebBundle/Content/PageContentReader.php 2 patches
Doc Comments   +7 added lines, -1 removed lines patch added patch discarded remove patch
@@ -79,6 +79,12 @@  discard block
 block discarded – undo
79 79
         return $page;
80 80
     }
81 81
 
82
+    /**
83
+     * @param string $html
84
+     * @param string $page
85
+     *
86
+     * @return string
87
+     */
82 88
     protected function fixLinks($html, $page)
83 89
     {
84 90
         if (!preg_match_all('/src="([^"]+)"/', $html, $matches, PREG_SET_ORDER)) return $html;
@@ -91,7 +97,7 @@  discard block
 block discarded – undo
91 97
     }
92 98
 
93 99
     /**
94
-     * @param $path
100
+     * @param string $path
95 101
      *
96 102
      * @return string
97 103
      * @see http://www.php.net/manual/en/function.realpath.php#81935
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -111,7 +111,7 @@
 block discarded – undo
111 111
     {
112 112
         $dir        = dirname($file->getPathname()) . DIRECTORY_SEPARATOR;
113 113
         $contentdir = $this->contentDir->getPathname() . DIRECTORY_SEPARATOR;
114
-        return array_map(function ($entry) use ($contentdir) {
114
+        return array_map(function($entry) use ($contentdir) {
115 115
             $entry = str_replace($contentdir, '', $entry);
116 116
             return $entry;
117 117
         }, glob($dir . '*.md'));
Please login to merge, or discard this patch.
src/BCRM/BackendBundle/Command/MailChimpUpdateParticipantsListCommand.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -105,7 +105,7 @@
 block discarded – undo
105 105
      */
106 106
     protected function toBatch(ArrayCollection $emails, $deep = true)
107 107
     {
108
-        return $emails->map(function ($email) use($deep) {
108
+        return $emails->map(function($email) use($deep) {
109 109
             return array(
110 110
                 'email'      => $deep ? array('email' => $email) : $email,
111 111
                 'email_type' => 'html'
Please login to merge, or discard this patch.
src/BCRM/BackendBundle/DependencyInjection/BCRMBackendExtension.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -25,7 +25,7 @@
 block discarded – undo
25 25
         $configuration = new Configuration();
26 26
         $config = $this->processConfiguration($configuration, $configs);
27 27
 
28
-        $loader = new Loader\XmlFileLoader($container, new FileLocator(__DIR__.'/../Resources/config'));
28
+        $loader = new Loader\XmlFileLoader($container, new FileLocator(__DIR__ . '/../Resources/config'));
29 29
         $loader->load('services.xml');
30 30
         $loader->load('persistence.xml');
31 31
     }
Please login to merge, or discard this patch.
src/BCRM/BackendBundle/Service/Event.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -318,7 +318,7 @@
 block discarded – undo
318 318
         $payment              = $event->payment;
319 319
         $registrationOptional = $this->registrationRepo->findByUuid($payment->getPayload()->get('item_number'));
320 320
         if ($registrationOptional->isEmpty()) {
321
-            Option::fromValue($this->logger)->map(function (LoggerInterface $logger) use ($payment) {
321
+            Option::fromValue($this->logger)->map(function(LoggerInterface $logger) use ($payment) {
322 322
                 $logger->alert(sprintf('No registration found with uuid "%s"', $payment->getPayload()->get('item_number')), array($payment));
323 323
             });
324 324
             return;
Please login to merge, or discard this patch.
src/BCRM/BackendBundle/Service/Mail.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
         $template      = $this->cr->getContent($tplIdentifier);
56 56
         $templateData  = $command->templateData;
57 57
         if ($command->image !== null) {
58
-            $templateData['image'] = $message->embed(\Swift_Image::fromPath($command->image));;
58
+            $templateData['image'] = $message->embed(\Swift_Image::fromPath($command->image)); ;
59 59
         }
60 60
 
61 61
         // Subject
Please login to merge, or discard this patch.