| Total Complexity | 1 |
| Total Lines | 57 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 14 | class Database |
||
| 15 | { |
||
| 16 | |||
| 17 | /** |
||
| 18 | * @const types database |
||
| 19 | */ |
||
| 20 | const TYPES = array('Mysqli','Medoo','Json'); |
||
| 21 | |||
| 22 | /** |
||
| 23 | * @const Medoo database types |
||
| 24 | */ |
||
| 25 | const Medoo_Types = array('mysql','mariadb','pgsql','sybase','oracle','mssql', 'sqlite'); |
||
| 26 | |||
| 27 | /** |
||
| 28 | * @var type database |
||
| 29 | */ |
||
| 30 | protected $type; |
||
| 31 | |||
| 32 | /** |
||
| 33 | * @var host for database |
||
| 34 | * Default value localhost |
||
| 35 | */ |
||
| 36 | protected $host; |
||
| 37 | |||
| 38 | /** |
||
| 39 | * @var username database username |
||
| 40 | */ |
||
| 41 | protected $username; |
||
| 42 | |||
| 43 | /** |
||
| 44 | * @var dbname database name |
||
| 45 | */ |
||
| 46 | protected $dbname; |
||
| 47 | |||
| 48 | /** |
||
| 49 | * @var charset database |
||
| 50 | */ |
||
| 51 | protected $charset; |
||
| 52 | |||
| 53 | /** |
||
| 54 | * @var password database password |
||
| 55 | */ |
||
| 56 | protected $password; |
||
| 57 | |||
| 58 | /** |
||
| 59 | * @var connection database |
||
| 60 | */ |
||
| 61 | protected $connect; |
||
| 62 | |||
| 63 | /** |
||
| 64 | * @method Json_init |
||
| 65 | * Create a Json database |
||
| 66 | */ |
||
| 67 | protected function Json_init() |
||
| 76 |
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