Conditions | 1 |
Paths | 1 |
Total Lines | 42 |
Code Lines | 31 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
19 | function getACFLayout() |
||
20 | { |
||
21 | return [ |
||
22 | 'name' => 'blockVideoOembed', |
||
23 | 'label' => 'Block: Video Oembed', |
||
24 | 'sub_fields' => [ |
||
25 | [ |
||
26 | 'label' => 'General', |
||
27 | 'name' => 'generalTab', |
||
28 | 'type' => 'tab', |
||
29 | 'placement' => 'top', |
||
30 | 'endpoint' => 0 |
||
31 | ], |
||
32 | [ |
||
33 | 'name' => 'posterImage', |
||
34 | 'label' => 'Poster Image', |
||
35 | 'type' => 'image', |
||
36 | 'preview_size' => 'medium', |
||
37 | 'mime_types' => 'jpg,jpeg', |
||
38 | 'instructions' => 'Recommended Size: Min-Width 1200px; Min-Height: 675px; Image-Format: JPG, Aspect Ratio 16/9.', |
||
39 | 'required' => 1 |
||
40 | ], |
||
41 | [ |
||
42 | 'label' => 'Video', |
||
43 | 'name' => 'oembed', |
||
44 | 'type' => 'oembed', |
||
45 | 'required' => 1 |
||
46 | ], |
||
47 | [ |
||
48 | 'label' => 'Options', |
||
49 | 'name' => 'optionsTab', |
||
50 | 'type' => 'tab', |
||
51 | 'placement' => 'top', |
||
52 | 'endpoint' => 0 |
||
53 | ], |
||
54 | [ |
||
55 | 'label' => '', |
||
56 | 'name' => 'options', |
||
57 | 'type' => 'group', |
||
58 | 'layout' => 'row', |
||
59 | 'sub_fields' => [ |
||
60 | FieldVariables\getTheme() |
||
61 | ] |
||
66 |
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