| Total Complexity | 6 |
| Total Lines | 51 |
| Duplicated Lines | 0 % |
| Changes | 2 | ||
| Bugs | 0 | Features | 1 |
| 1 | <?php |
||
| 8 | class TwigBlockGridColumn extends AbstractGridColumn |
||
| 9 | { |
||
| 10 | protected $template; |
||
| 11 | protected $blockName; |
||
| 12 | protected $env = []; |
||
| 13 | |||
| 14 | /** |
||
| 15 | * Block name. |
||
| 16 | * |
||
| 17 | * @param string $field |
||
| 18 | * @param string $label |
||
| 19 | * @param string $blockName |
||
| 20 | */ |
||
| 21 | public function __construct($field, $label, Twig_Template $template, array $env, $blockName = null) |
||
| 31 | } |
||
| 32 | } |
||
| 33 | |||
| 34 | /** |
||
| 35 | * @return $template |
||
| 36 | */ |
||
| 37 | public function getTemplate() |
||
| 38 | { |
||
| 39 | return $this->template; |
||
| 40 | } |
||
| 41 | |||
| 42 | /** |
||
| 43 | * @return $blockName |
||
| 44 | */ |
||
| 45 | public function getBlockName() |
||
| 48 | } |
||
| 49 | |||
| 50 | public function format($object, GridSourceInterface $gridSource) |
||
| 62 |
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