| Total Complexity | 5 |
| Total Lines | 30 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 1 | Features | 0 |
| 1 | <?php |
||
| 11 | class Managers{ |
||
| 12 | private static TableManager $tableManager; |
||
| 13 | private static RecordManager $recordManager; |
||
| 14 | |||
| 15 | private static ModelManager $modelManager; |
||
| 16 | |||
| 17 | private function __construct() |
||
| 18 | { |
||
| 19 | |||
| 20 | } |
||
| 21 | |||
| 22 | public static function create(Connection $connection, bool $isUsingUUID = false){ |
||
| 23 | self::$tableManager = new TableManager($connection,$isUsingUUID); |
||
| 24 | self::$recordManager = new RecordManager($connection,$isUsingUUID); |
||
| 25 | self::$modelManager = new ModelManager(); |
||
| 26 | } |
||
| 27 | |||
| 28 | public static function tableManager(): TableManager |
||
| 29 | { |
||
| 30 | return self::$tableManager; |
||
| 31 | } |
||
| 32 | |||
| 33 | public static function recordManager() : RecordManager |
||
| 36 | } |
||
| 37 | |||
| 38 | public static function modelManager() : ModelManager |
||
| 41 | } |
||
| 42 | } |
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