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.
This class seems to be duplicated in your project.
Duplicated code is one of the most pungent code smells. If you need to duplicate
the same code in three or more different places, we strongly encourage you to
look into extracting the code into a single class or operation.
You can also find more detailed suggestions in the “Code” section of your repository.
Loading history...
11
{
12
/**
13
* @var string
14
*/
15
private $organization;
16
17
/**
18
* @var string
19
*/
20
private $name;
21
22
/**
23
* @var array
24
*/
25
private $config;
26
27
/**
28
* @var array
29
*/
30
private $events;
31
32
/**
33
* @var bool
34
*/
35
private $active;
36
37
/**
38
* @param string $organization
39
* @param string $name
40
* @param array $config
41
* @param array $events
42
* @param bool $active
43
*/
44
1
public function __construct(string $organization, string $name, array $config, array $events, bool $active)
Duplicated code is one of the most pungent code smells. If you need to duplicate the same code in three or more different places, we strongly encourage you to look into extracting the code into a single class or operation.
You can also find more detailed suggestions in the “Code” section of your repository.