| 1 | <?php |
||
| 7 | class SQLite extends MySQL |
||
| 8 | { |
||
| 9 | |||
| 10 | protected $credentials = [ |
||
| 11 | 'database' => 'phpunit_results.db', |
||
| 12 | 'table' => 'default', |
||
| 13 | ]; |
||
| 14 | |||
| 15 | protected function connect(): void |
||
| 21 | |||
| 22 | protected function createTableIfNotExists(): void |
||
| 34 | |||
| 35 | protected function insert(string $test, string $time): void |
||
| 52 | } |
||
| 53 |
This check marks access to variables or properties that have not been declared yet. While PHP has no explicit notion of declaring a variable, accessing it before a value is assigned to it is most likely a bug.