Completed
Push — master ( 6c8ec1...599ba3 )
by Christian
03:00
created
src/DependencyInjection/Factory/TensideJsonConfigFactory.php 1 patch
Unused Use Statements   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -20,8 +20,8 @@
 block discarded – undo
20 20
 
21 21
 namespace Tenside\CoreBundle\DependencyInjection\Factory;
22 22
 
23
-use Tenside\Core\Config\TensideJsonConfig;
24 23
 use Tenside\CoreBundle\Util\HomePathDeterminator;
24
+use Tenside\Core\Config\TensideJsonConfig;
25 25
 
26 26
 /**
27 27
  * This class creates a config instance.
Please login to merge, or discard this patch.
src/Security/JWTAuthenticator.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -66,7 +66,7 @@  discard block
 block discarded – undo
66 66
      *
67 67
      * @param UserInformationInterface $userData The user data to issue a token for.
68 68
      *
69
-     * @param int|null                 $lifetime The lifetime in seconds this token shall be valid.
69
+     * @param integer                 $lifetime The lifetime in seconds this token shall be valid.
70 70
      *                                           Use null for no limit.
71 71
      *
72 72
      * @return string
@@ -185,7 +185,7 @@  discard block
 block discarded – undo
185 185
      *
186 186
      * @param string $jwt The jwt as string.
187 187
      *
188
-     * @return object
188
+     * @return string
189 189
      *
190 190
      * @throws \UnexpectedValueException When the token does not match the local id.
191 191
      */
Please login to merge, or discard this patch.
src/Controller/VersionConstraintController.php 1 patch
Unused Use Statements   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -25,8 +25,8 @@
 block discarded – undo
25 25
 use Symfony\Bundle\FrameworkBundle\Controller\Controller;
26 26
 use Symfony\Component\HttpFoundation\JsonResponse;
27 27
 use Symfony\Component\HttpFoundation\Request;
28
-use Tenside\Core\Util\JsonArray;
29 28
 use Tenside\CoreBundle\Annotation\ApiDescription;
29
+use Tenside\Core\Util\JsonArray;
30 30
 
31 31
 /**
32 32
  * Validation of version constraints.
Please login to merge, or discard this patch.
src/Controller/TaskRunnerController.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -414,7 +414,7 @@
 block discarded – undo
414 414
     /**
415 415
      * Retrieve the passed environment variables from the current session and return them.
416 416
      *
417
-     * @param array $names The names of the environment variables to inherit.
417
+     * @param string[] $names The names of the environment variables to inherit.
418 418
      *
419 419
      * @return array
420 420
      */
Please login to merge, or discard this patch.
src/Controller/PackageController.php 1 patch
Unused Use Statements   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -27,11 +27,11 @@
 block discarded – undo
27 27
 use Symfony\Component\HttpFoundation\Request;
28 28
 use Symfony\Component\HttpKernel\Exception\NotAcceptableHttpException;
29 29
 use Symfony\Component\Routing\Generator\UrlGeneratorInterface;
30
+use Tenside\CoreBundle\Annotation\ApiDescription;
30 31
 use Tenside\CoreBundle\Security\UserInformation;
31 32
 use Tenside\CoreBundle\Security\UserInformationInterface;
32 33
 use Tenside\Core\Task\Composer\InstallTask;
33 34
 use Tenside\Core\Util\JsonArray;
34
-use Tenside\CoreBundle\Annotation\ApiDescription;
35 35
 
36 36
 /**
37 37
  * Controller for manipulating the composer.json file.
Please login to merge, or discard this patch.
src/Controller/ComposerJsonController.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -158,13 +158,13 @@
 block discarded – undo
158 158
 
159 159
         return [
160 160
             'errors'   => array_map(
161
-                function ($str) {
161
+                function($str) {
162 162
                     return ['line' => 0, 'msg' => $str];
163 163
                 },
164 164
                 $errors
165 165
             ),
166 166
             'warnings' => array_map(
167
-                function ($str) {
167
+                function($str) {
168 168
                     return ['line' => 0, 'msg' => $str];
169 169
                 },
170 170
                 $warnings
Please login to merge, or discard this patch.