phpsess/sodium-encryption

View on GitHub

Showing 1 of 1 total issue

Method parseEncryptedData has 29 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    private function parseEncryptedData(string $data): stdClass
    {
        $data = json_decode($data);

        if (json_last_error() !== JSON_ERROR_NONE) {
Severity: Minor
Found in src/SodiumEncryption.php - About 1 hr to fix
    Severity
    Category
    Status
    Source
    Language