src/SAREhub/Commons/Misc/SqliteHashStorage.php
Missing class import via use statement (line '42', column '30'). Open
Open
$this->storage = new \SQLite3($this->filePath);
- Read upRead up
- Exclude checks
MissingImport
Since: 2.7.0
Importing all external classes in a file through use statements makes them clearly visible.
Example
function make() {
return new \stdClass();
}
Source http://phpmd.org/rules/cleancode.html#MissingImport
The closing brace for the class must go on the next line after the body Open
Open
}
- Exclude checks
Line exceeds 120 characters; contains 126 characters Open
Open
$createTableSql = "CREATE TABLE " . $this->tableName . "(id TEXT PRIMARY KEY, hash TEXT NOT NULL) WITHOUT ROWID;";
- Exclude checks
Expected 1 newline at end of file; 0 found Open
Open
}
- Exclude checks