1 | <?php |
||||
2 | /** |
||||
3 | * |
||||
4 | * Google Analytics extension for the phpBB Forum Software package. |
||||
5 | * |
||||
6 | * @copyright (c) 2021 phpBB Limited <https://www.phpbb.com> |
||||
7 | * @license GNU General Public License, version 2 (GPL-2.0) |
||||
8 | * |
||||
9 | */ |
||||
10 | |||||
11 | namespace phpbb\googleanalytics; |
||||
12 | |||||
13 | use phpbb\extension\base; |
||||
0 ignored issues
–
show
|
|||||
14 | |||||
15 | class ext extends base |
||||
16 | { |
||||
17 | /** |
||||
18 | * {@inheritDoc} |
||||
19 | */ |
||||
20 | public function is_enableable() |
||||
21 | { |
||||
22 | return phpbb_version_compare(PHPBB_VERSION, '3.2.0', '>=') |
||||
0 ignored issues
–
show
The function
phpbb_version_compare was not found. Maybe you did not declare it correctly or list all dependencies?
(
Ignorable by Annotation
)
If this is a false-positive, you can also ignore this issue in your code via the
![]() |
|||||
23 | && phpbb_version_compare(PHPBB_VERSION, '4.0.0-dev', '<'); |
||||
24 | } |
||||
25 | } |
||||
26 |
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