Total Complexity | 6 |
Total Lines | 51 |
Duplicated Lines | 0 % |
Changes | 0 |
1 | <?php |
||
8 | class PropelProvider extends AbstractProvider |
||
9 | { |
||
10 | protected $router = null; |
||
11 | |||
12 | protected $options = [ |
||
13 | 'model' => null, |
||
14 | 'loc' => [], |
||
15 | 'filters' => [], |
||
16 | 'lastmod' => null, |
||
17 | 'priority' => null, |
||
18 | 'changefreq' => null, |
||
19 | ]; |
||
20 | |||
21 | /** |
||
22 | * Constructor |
||
23 | * |
||
24 | * @param RouterInterface $router The application router. |
||
25 | * @param array $options The options (see the class comment). |
||
26 | */ |
||
27 | public function __construct(RouterInterface $router, array $options) |
||
33 | } |
||
34 | } |
||
35 | |||
36 | /** |
||
37 | * Populate a sitemap using a Propel model. |
||
38 | * |
||
39 | * @param Sitemap $sitemap The current sitemap. |
||
40 | */ |
||
41 | public function populate(Sitemap $sitemap) |
||
53 | } |
||
54 | } |
||
55 | |||
56 | protected function getQuery($model) |
||
59 | } |
||
60 | } |
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