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.

InvalidSynchronizationAction::__construct()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 11
Code Lines 7

Duplication

Lines 0
Ratio 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
c 1
b 0
f 0
dl 0
loc 11
rs 9.4285
cc 1
eloc 7
nc 1
nop 1
1
<?php
2
3
namespace Nimble\ElasticBundle\Synchronizer\Exception;
4
5
use Nimble\ElasticBundle\Synchronizer\Synchronizer;
6
7
class InvalidSynchronizationAction extends \RuntimeException
8
{
9
    /**
10
     * @param string $gotAction
11
     */
12
    public function __construct($gotAction)
13
    {
14
        parent::__construct(sprintf('Action must be one of [%s], got "%s"',
15
            implode(', ', [
16
                Synchronizer::ACTION_CREATE,
17
                Synchronizer::ACTION_UPDATE,
18
                Synchronizer::ACTION_DELETE
19
            ]),
20
            $gotAction
21
        ));
22
    }
23
24
}
25