1 | <?php |
||
2 | /** |
||
3 | * phpBB Gallery - ACP CleanUp Extension |
||
4 | * |
||
5 | * @package phpbbgallery/acpcleanup |
||
6 | * @author nickvergessen |
||
7 | * @author satanasov |
||
8 | * @author Leinad4Mind |
||
9 | * @copyright 2007-2012 nickvergessen, 2014- satanasov, 2018- Leinad4Mind |
||
10 | * @license GPL-2.0-only |
||
11 | */ |
||
12 | |||
13 | namespace phpbbgallery\acpcleanup\migrations; |
||
14 | |||
15 | use phpbb\db\migration\migration; |
||
0 ignored issues
–
show
|
|||
16 | |||
17 | class m1_init extends migration |
||
18 | { |
||
19 | static public function depends_on() |
||
20 | { |
||
21 | return ['\phpbbgallery\core\migrations\release_1_2_0']; |
||
22 | } |
||
23 | |||
24 | public function update_data() |
||
25 | { |
||
26 | return [ |
||
27 | ['permission.add', ['a_gallery_cleanup', true, 'a_board']], |
||
28 | ['module.add', [ |
||
29 | 'acp', |
||
30 | 'PHPBB_GALLERY', |
||
31 | [ |
||
32 | 'module_basename' => '\phpbbgallery\acpcleanup\acp\main_module', |
||
33 | 'module_langname' => 'ACP_GALLERY_CLEANUP', |
||
34 | 'module_mode' => 'cleanup', |
||
35 | 'module_auth' => 'ext_phpbbgallery/acpcleanup && acl_a_gallery_cleanup', |
||
36 | ] |
||
37 | ]], |
||
38 | ]; |
||
39 | } |
||
40 | } |
||
41 |
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