-
Beta Was this translation helpful? Give feedback.
Answered by
kenjis
Nov 25, 2022
Replies: 3 comments 1 reply
-
Yes, the issue is reported. $ vendor/bin/psalm --show-info=true src/Config/Auth.php
Target PHP version: 7.4 (inferred from composer.json)
Scanning files...
Analyzing files...
I
INFO: PropertyTypeCoercion - src/Config/Auth.php:211:40 - $this->passwordValidators expects 'array<array-key, class-string<CodeIgniter\Shield\Authentication\Passwords\ValidatorInterface>>', parent type 'array{"CodeIgniter\\Shield\\Authentication\\Passwords\\CompositionValidator", "CodeIgniter\\Shield\\Authentication\\Passwords\\NothingPersonalValidator", "CodeIgniter\\Shield\\Authentication\\Passwords\\DictionaryValidator"}' provided (see https://psalm.dev/198)
public array $passwordValidators = [
'CodeIgniter\Shield\Authentication\Passwords\CompositionValidator',
'CodeIgniter\Shield\Authentication\Passwords\NothingPersonalValidator',
'CodeIgniter\Shield\Authentication\Passwords\DictionaryValidator',
// 'CodeIgniter\Shield\Authentication\Passwords\PwnedValidator',
];
INFO: PropertyTypeCoercion - src/Config/Auth.php:336:35 - $this->userProvider expects 'class-string<CodeIgniter\Shield\Models\UserModel>', parent type '"CodeIgniter\\Shield\\Models\\UserModel"' provided (see https://psalm.dev/198)
public string $userProvider = 'CodeIgniter\Shield\Models\UserModel';
------------------------------
No errors found!
------------------------------
2 other issues found.
------------------------------ |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
gphg
-
I sent a PR #540 |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Yes, the issue is reported.