Completed
Push — master ( 3ea68a...12b21a )
by Andreas
05:05
created
src/Controller/PackageController.php 2 patches
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.
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -574,7 +574,7 @@
 block discarded – undo
574 574
     /**
575 575
      * Load a repository containing available upgrades.
576 576
      *
577
-     * @return null|RepositoryInterface
577
+     * @return null|WritableArrayRepository
578 578
      */
579 579
     private function getUpgradeRepository()
580 580
     {
Please login to merge, or discard this patch.
src/Controller/TaskRunnerController.php 2 patches
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.
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -420,7 +420,7 @@
 block discarded – undo
420 420
      *
421 421
      * @param bool $addOutput    Flag determining if the output shall get added or not.
422 422
      *
423
-     * @param null $outputOffset The output offset to use.
423
+     * @param integer|null $outputOffset The output offset to use.
424 424
      *
425 425
      * @return array
426 426
      */
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/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.
src/Controller/AuthController.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/Security/PermissionVoter.php 2 patches
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -79,6 +79,7 @@
 block discarded – undo
79 79
 
80 80
     /**
81 81
      * {@inheritDoc}
82
+     * @param string $attribute
82 83
      */
83 84
     public function supportsAttribute($attribute)
84 85
     {
Please login to merge, or discard this patch.
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -183,8 +183,8 @@
 block discarded – undo
183 183
         $router = $this->router;
184 184
 
185 185
         $cache = $this->getConfigCacheFactory()->cache(
186
-            $this->options['cache_dir'].'/tenside_roles.php',
187
-            function (ConfigCacheInterface $cache) use ($router) {
186
+            $this->options['cache_dir'] . '/tenside_roles.php',
187
+            function(ConfigCacheInterface $cache) use ($router) {
188 188
                 $routes = $router->getRouteCollection();
189 189
                 $roles  = [];
190 190
                 foreach ($routes as $name => $route) {
Please login to merge, or discard this patch.