YetiForceCompany/YetiForceCRM

View on GitHub
modules/Passwords/ConfigTemplate.php

Summary

Maintainability
A
0 mins
Test Coverage
F
50%

Call to method getMethods from undeclared class \App\Encryption (Did you mean class \Tests\App\Encryption)
Open

            return empty($arg) || ($arg && \in_array($arg, \App\Encryption::getMethods()));
Severity: Critical
Found in modules/Passwords/ConfigTemplate.php by phan

Spaces must be used to indent lines; tabs are not allowed
Open

    'encryptionPass' => [

Spaces must be used to indent lines; tabs are not allowed
Open

            return true;

Spaces must be used to indent lines; tabs are not allowed
Open

    'encryptionMethod' => [

Spaces must be used to indent lines; tabs are not allowed
Open

        'validation' => function () {

Spaces must be used to indent lines; tabs are not allowed
Open

        'default' => 'aes-256-cbc',

Spaces must be used to indent lines; tabs are not allowed
Open

        'description' => 'Encryption method.',

Spaces must be used to indent lines; tabs are not allowed
Open

        'description' => 'Key to encrypt passwords, changing the key results in the loss of all encrypted data.',

Spaces must be used to indent lines; tabs are not allowed
Open

    ],

Spaces must be used to indent lines; tabs are not allowed
Open

            return empty($arg) || ($arg && \in_array($arg, \App\Encryption::getMethods()));

Spaces must be used to indent lines; tabs are not allowed
Open

        'default' => 'yeti',

Spaces must be used to indent lines; tabs are not allowed
Open

            $arg = func_get_arg(0);

Spaces must be used to indent lines; tabs are not allowed
Open

        'validation' => function () {

Spaces must be used to indent lines; tabs are not allowed
Open

        }

Spaces must be used to indent lines; tabs are not allowed
Open

        }

Spaces must be used to indent lines; tabs are not allowed
Open

    ],

There are no issues that match your filters.

Category
Status