Total Complexity | 5 |
Total Lines | 61 |
Duplicated Lines | 0 % |
Changes | 0 |
1 | <?php |
||
8 | class ChangeConnectionEvent extends Event |
||
9 | { |
||
10 | /** |
||
11 | * @var Connection |
||
12 | */ |
||
13 | private $connection; |
||
14 | |||
15 | /** |
||
16 | * @var \PgFunc\Procedure |
||
17 | */ |
||
18 | private $procedure; |
||
19 | |||
20 | /** |
||
21 | * ChangeConnectionNameEvent constructor. |
||
22 | * |
||
23 | * @param Connection $connection |
||
24 | */ |
||
25 | public function __construct(Connection $connection, \PgFunc\Procedure $procedure) |
||
26 | { |
||
27 | $this->connection = $connection; |
||
28 | $this->procedure = $procedure; |
||
29 | } |
||
30 | |||
31 | /** |
||
32 | * @return Connection |
||
33 | */ |
||
34 | public function getConnection(): Connection |
||
35 | { |
||
36 | return $this->connection; |
||
37 | } |
||
38 | |||
39 | /** |
||
40 | * @param Connection $connection |
||
41 | * |
||
42 | * @return self |
||
43 | */ |
||
44 | public function setConnection(Connection $connection) |
||
45 | { |
||
46 | $this->connection = $connection; |
||
47 | |||
48 | return $this; |
||
49 | } |
||
50 | |||
51 | /** |
||
52 | * @return \PgFunc\Procedure |
||
53 | */ |
||
54 | public function getProcedure(): \PgFunc\Procedure |
||
57 | } |
||
58 | |||
59 | /** |
||
60 | * @param \PgFunc\Procedure $procedure |
||
61 | * |
||
62 | * @return self |
||
63 | */ |
||
64 | public function setProcedure(\PgFunc\Procedure $procedure) |
||
69 | } |
||
70 | } |
||
71 |
The issue could also be caused by a filter entry in the build configuration. If the path has been excluded in your configuration, e.g.
excluded_paths: ["lib/*"]
, you can move it to the dependency path list as follows:For further information see https://scrutinizer-ci.com/docs/tools/php/php-scrutinizer/#list-dependency-paths