1 | <?php |
||
2 | /** |
||
3 | * |
||
4 | * Advertisement management. An extension for the phpBB Forum Software package. |
||
5 | * |
||
6 | * @copyright (c) 2017 phpBB Limited <https://www.phpbb.com> |
||
7 | * @license GNU General Public License, version 2 (GPL-2.0) |
||
8 | * |
||
9 | */ |
||
10 | |||
11 | namespace phpbb\ads; |
||
12 | |||
13 | class ext extends \phpbb\extension\base |
||
0 ignored issues
–
show
|
|||
14 | { |
||
15 | public const DATE_FORMAT = 'Y-m-d'; |
||
16 | public const MAX_NAME_LENGTH = 255; |
||
17 | public const DEFAULT_PRIORITY = 5; |
||
18 | public const AD_BLOCK_MODES = [0, 1, 2]; |
||
19 | |||
20 | /** |
||
21 | * {@inheritdoc} |
||
22 | * |
||
23 | * Requires phpBB 3.3.2 due to using role_exists check in permission migration. |
||
24 | */ |
||
25 | public function is_enableable() |
||
26 | { |
||
27 | return phpbb_version_compare(PHPBB_VERSION, '3.3.2', '>=') |
||
28 | && phpbb_version_compare(PHPBB_VERSION, '4.0.0-dev', '<'); |
||
29 | } |
||
30 | } |
||
31 |
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