Completed
Push — master ( bc882c...86267b )
by Yanick
09:22
created
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/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/TaskRunnerController.php 1 patch
Unused Use Statements   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -27,10 +27,10 @@
 block discarded – undo
27 27
 use Symfony\Component\HttpFoundation\Request;
28 28
 use Symfony\Component\HttpKernel\Exception\NotAcceptableHttpException;
29 29
 use Symfony\Component\HttpKernel\Exception\NotFoundHttpException;
30
-use Tenside\Core\Util\PhpProcessSpawner;
31 30
 use Tenside\CoreBundle\Annotation\ApiDescription;
32 31
 use Tenside\Core\Task\Task;
33 32
 use Tenside\Core\Util\JsonArray;
33
+use Tenside\Core\Util\PhpProcessSpawner;
34 34
 
35 35
 /**
36 36
  * Lists and executes queued tasks.
Please login to merge, or discard this patch.
src/DependencyInjection/Factory/TensideJsonConfigFactory.php 1 patch
Unused Use Statements   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -20,9 +20,9 @@
 block discarded – undo
20 20
 
21 21
 namespace Tenside\CoreBundle\DependencyInjection\Factory;
22 22
 
23
+use Tenside\CoreBundle\Util\HomePathDeterminator;
23 24
 use Tenside\Core\Task\TaskFactoryInterface;
24 25
 use Tenside\Core\Task\TaskList;
25
-use Tenside\CoreBundle\Util\HomePathDeterminator;
26 26
 
27 27
 /**
28 28
  * This class creates a composerJson instance.
Please login to merge, or discard this patch.
src/Controller/ComposerJsonController.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -156,7 +156,7 @@
 block discarded – undo
156 156
         $errors   = str_replace(dirname($tempFile), '', $errors);
157 157
         $warnings = str_replace(dirname($tempFile), '', $warnings);
158 158
 
159
-        $lineMapper = function ($str) {
159
+        $lineMapper = function($str) {
160 160
             if (preg_match('#Parse error on line (\d+)#', $str, $match)) {
161 161
                 return ['line' => $match[1], 'msg' => $str];
162 162
             }
Please login to merge, or discard this patch.
src/Controller/AppKernelController.php 1 patch
Unused Use Statements   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -27,10 +27,10 @@
 block discarded – undo
27 27
 use Symfony\Component\HttpFoundation\Request;
28 28
 use Symfony\Component\HttpKernel\Exception\NotAcceptableHttpException;
29 29
 use Symfony\Component\HttpKernel\Exception\NotFoundHttpException;
30
-use Tenside\Core\Util\PhpProcessSpawner;
31 30
 use Tenside\CoreBundle\Annotation\ApiDescription;
32 31
 use Tenside\Core\Task\Task;
33 32
 use Tenside\Core\Util\JsonArray;
33
+use Tenside\Core\Util\PhpProcessSpawner;
34 34
 
35 35
 /**
36 36
  * Lists and executes queued tasks.
Please login to merge, or discard this patch.
src/Controller/SelfTestController.php 1 patch
Unused Use Statements   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -22,16 +22,16 @@
 block discarded – undo
22 22
 
23 23
 use Nelmio\ApiDocBundle\Annotation\ApiDoc;
24 24
 use Symfony\Component\HttpFoundation\JsonResponse;
25
-use Tenside\Core\SelfTest\Cli\SelfTestCliCanFork;
26
-use Tenside\Core\SelfTest\Cli\SelfTestCliOsChecks;
27
-use Tenside\Core\SelfTest\Php\SelfTestEnvPopulated;
28 25
 use Tenside\CoreBundle\Annotation\ApiDescription;
29 26
 use Tenside\Core\SelfTest\Cli\SelfTestCanSpawnProcesses;
30 27
 use Tenside\Core\SelfTest\Cli\SelfTestCliArguments;
28
+use Tenside\Core\SelfTest\Cli\SelfTestCliCanFork;
29
+use Tenside\Core\SelfTest\Cli\SelfTestCliOsChecks;
31 30
 use Tenside\Core\SelfTest\Cli\SelfTestCliRuntime;
32 31
 use Tenside\Core\SelfTest\Generic\SelfTestCalledViaHttps;
33 32
 use Tenside\Core\SelfTest\Generic\SelfTestFileOwnerMatches;
34 33
 use Tenside\Core\SelfTest\Php\SelfTestAllowUrlFopenEnabled;
34
+use Tenside\Core\SelfTest\Php\SelfTestEnvPopulated;
35 35
 use Tenside\Core\SelfTest\Php\SelfTestSuhosin;
36 36
 use Tenside\Core\SelfTest\SelfTest;
37 37
 
Please login to merge, or discard this patch.