Completed
Pull Request — 3.6 (#1940)
by Sander
09:43
created
src/Kunstmaan/DashboardBundle/Helper/Google/ClientHelper.php 1 patch
Doc Comments   -1 removed lines patch added patch discarded remove patch
@@ -15,7 +15,6 @@
 block discarded – undo
15 15
      * Constructor
16 16
      *
17 17
      * @param Google_Client $client
18
-     * @param ConfigHelper $configHelper
19 18
      */
20 19
     public function __construct(Google_Client $client, ChainRouter $router, $routeName)
21 20
     {
Please login to merge, or discard this patch.
src/Kunstmaan/FormBundle/Entity/AbstractFormPage.php 1 patch
Unused Use Statements   -3 removed lines patch added patch discarded remove patch
@@ -5,14 +5,11 @@
 block discarded – undo
5 5
 use Kunstmaan\NodeBundle\Controller\SlugActionInterface;
6 6
 use Kunstmaan\PagePartBundle\Helper\HasPagePartsInterface;
7 7
 use Kunstmaan\FormBundle\Helper\FormPageInterface;
8
-
9 8
 use Doctrine\ORM\Mapping as ORM;
10
-
11 9
 use Kunstmaan\NodeBundle\Entity\AbstractPage;
12 10
 use Kunstmaan\NodeBundle\Entity\NodeTranslation;
13 11
 use Kunstmaan\NodeBundle\Helper\RenderContext;
14 12
 use Kunstmaan\FormBundle\Form\AbstractFormPageAdminType;
15
-
16 13
 use Symfony\Component\Routing\RouterInterface;
17 14
 use Symfony\Component\Validator\Constraints as Assert;
18 15
 use Symfony\Component\Form\AbstractType;
Please login to merge, or discard this patch.
FormBundle/Entity/FormSubmissionFieldTypes/FileFormSubmissionField.php 1 patch
Unused Use Statements   -3 removed lines patch added patch discarded remove patch
@@ -3,9 +3,7 @@  discard block
 block discarded – undo
3 3
 namespace Kunstmaan\FormBundle\Entity\FormSubmissionFieldTypes;
4 4
 
5 5
 use Kunstmaan\FormBundle\Entity\FormSubmissionField;
6
-
7 6
 use Gedmo\Sluggable\Util\Urlizer;
8
-
9 7
 use Kunstmaan\FormBundle\Form\FileFormSubmissionType;
10 8
 use Symfony\Component\DependencyInjection\ContainerInterface;
11 9
 use Symfony\Component\Form\FormBuilderInterface;
@@ -13,7 +11,6 @@  discard block
 block discarded – undo
13 11
 use Symfony\Component\HttpFoundation\File\UploadedFile;
14 12
 use Symfony\Component\HttpFoundation\Request;
15 13
 use Symfony\Component\Validator\Constraints as Assert;
16
-
17 14
 use Doctrine\ORM\Mapping as ORM;
18 15
 
19 16
 /**
Please login to merge, or discard this patch.
FormBundle/Entity/FormSubmissionFieldTypes/TextFormSubmissionField.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -4,7 +4,6 @@
 block discarded – undo
4 4
 
5 5
 use Kunstmaan\FormBundle\Entity\FormSubmissionField;
6 6
 use Kunstmaan\FormBundle\Form\TextFormSubmissionType;
7
-
8 7
 use Doctrine\ORM\Mapping as ORM;
9 8
 
10 9
 /**
Please login to merge, or discard this patch.
src/Kunstmaan/FormBundle/EventListener/ConfigureActionsMenuListener.php 1 patch
Unused Use Statements   -2 removed lines patch added patch discarded remove patch
@@ -3,10 +3,8 @@
 block discarded – undo
3 3
 namespace Kunstmaan\FormBundle\EventListener;
4 4
 
5 5
 use Doctrine\ORM\EntityManager;
6
-
7 6
 use Kunstmaan\NodeBundle\Event\ConfigureActionMenuEvent;
8 7
 use Kunstmaan\FormBundle\Entity\AbstractFormPage;
9
-
10 8
 use Symfony\Component\Routing\RouterInterface;
11 9
 
12 10
 /**
Please login to merge, or discard this patch.
src/Kunstmaan/FormBundle/Helper/Menu/FormSubmissionsMenuAdaptor.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -6,7 +6,6 @@
 block discarded – undo
6 6
 use Kunstmaan\AdminBundle\Helper\Menu\MenuBuilder;
7 7
 use Kunstmaan\AdminBundle\Helper\Menu\MenuAdaptorInterface;
8 8
 use Kunstmaan\AdminBundle\Helper\Menu\TopMenuItem;
9
-
10 9
 use Symfony\Component\HttpFoundation\Request;
11 10
 
12 11
 /**
Please login to merge, or discard this patch.
src/Kunstmaan/GeneratorBundle/Generator/SearchPageGenerator.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -3,7 +3,6 @@
 block discarded – undo
3 3
 namespace Kunstmaan\GeneratorBundle\Generator;
4 4
 
5 5
 use Kunstmaan\GeneratorBundle\Helper\GeneratorUtils;
6
-
7 6
 use Symfony\Component\HttpKernel\Bundle\Bundle;
8 7
 use Symfony\Component\Console\Output\OutputInterface;
9 8
 use Symfony\Component\Filesystem\Filesystem;
Please login to merge, or discard this patch.
src/Kunstmaan/GeneratorBundle/Helper/CommandAssistant.php 1 patch
Doc Comments   +25 added lines patch added patch discarded remove patch
@@ -119,6 +119,9 @@  discard block
 block discarded – undo
119 119
         }
120 120
     }
121 121
 
122
+    /**
123
+     * @param \Closure $validator
124
+     */
122 125
     public function askAndValidate(
123 126
         $question,
124 127
         $validator,
@@ -139,6 +142,10 @@  discard block
 block discarded – undo
139 142
         );
140 143
     }
141 144
 
145
+    /**
146
+     * @param string $question
147
+     * @param string $defaultString
148
+     */
142 149
     public function askConfirmation(
143 150
         $question,
144 151
         $defaultString,
@@ -160,6 +167,10 @@  discard block
 block discarded – undo
160 167
         );
161 168
     }
162 169
 
170
+    /**
171
+     * @param string $question
172
+     * @param string $default
173
+     */
163 174
     public function ask($question, $default = null, array $autoComplete = null)
164 175
     {
165 176
         $askQuestion = new Question(
@@ -174,6 +185,9 @@  discard block
 block discarded – undo
174 185
         );
175 186
     }
176 187
 
188
+    /**
189
+     * @param string $question
190
+     */
177 191
     public function askSelect(
178 192
         $question,
179 193
         $choices,
@@ -212,6 +226,10 @@  discard block
 block discarded – undo
212 226
         }
213 227
     }
214 228
 
229
+    /**
230
+     * @param string $name
231
+     * @param null|string $value
232
+     */
215 233
     public function setOption($name, $value)
216 234
     {
217 235
         $this->input->setOption($name, $value);
@@ -222,6 +240,9 @@  discard block
 block discarded – undo
222 240
         return $this->input->hasOption($name);
223 241
     }
224 242
 
243
+    /**
244
+     * @param string $name
245
+     */
225 246
     public function getOption($name)
226 247
     {
227 248
         return $this->input->getOption($name);
@@ -232,6 +253,10 @@  discard block
 block discarded – undo
232 253
         return $this->input->isInteractive();
233 254
     }
234 255
 
256
+    /**
257
+     * @param string $option
258
+     * @param false $default
259
+     */
235 260
     public function getOptionOrDefault($option, $default = null)
236 261
     {
237 262
         return $this->input->hasOption($option) ? $this->input->getOption(
Please login to merge, or discard this patch.
Kunstmaan/LanguageChooserBundle/Controller/LanguageChooserController.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -4,7 +4,6 @@
 block discarded – undo
4 4
 
5 5
 use Symfony\Component\HttpFoundation\Request;
6 6
 use Symfony\Component\HttpFoundation\Response;
7
-
8 7
 use Symfony\Bundle\FrameworkBundle\Controller\Controller;
9 8
 
10 9
 class LanguageChooserController extends Controller
Please login to merge, or discard this patch.