Skip to content

Issues with Psalm, maybe? #539

Answered by kenjis
gphg asked this question in Q&A
Nov 24, 2022 · 3 comments · 1 reply
Discussion options

You must be logged in to vote

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 = [
        '…

Replies: 3 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Answer selected by gphg
Comment options

You must be logged in to vote
1 reply
@gphg
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants