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.

GracefulShutdownException
last analyzed

Complexity

Total Complexity 0

Size/Duplication

Total Lines 3
Duplicated Lines 0 %

Importance

Changes 0
Metric Value
eloc 2
dl 0
loc 3
c 0
b 0
f 0
wmc 0
1
<?php declare(strict_types=1);
2
/* (c) Anton Medvedev <[email protected]>
3
 *
4
 * For the full copyright and license information, please view the LICENSE
5
 * file that was distributed with this source code.
6
 */
7
8
namespace Deployer\Exception;
9
10
/**
11
 * Then this exception thrown, it will not trigger "fail" callback.
12
 *
13
 *     fail('deploy', 'deploy:failed');
14
 *
15
 *     task('deploy', function () {
16
 *         throw new GracefulShutdownException(...);
17
 *     });
18
 *
19
 * In example above task `deploy:failed` will not be called.
20
 */
21
class GracefulShutdownException extends Exception
22
{
23
    const EXIT_CODE = 42;
24
}
25