src/UltimateSessions/UltimateSessionLoader.php
Showing 1 of 3 total issues
The method initialize has a boolean flag argument $useEncryption, which is a certain sign of a Single Responsibility Principle violation. Wontfix
Wontfix
$useEncryption = false,
- Read upRead up
- Exclude checks
Missing class import via use statement (line '33', column '23'). Open
Open
throw new \InvalidArgumentException('Value must be boolean.');
- Read upRead up
- Exclude checks
Avoid using static access to class 'MikeBrant\UltimateSessions\UltimateSessionHandlerConfig' in method 'initialize'. Wontfix
Wontfix
UltimateSessionHandlerConfig::getInstance($useEncryption)
- Read upRead up
- Exclude checks