| Total Complexity | 4 |
| Total Lines | 31 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 18 | class DatabaseConnected implements Check |
||
| 19 | { |
||
| 20 | const IDENTIFIER = 'base:frameworks:symfony:databaseConnected'; |
||
| 21 | |||
| 22 | /** |
||
| 23 | * @var Registry |
||
| 24 | */ |
||
| 25 | private $doctrine; |
||
| 26 | |||
| 27 | public function __construct(Registry $doctrine) |
||
| 28 | { |
||
| 29 | $this->doctrine = $doctrine; |
||
| 30 | } |
||
| 31 | |||
| 32 | public function run() |
||
| 44 | } |
||
| 45 | |||
| 46 | public function getIdentifier() |
||
| 51 |
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