Conditions | 4 |
Paths | 4 |
Total Lines | 7 |
Code Lines | 5 |
Lines | 0 |
Ratio | 0 % |
Tests | 0 |
CRAP Score | 20 |
Changes | 2 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
30 | public function is_enableable() |
||
31 | { |
||
32 | $config = $this->container->get('config'); |
||
33 | return phpbb_version_compare($config['version'], self::PHPBB_MIN_VERSION, '>=') |
||
34 | && phpbb_version_compare($config['version'], self::PHPBB_MAX_VERSION, '<') |
||
35 | && phpbb_version_compare(PHPBB_VERSION, self::PHPBB_MIN_VERSION, '>=') |
||
36 | && phpbb_version_compare(PHPBB_VERSION, self::PHPBB_MAX_VERSION, '<'); |
||
37 | } |
||
39 |
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