modules/Passwords/ConfigTemplate.php
Call to method getMethods
from undeclared class \App\Encryption
(Did you mean class \Tests\App\Encryption) Open
Open
return empty($arg) || ($arg && \in_array($arg, \App\Encryption::getMethods()));
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
'encryptionPass' => [
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
return true;
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
'encryptionMethod' => [
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
'validation' => function () {
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
'default' => 'aes-256-cbc',
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
'description' => 'Encryption method.',
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
'description' => 'Key to encrypt passwords, changing the key results in the loss of all encrypted data.',
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
],
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
return empty($arg) || ($arg && \in_array($arg, \App\Encryption::getMethods()));
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
'default' => 'yeti',
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
$arg = func_get_arg(0);
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
'validation' => function () {
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
}
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
}
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
],
- Exclude checks