1
|
|
|
<?php |
2
|
|
|
|
3
|
|
|
/** |
4
|
|
|
* Defines components |
5
|
|
|
*/ |
6
|
|
|
|
7
|
|
|
namespace Flynt\SetComponents; |
8
|
|
|
|
9
|
|
|
use Flynt\Components; |
|
|
|
|
10
|
|
|
|
11
|
|
|
function getCoreComponents() |
12
|
|
|
{ |
13
|
|
|
return [ |
14
|
|
|
Components\BlockCollapse\getACFLayout(), |
|
|
|
|
15
|
|
|
Components\BlockImageText\getACFLayout(), |
16
|
|
|
Components\BlockImage\getACFLayout(), |
17
|
|
|
Components\BlockReusable\getACFLayout(), |
18
|
|
|
Components\BlockVideoOembed\getACFLayout(), |
19
|
|
|
Components\BlockWysiwyg\getACFLayout(), |
20
|
|
|
Components\GridImageText\getACFLayout(), |
21
|
|
|
Components\GridPostsLatest\getACFLayout(), |
22
|
|
|
Components\ListComponents\getACFLayout(), |
23
|
|
|
Components\SliderImages\getACFLayout(), |
24
|
|
|
]; |
25
|
|
|
} |
26
|
|
|
|
27
|
|
|
function getPageComponents() |
28
|
|
|
{ |
29
|
|
|
return getCoreComponents(); |
30
|
|
|
} |
31
|
|
|
|
32
|
|
|
function getPostComponents() |
33
|
|
|
{ |
34
|
|
|
return [ |
35
|
|
|
Components\BlockCollapse\getACFLayout(), |
|
|
|
|
36
|
|
|
Components\BlockImage\getACFLayout(), |
37
|
|
|
Components\BlockImageText\getACFLayout(), |
38
|
|
|
Components\BlockVideoOembed\getACFLayout(), |
39
|
|
|
Components\BlockWysiwyg\getACFLayout(), |
40
|
|
|
Components\SliderImages\getACFLayout(), |
41
|
|
|
]; |
42
|
|
|
} |
43
|
|
|
|
44
|
|
|
function getReusableComponents() |
45
|
|
|
{ |
46
|
|
|
return getCoreComponents(); |
47
|
|
|
} |
48
|
|
|
|
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