GitHub Access Token became invalid

It seems like the GitHub access token used for retrieving details about this repository from GitHub became invalid. This might prevent certain types of inspections from being run (in particular, everything related to pull requests).
Please ask an admin of your repository to re-new the access token on this website.
Completed
Push — master ( 504448...a39841 )
by
unknown
03:39
created
src/Workflow/Composer/Diagnose.php 3 patches
Unused Use Statements   -2 removed lines patch added patch discarded remove patch
@@ -12,8 +12,6 @@
 block discarded – undo
12 12
  */
13 13
 
14 14
 namespace Netresearch\Kite\Workflow\Composer;
15
-use Netresearch\Kite\Exception;
16
-
17 15
 use Netresearch\Kite\Workflow;
18 16
 
19 17
 /**
Please login to merge, or discard this patch.
Switch Indentation   +61 added lines, -61 removed lines patch added patch discarded remove patch
@@ -189,25 +189,25 @@  discard block
 block discarded – undo
189 189
             )
190 190
         );
191 191
         switch ($fix) {
192
-        case 1:
193
-            $this->git('add', $package->path, array('N' => true, 'A' => true));
194
-            $this->console->output('');
195
-            $this->git('diff', $package->path, 'HEAD', array('tty' => true));
196
-            $this->console->output('');
197
-            $this->fixUnstagedChanges($package);
198
-            break;
199
-        case 2:
200
-            $this->git('reset', $package->path, array('hard' => true));
201
-            $this->git('clean', $package->path, array('i' => true, 'd' => true), array('tty' => true));
202
-            break;
203
-        case 3:
204
-            $this->git('reset', $package->path);
205
-            $args = 'save -u';
206
-            if ($message = $this->answer('Message for stash:')) {
207
-                $args .= ' ' . escapeshellarg($message);
208
-            }
209
-            $this->git('stash', $package->path, $args);
210
-            break;
192
+            case 1:
193
+                $this->git('add', $package->path, array('N' => true, 'A' => true));
194
+                $this->console->output('');
195
+                $this->git('diff', $package->path, 'HEAD', array('tty' => true));
196
+                $this->console->output('');
197
+                $this->fixUnstagedChanges($package);
198
+                break;
199
+            case 2:
200
+                $this->git('reset', $package->path, array('hard' => true));
201
+                $this->git('clean', $package->path, array('i' => true, 'd' => true), array('tty' => true));
202
+                break;
203
+            case 3:
204
+                $this->git('reset', $package->path);
205
+                $args = 'save -u';
206
+                if ($message = $this->answer('Message for stash:')) {
207
+                    $args .= ' ' . escapeshellarg($message);
208
+                }
209
+                $this->git('stash', $package->path, $args);
210
+                break;
211 211
         }
212 212
     }
213 213
 
@@ -265,24 +265,24 @@  discard block
 block discarded – undo
265 265
             $fixes[3] = 'Push with <comment>--force</comment>';
266 266
         }
267 267
         switch ($this->selectFixes($fixes)) {
268
-        case 1:
269
-            $this->gitRevDiff($package, '@\{u\}', 'Remote', 'Local');
270
-            $this->fixRemoteSynchronicity($package);
271
-            break;
272
-        case 3:
273
-            $commands = array('push');
274
-            $options = '--force';
275
-        case 2:
276
-            foreach ($commands as $command) {
277
-                $pck = "<comment>{$package->name}</comment>";
278
-                $this->console->output($msg = ucfirst($command) . "ing $pck...", false);
279
-                $this->git($command, $package->path, isset($options) ? $options : null);
280
-                $this->console->output(
281
-                    str_repeat(chr(8), strlen(strip_tags($msg)))
282
-                    . "<fg=green>Sucessfully {$command}ed $pck</>"
283
-                );
284
-            }
285
-            break;
268
+            case 1:
269
+                $this->gitRevDiff($package, '@\{u\}', 'Remote', 'Local');
270
+                $this->fixRemoteSynchronicity($package);
271
+                break;
272
+            case 3:
273
+                $commands = array('push');
274
+                $options = '--force';
275
+            case 2:
276
+                foreach ($commands as $command) {
277
+                    $pck = "<comment>{$package->name}</comment>";
278
+                    $this->console->output($msg = ucfirst($command) . "ing $pck...", false);
279
+                    $this->git($command, $package->path, isset($options) ? $options : null);
280
+                    $this->console->output(
281
+                        str_repeat(chr(8), strlen(strip_tags($msg)))
282
+                        . "<fg=green>Sucessfully {$command}ed $pck</>"
283
+                    );
284
+                }
285
+                break;
286 286
         }
287 287
     }
288 288
 
@@ -371,19 +371,19 @@  discard block
 block discarded – undo
371 371
             }
372 372
         }
373 373
         switch ($this->selectFixes($actions)) {
374
-        case 1:
375
-            $this->gitRevDiff($package, $package->requiredBranch, $requiredConstraint, $currentConstraint);
376
-            $this->fixRequirementsMatch($package);
377
-            break;
378
-        case 2:
379
-            $this->checkoutPackage($package, $package->requiredBranch);
380
-            $this->reloadRequires($package);
381
-            break;
382
-        case 3:
383
-            foreach ($package->unsatisfiedDependentPackages as $dependentPackage) {
384
-                $this->rewriteRequirement($dependentPackage, $package->name, $currentConstraint);
385
-            }
386
-            break;
374
+            case 1:
375
+                $this->gitRevDiff($package, $package->requiredBranch, $requiredConstraint, $currentConstraint);
376
+                $this->fixRequirementsMatch($package);
377
+                break;
378
+            case 2:
379
+                $this->checkoutPackage($package, $package->requiredBranch);
380
+                $this->reloadRequires($package);
381
+                break;
382
+            case 3:
383
+                foreach ($package->unsatisfiedDependentPackages as $dependentPackage) {
384
+                    $this->rewriteRequirement($dependentPackage, $package->name, $currentConstraint);
385
+                }
386
+                break;
387 387
         }
388 388
     }
389 389
 
@@ -438,17 +438,17 @@  discard block
 block discarded – undo
438 438
         );
439 439
 
440 440
         switch ($fix) {
441
-        case 1:
442
-            $this->gitRevDiff($package, $package->source->reference, 'Locked', 'Current');
443
-            $this->fixDivergeFromLock($package);
444
-            break;
445
-        case 2:
446
-            $this->composerUpdateRequired = true;
447
-            break;
448
-        case 3:
449
-            $this->git('checkout', $package->path, $package->source->reference);
450
-            $this->reloadRequires($package);
451
-            break;
441
+            case 1:
442
+                $this->gitRevDiff($package, $package->source->reference, 'Locked', 'Current');
443
+                $this->fixDivergeFromLock($package);
444
+                break;
445
+            case 2:
446
+                $this->composerUpdateRequired = true;
447
+                break;
448
+            case 3:
449
+                $this->git('checkout', $package->path, $package->source->reference);
450
+                $this->reloadRequires($package);
451
+                break;
452 452
         }
453 453
     }
454 454
 
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -60,7 +60,7 @@
 block discarded – undo
60 60
     public function assemble()
61 61
     {
62 62
         $this->callback(
63
-            function () {
63
+            function() {
64 64
                 $this->findLoaders();
65 65
                 $file = $this->get('file');
66 66
                 $this->console->getFilesystem()->ensureDirectoryExists(dirname($file));
Please login to merge, or discard this patch.
src/Workflow/Composer/Merge.php 3 patches
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -14,7 +14,6 @@
 block discarded – undo
14 14
 
15 15
 namespace Netresearch\Kite\Workflow\Composer;
16 16
 use Netresearch\Kite\Service\Composer\Package;
17
-use Netresearch\Kite\Task;
18 17
 use Netresearch\Kite\Workflow;
19 18
 
20 19
 
Please login to merge, or discard this patch.
Indentation   +11 added lines, -11 removed lines patch added patch discarded remove patch
@@ -1,16 +1,16 @@
 block discarded – undo
1 1
 <?php
2 2
 /**
3
- * See class comment
4
- *
5
- * PHP Version 5
6
- *
7
- * @category   Netresearch
8
- * @package    Netresearch\Kite\Workflow
9
- * @subpackage Composer
10
- * @author     Christian Opitz <[email protected]>
11
- * @license    http://www.netresearch.de Netresearch Copyright
12
- * @link       http://www.netresearch.de
13
- */
3
+     * See class comment
4
+     *
5
+     * PHP Version 5
6
+     *
7
+     * @category   Netresearch
8
+     * @package    Netresearch\Kite\Workflow
9
+     * @subpackage Composer
10
+     * @author     Christian Opitz <[email protected]>
11
+     * @license    http://www.netresearch.de Netresearch Copyright
12
+     * @link       http://www.netresearch.de
13
+     */
14 14
 
15 15
 namespace Netresearch\Kite\Workflow\Composer;
16 16
 use Netresearch\Kite\Service\Composer\Package;
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -60,7 +60,7 @@
 block discarded – undo
60 60
     public function assemble()
61 61
     {
62 62
         $this->callback(
63
-            function () {
63
+            function() {
64 64
                 $this->findLoaders();
65 65
                 $file = $this->get('file');
66 66
                 $this->console->getFilesystem()->ensureDirectoryExists(dirname($file));
Please login to merge, or discard this patch.
src/Workflow/Deployment.php 3 patches
Unused Use Statements   -3 removed lines patch added patch discarded remove patch
@@ -14,10 +14,7 @@
 block discarded – undo
14 14
 
15 15
 namespace Netresearch\Kite\Workflow;
16 16
 use Netresearch\Kite\Task;
17
-
18 17
 use Netresearch\Kite\Workflow;
19
-use Netresearch\Kite\Exception;
20
-
21 18
 use Symfony\Component\Console\Input\InputOption;
22 19
 
23 20
 /**
Please login to merge, or discard this patch.
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -197,7 +197,7 @@  discard block
 block discarded – undo
197 197
         $sub = $this->iterate('{nodes}', 'node');
198 198
         $sub->message('<step>Activating ' . ($this->release ? 'new' : 'latest') . ' release</step>');
199 199
         $sub->callback(
200
-            function (Task\IterateTask $iterator) {
200
+            function(Task\IterateTask $iterator) {
201 201
                 $links = $iterator->remoteShell('echo "`readlink previous`;`readlink current`;`readlink next`"', '{node.deployPath}');
202 202
                 list($previous, $current, $next) = explode(';', $links);
203 203
 
@@ -252,7 +252,7 @@  discard block
 block discarded – undo
252 252
         $sub = $this->iterate('{nodes}', 'node');
253 253
         $sub->message('<step>Restoring previous release</step>');
254 254
         $sub->callback(
255
-            function (Task\IterateTask $iterator) use (&$firstPreviousRelease) {
255
+            function(Task\IterateTask $iterator) use (&$firstPreviousRelease) {
256 256
                 $links = $iterator->remoteShell('echo "`readlink previous`;`readlink current`;`readlink next`"', '{node.deployPath}');
257 257
                 list($previous, $current, $next) = explode(';', $links);
258 258
                 if (!$previous) {
@@ -292,7 +292,7 @@  discard block
 block discarded – undo
292 292
         $sub = $this->iterate('{shared}', array('type' => 'entries'));
293 293
         $sub->message('<step>Linking shared resources</step>');
294 294
         $sub->callback(
295
-            function (Task\IterateTask $iterator) {
295
+            function(Task\IterateTask $iterator) {
296 296
                 $type = $iterator->get('type');
297 297
                 if (!in_array($type, array('dirs', 'files'), true)) {
298 298
                     $iterator->doExit('shared may only contain keys "dirs" or "files"', 1);
Please login to merge, or discard this patch.
Indentation   +11 added lines, -11 removed lines patch added patch discarded remove patch
@@ -1,16 +1,16 @@
 block discarded – undo
1 1
 <?php
2 2
 /**
3
- * See class comment
4
- *
5
- * PHP Version 5
6
- *
7
- * @category   Netresearch
8
- * @package    Netresearch\Kite
9
- * @subpackage Workflow
10
- * @author     Christian Opitz <[email protected]>
11
- * @license    http://www.netresearch.de Netresearch Copyright
12
- * @link       http://www.netresearch.de
13
- */
3
+     * See class comment
4
+     *
5
+     * PHP Version 5
6
+     *
7
+     * @category   Netresearch
8
+     * @package    Netresearch\Kite
9
+     * @subpackage Workflow
10
+     * @author     Christian Opitz <[email protected]>
11
+     * @license    http://www.netresearch.de Netresearch Copyright
12
+     * @link       http://www.netresearch.de
13
+     */
14 14
 
15 15
 namespace Netresearch\Kite\Workflow;
16 16
 use Netresearch\Kite\Service\Factory;
Please login to merge, or discard this patch.
src/Workflow/StageSelect.php 3 patches
Unused Use Statements   -3 removed lines patch added patch discarded remove patch
@@ -13,12 +13,9 @@
 block discarded – undo
13 13
  */
14 14
 
15 15
 namespace Netresearch\Kite\Workflow;
16
-use Netresearch\Kite\Service\Factory;
17 16
 use Netresearch\Kite\Task;
18
-
19 17
 use Netresearch\Kite\Workflow;
20 18
 use Netresearch\Kite\Exception;
21
-
22 19
 use Symfony\Component\Console\Output\OutputInterface;
23 20
 
24 21
 /**
Please login to merge, or discard this patch.
Indentation   +11 added lines, -11 removed lines patch added patch discarded remove patch
@@ -1,16 +1,16 @@
 block discarded – undo
1 1
 <?php
2 2
 /**
3
- * See class comment
4
- *
5
- * PHP Version 5
6
- *
7
- * @category   Netresearch
8
- * @package    Netresearch\Kite
9
- * @subpackage Workflow
10
- * @author     Christian Opitz <[email protected]>
11
- * @license    http://www.netresearch.de Netresearch Copyright
12
- * @link       http://www.netresearch.de
13
- */
3
+     * See class comment
4
+     *
5
+     * PHP Version 5
6
+     *
7
+     * @category   Netresearch
8
+     * @package    Netresearch\Kite
9
+     * @subpackage Workflow
10
+     * @author     Christian Opitz <[email protected]>
11
+     * @license    http://www.netresearch.de Netresearch Copyright
12
+     * @link       http://www.netresearch.de
13
+     */
14 14
 
15 15
 namespace Netresearch\Kite\Workflow;
16 16
 use Netresearch\Kite\Service\Factory;
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -60,7 +60,7 @@
 block discarded – undo
60 60
     public function assemble()
61 61
     {
62 62
         $this->callback(
63
-            function () {
63
+            function() {
64 64
                 $this->findLoaders();
65 65
                 $file = $this->get('file');
66 66
                 $this->console->getFilesystem()->ensureDirectoryExists(dirname($file));
Please login to merge, or discard this patch.
presets/typo3.php 1 patch
Indentation   +10 added lines, -10 removed lines patch added patch discarded remove patch
@@ -1,15 +1,15 @@
 block discarded – undo
1 1
 <?php
2 2
 /**
3
- * TYPO3 specific configuration
4
- *
5
- * PHP Version 5
6
- *
7
- * @category Netresearch
8
- * @package  Kite
9
- * @author   Christian Opitz <[email protected]>
10
- * @license  http://www.netresearch.de Netresearch Copyright
11
- * @link     http://www.netresearch.de
12
- */
3
+     * TYPO3 specific configuration
4
+     *
5
+     * PHP Version 5
6
+     *
7
+     * @category Netresearch
8
+     * @package  Kite
9
+     * @author   Christian Opitz <[email protected]>
10
+     * @license  http://www.netresearch.de Netresearch Copyright
11
+     * @link     http://www.netresearch.de
12
+     */
13 13
 
14 14
 /* @var $this \Netresearch\Kite\Service\Config */
15 15
 
Please login to merge, or discard this patch.
presets/common.php 2 patches
Indentation   +10 added lines, -10 removed lines patch added patch discarded remove patch
@@ -1,15 +1,15 @@
 block discarded – undo
1 1
 <?php
2 2
 /**
3
- * Common configuration
4
- *
5
- * PHP Version 5
6
- *
7
- * @category Netresearch
8
- * @package  Kite
9
- * @author   Christian Opitz <[email protected]>
10
- * @license  http://www.netresearch.de Netresearch Copyright
11
- * @link     http://www.netresearch.de
12
- */
3
+     * Common configuration
4
+     *
5
+     * PHP Version 5
6
+     *
7
+     * @category Netresearch
8
+     * @package  Kite
9
+     * @author   Christian Opitz <[email protected]>
10
+     * @license  http://www.netresearch.de Netresearch Copyright
11
+     * @link     http://www.netresearch.de
12
+     */
13 13
 
14 14
 /* @var $this \Netresearch\Kite\Service\Config */
15 15
 
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -49,7 +49,7 @@
 block discarded – undo
49 49
         ],
50 50
         'task' => [
51 51
             'type' => 'callback',
52
-            'callback' => function (\Netresearch\Kite\Job $job) {
52
+            'callback' => function(\Netresearch\Kite\Job $job) {
53 53
                 $git = $job->get('git');
54 54
                 $command = $job->get('cmd');
55 55
                 foreach ($job->get('composer.packages') as $package) {
Please login to merge, or discard this patch.
bootstrap.php 2 patches
Indentation   +10 added lines, -10 removed lines patch added patch discarded remove patch
@@ -1,15 +1,15 @@
 block discarded – undo
1 1
 <?php
2 2
 /**
3
- * See class comment
4
- *
5
- * PHP Version 5
6
- *
7
- * @category Netresearch
8
- * @package  Kite
9
- * @author   Christian Opitz <[email protected]>
10
- * @license  http://www.netresearch.de Netresearch Copyright
11
- * @link     http://www.netresearch.de
12
- */
3
+     * See class comment
4
+     *
5
+     * PHP Version 5
6
+     *
7
+     * @category Netresearch
8
+     * @package  Kite
9
+     * @author   Christian Opitz <[email protected]>
10
+     * @license  http://www.netresearch.de Netresearch Copyright
11
+     * @link     http://www.netresearch.de
12
+     */
13 13
 
14 14
 error_reporting(error_reporting() ^ E_STRICT);
15 15
 
Please login to merge, or discard this patch.
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -27,9 +27,9 @@
 block discarded – undo
27 27
     }
28 28
 }
29 29
 
30
-if ((!$loader = includeIfExists(__DIR__.'/vendor/autoload.php')) && (!$loader = includeIfExists(__DIR__.'/../../autoload.php'))) {
31
-    die('You must set up the project dependencies, run the following commands:'.PHP_EOL.
32
-        'curl -s http://getcomposer.org/installer | php'.PHP_EOL.
33
-        'php composer.phar install'.PHP_EOL);
30
+if ((!$loader = includeIfExists(__DIR__ . '/vendor/autoload.php')) && (!$loader = includeIfExists(__DIR__ . '/../../autoload.php'))) {
31
+    die('You must set up the project dependencies, run the following commands:' . PHP_EOL .
32
+        'curl -s http://getcomposer.org/installer | php' . PHP_EOL .
33
+        'php composer.phar install' . PHP_EOL);
34 34
 }
35 35
 ?>
Please login to merge, or discard this patch.
src/Service/Factory.php 2 patches
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -179,7 +179,7 @@
 block discarded – undo
179 179
                 }
180 180
             }
181 181
         } elseif (!is_subclass_of(ltrim($definition, '\\'), 'Netresearch\\Kite\\' . $ucType)) {
182
-            throw new Exception($definition .' must extend Netresearch\\Kite\\' . $ucType);
182
+            throw new Exception($definition . ' must extend Netresearch\\Kite\\' . $ucType);
183 183
         }
184 184
         return $definition;
185 185
     }
Please login to merge, or discard this patch.
Indentation   +11 added lines, -11 removed lines patch added patch discarded remove patch
@@ -1,16 +1,16 @@
 block discarded – undo
1 1
 <?php
2 2
 /**
3
- * See class comment
4
- *
5
- * PHP Version 5
6
- *
7
- * @category   Netresearch
8
- * @package    Netresearch\Kite
9
- * @subpackage Service
10
- * @author     Christian Opitz <[email protected]>
11
- * @license    http://www.netresearch.de Netresearch Copyright
12
- * @link       http://www.netresearch.de
13
- */
3
+     * See class comment
4
+     *
5
+     * PHP Version 5
6
+     *
7
+     * @category   Netresearch
8
+     * @package    Netresearch\Kite
9
+     * @subpackage Service
10
+     * @author     Christian Opitz <[email protected]>
11
+     * @license    http://www.netresearch.de Netresearch Copyright
12
+     * @link       http://www.netresearch.de
13
+     */
14 14
 
15 15
 namespace Netresearch\Kite\Service;
16 16
 use Netresearch\Kite\Job;
Please login to merge, or discard this patch.
src/Service/Composer.php 2 patches
Indentation   +11 added lines, -11 removed lines patch added patch discarded remove patch
@@ -1,16 +1,16 @@
 block discarded – undo
1 1
 <?php
2 2
 /**
3
- * See class comment
4
- *
5
- * PHP Version 5
6
- *
7
- * @category   Netresearch
8
- * @package    Netresearch\Kite
9
- * @subpackage Service
10
- * @author     Christian Opitz <[email protected]>
11
- * @license    http://www.netresearch.de Netresearch Copyright
12
- * @link       http://www.netresearch.de
13
- */
3
+     * See class comment
4
+     *
5
+     * PHP Version 5
6
+     *
7
+     * @category   Netresearch
8
+     * @package    Netresearch\Kite
9
+     * @subpackage Service
10
+     * @author     Christian Opitz <[email protected]>
11
+     * @license    http://www.netresearch.de Netresearch Copyright
12
+     * @link       http://www.netresearch.de
13
+     */
14 14
 
15 15
 namespace Netresearch\Kite\Service;
16 16
 use Netresearch\Kite\Job;
Please login to merge, or discard this patch.
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -14,7 +14,6 @@
 block discarded – undo
14 14
 
15 15
 namespace Netresearch\Kite\Workflow\Composer;
16 16
 use Netresearch\Kite\Service\Composer\Package;
17
-use Netresearch\Kite\Task;
18 17
 use Netresearch\Kite\Workflow;
19 18
 
20 19
 
Please login to merge, or discard this patch.