Test Setup Failed
Branch master (5620a9)
by Edward
02:56
created

config/di/configuration.php (2 issues)

Labels
Severity
1
<?php
2
/**
3
 * Configuration file to add as service in the Di container.
4
 */
5
return [
6
7
    // Services to add to the container.
8
    "services" => [
9
        "configuration" => [
10
            "shared" => true,
11
            "callback" => function () {
12
                $config = new \Anax\Configure\Configuration();
0 ignored issues
show
The type Anax\Configure\Configuration 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. excluded_paths: ["lib/*"], you can move it to the dependency path list as follows:

filter:
    dependency_paths: ["lib/*"]

For further information see https://scrutinizer-ci.com/docs/tools/php/php-scrutinizer/#list-dependency-paths

Loading history...
13
                $dirs = require ANAX_INSTALL_PATH . "/config/configuration.php";
0 ignored issues
show
The constant ANAX_INSTALL_PATH was not found. Maybe you did not declare it correctly or list all dependencies?
Loading history...
14
                $config->setBaseDirectories($dirs);
15
                return $config;
16
            }
17
        ],
18
    ],
19
];
20