1 | <?php |
||
2 | |||
3 | /** |
||
4 | * Phinx configuration |
||
5 | * |
||
6 | * Please, don't move this file inside `default` folder |
||
7 | * It should be placed here for avoid `Config` call in recursion |
||
8 | * |
||
9 | * @link https://github.com/robmorgan/phinx/blob/master/docs/configuration.rst |
||
10 | * @return array |
||
11 | */ |
||
12 | |||
13 | return [ |
||
14 | 'paths' => [ |
||
15 | 'migrations' => PATH_DATA . '/migrations', |
||
16 | 'seeds' => PATH_DATA . '/seeds' |
||
17 | ], |
||
18 | 'environments' => [ |
||
19 | 'default_migration_table' => 'migrations', |
||
20 | 'default' => (function () { |
||
21 | $data = \Bluz\Proxy\Config::get('db', 'connect'); |
||
0 ignored issues
–
show
|
|||
22 | $data['adapter'] = $data['type']; |
||
23 | $data['charset'] = 'utf8'; |
||
24 | return $data; |
||
25 | })() |
||
26 | ] |
||
27 | ]; |
||
28 |
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