1 | <?php |
||
2 | |||
3 | if (function_exists('Jaxon\jaxon')) { |
||
4 | $di = Jaxon\jaxon()->di(); |
||
0 ignored issues
–
show
Bug
introduced
by
![]() |
|||
5 | // Register the database classes in the dependency container |
||
6 | $di->set(Lagdo\DbAdmin\Driver\Sqlite\Driver::class, function($di) { |
||
7 | $utils = $di->get(Lagdo\DbAdmin\Driver\Utils\Utils::class); |
||
0 ignored issues
–
show
The type
Lagdo\DbAdmin\Driver\Utils\Utils was not found. Maybe you did not declare it correctly or list all dependencies?
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. filter:
dependency_paths: ["lib/*"]
For further information see https://scrutinizer-ci.com/docs/tools/php/php-scrutinizer/#list-dependency-paths ![]() |
|||
8 | $options = $di->get('dbadmin_config_options'); |
||
9 | return new Lagdo\DbAdmin\Driver\Sqlite\Driver($utils, $options); |
||
10 | }); |
||
11 | $di->alias('dbadmin_driver_sqlite', Lagdo\DbAdmin\Driver\Sqlite\Driver::class); |
||
12 | } |
||
13 |