Completed
Push — l10n_master ( db8be8...385ee4 )
by Kunstmaan
609:45 queued 594:45
created
Tests/unit/AdminList/FormSubmissionExportListConfiguratorTest.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -39,7 +39,7 @@
 block discarded – undo
39 39
     }
40 40
 
41 41
     /**
42
-     * @return \Doctrine\ORM\EntityManager
42
+     * @return \PHPUnit\Framework\MockObject\MockObject
43 43
      */
44 44
     protected function getMockedEntityManager()
45 45
     {
Please login to merge, or discard this patch.
TranslatorBundle/Service/Command/Importer/ImportCommandHandler.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -258,6 +258,9 @@
 block discarded – undo
258 258
         $this->importer = $importer;
259 259
     }
260 260
 
261
+    /**
262
+     * @param ImportCommand $importCommand
263
+     */
261 264
     private function importSf4TranslationFiles($importCommand)
262 265
     {
263 266
         $finder = $this->translationFileExplorer->find($this->kernel->getProjectDir(), $this->determineLocalesToImport($importCommand), 'translations');
Please login to merge, or discard this patch.
Kunstmaan/NodeSearchBundle/EventListener/NodeIndexUpdateEventListener.php 1 patch
Doc Comments   +4 added lines patch added patch discarded remove patch
@@ -29,6 +29,10 @@
 block discarded – undo
29 29
     /** @var array */
30 30
     private $entityChangeSet;
31 31
 
32
+    /**
33
+     * @param \PHPUnit\Framework\MockObject\MockObject $nodePagesConfiguration
34
+     * @param \PHPUnit\Framework\MockObject\MockObject $em
35
+     */
32 36
     public function __construct(/* NodePagesConfiguration */
33 37
         $nodePagesConfiguration, /* EntityManagerInterface */
34 38
         $em = null)
Please login to merge, or discard this patch.
src/Kunstmaan/GeneratorBundle/Command/InstallCommand.php 1 patch
Doc Comments   +8 added lines, -1 removed lines patch added patch discarded remove patch
@@ -36,7 +36,7 @@  discard block
 block discarded – undo
36 36
     private $shouldStop = false;
37 37
 
38 38
     /**
39
-     * @param string $rootDir
39
+     * @param string $projectDir
40 40
      */
41 41
     public function __construct(string $projectDir)
42 42
     {
@@ -63,6 +63,10 @@  discard block
 block discarded – undo
63 63
             );
64 64
     }
65 65
 
66
+    /**
67
+     * @param InputInterface $input
68
+     * @param OutputInterface $output
69
+     */
66 70
     private function initAssistant($input, $output)
67 71
     {
68 72
         if (is_null($this->assistant)) {
@@ -161,6 +165,9 @@  discard block
 block discarded – undo
161 165
         $this->assistant->writeSection('PRO TIP: If you like to use the default frontend setup, run the buildUI.sh script or run the commands separate to compile the frontend assets. ', 'bg=blue;fg=white');
162 166
     }
163 167
 
168
+    /**
169
+     * @param string $command
170
+     */
164 171
     protected function executeCommand(OutputInterface $output, $command, array $options = [])
165 172
     {
166 173
         $options = array_merge(
Please login to merge, or discard this patch.
src/Kunstmaan/TranslatorBundle/Model/Translation/TranslationGroup.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -103,7 +103,7 @@
 block discarded – undo
103 103
     }
104 104
 
105 105
     /**
106
-     * @return mixed
106
+     * @return string
107 107
      */
108 108
     public function getId()
109 109
     {
Please login to merge, or discard this patch.
Kunstmaan/GeneratorBundle/Tests/unit/Generator/DefaultSiteGeneratorTest.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -40,6 +40,9 @@
 block discarded – undo
40 40
         unlink(__DIR__ . '/../../_data/' . $basePath . 'Exception/error503.html.twig');
41 41
     }
42 42
 
43
+    /**
44
+     * @param string $path
45
+     */
43 46
     protected function getBundle($path)
44 47
     {
45 48
         $bundle = $this->createMock('Symfony\Component\HttpKernel\Bundle\BundleInterface');
Please login to merge, or discard this patch.
src/Kunstmaan/TranslatorBundle/Service/Translator/CacheValidator.php 1 patch
Doc Comments   +6 added lines patch added patch discarded remove patch
@@ -74,6 +74,9 @@  discard block
 block discarded – undo
74 74
         return null;
75 75
     }
76 76
 
77
+    /**
78
+     * @param string $cacheDir
79
+     */
77 80
     public function setCacheDir($cacheDir)
78 81
     {
79 82
         $this->cacheDir = $cacheDir;
@@ -84,6 +87,9 @@  discard block
 block discarded – undo
84 87
         $this->logger = $logger;
85 88
     }
86 89
 
90
+    /**
91
+     * @param \PHPUnit\Framework\MockObject\MockObject $translationRepository
92
+     */
87 93
     public function setTranslationRepository($translationRepository)
88 94
     {
89 95
         $this->translationRepository = $translationRepository;
Please login to merge, or discard this patch.
Kunstmaan/MultiDomainBundle/Tests/unit/Helper/DomainConfigurationTest.php 1 patch
Doc Comments   +6 added lines patch added patch discarded remove patch
@@ -372,6 +372,9 @@  discard block
 block discarded – undo
372 372
         return Request::create('http://single-alias.tld/');
373 373
     }
374 374
 
375
+    /**
376
+     * @param string $uri
377
+     */
375 378
     private function getRequestWithOverride($uri)
376 379
     {
377 380
         $session = new Session(new MockArraySessionStorage());
@@ -385,6 +388,9 @@  discard block
 block discarded – undo
385 388
         return $request;
386 389
     }
387 390
 
391
+    /**
392
+     * @param Request $request
393
+     */
388 394
     private function getDomainConfiguration($request)
389 395
     {
390 396
         $hostMap = array(
Please login to merge, or discard this patch.
MultiDomainBundle/Tests/unit/Router/DomainBasedLocaleRouterTest.php 1 patch
Doc Comments   +5 added lines, -2 removed lines patch added patch discarded remove patch
@@ -178,8 +178,8 @@  discard block
 block discarded – undo
178 178
     }
179 179
 
180 180
     /**
181
-     * @param $request
182
-     * @param null $nodeTranslation
181
+     * @param Request $request
182
+     * @param NodeTranslation $nodeTranslation
183 183
      *
184 184
      * @return Container
185 185
      */
@@ -241,6 +241,9 @@  discard block
 block discarded – undo
241 241
         return Request::create($url);
242 242
     }
243 243
 
244
+    /**
245
+     * @param NodeTranslation $nodeTranslation
246
+     */
244 247
     private function getEntityManager($nodeTranslation = null)
245 248
     {
246 249
         $em = $this->createMock('Doctrine\ORM\EntityManagerInterface');
Please login to merge, or discard this patch.