Total Complexity | 5 |
Total Lines | 51 |
Duplicated Lines | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 1 |
1 | <?php |
||
16 | abstract class BaseButton |
||
17 | { |
||
18 | use Configurable; |
||
19 | |||
20 | /** |
||
21 | * @var string $url |
||
22 | */ |
||
23 | public $url; |
||
24 | |||
25 | /** |
||
26 | * BaseButton constructor. |
||
27 | * @param array $config |
||
28 | */ |
||
29 | public function __construct(array $config = []) |
||
32 | } |
||
33 | |||
34 | /** |
||
35 | * @param $row |
||
36 | * Render action button. |
||
37 | */ |
||
38 | public function render($row) |
||
39 | { |
||
40 | } |
||
41 | |||
42 | /** |
||
43 | * @param $row |
||
44 | * @return Closure|string |
||
45 | */ |
||
46 | public function getUrl($row) |
||
53 | } |
||
54 | |||
55 | /** |
||
56 | * Build url for some actions. |
||
57 | * @param $row |
||
58 | */ |
||
59 | abstract public function buildUrl($row); |
||
60 | |||
61 | /** |
||
62 | * @return string |
||
63 | */ |
||
64 | public function getCurrentUrl() |
||
69 |
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