Conditions | 1 |
Paths | 1 |
Total Lines | 10 |
Code Lines | 5 |
Lines | 0 |
Ratio | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
31 | function loadSampleData() |
||
32 | { |
||
33 | // $moduleDirName = basename(dirname(__DIR__)); |
||
34 | xoops_loadLanguage('comment'); |
||
35 | $items = \Xmf\Yaml::readWrapped('quotes_data.yml'); |
||
36 | |||
37 | \Xmf\Database\TableLoad::truncateTable('randomquote_quotes'); |
||
38 | \Xmf\Database\TableLoad::loadTableFromArray('randomquote_quotes', $items); |
||
39 | |||
40 | redirect_header('../admin/index.php', 1, _CM_ACTIVE); |
||
41 | } |
||
42 |
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