src/Bridge/Symfony/HttpFoundation/Session/SwooleSessionStorage.php
Missing class import via use statement (line '195', column '23'). Open
Open
throw new \LogicException('Cannot register a bag when the session is already started.');
- 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
Missing class import via use statement (line '179', column '23'). Open
Open
throw new \InvalidArgumentException(\sprintf('The SessionBagInterface `%s` is not registered.', $name));
- 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
Line indented incorrectly; expected 4 spaces, found 8 Open
Open
private StorageInterface $storage,
- Exclude checks
Line indented incorrectly; expected 4 spaces, found 8 Open
Open
private string $name = self::DEFAULT_SESSION_NAME,
- Exclude checks