Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(rule): Fix phpstan fail for result of array_column #55

Merged
merged 1 commit into from Feb 22, 2022
Merged

fix(rule): Fix phpstan fail for result of array_column #55

merged 1 commit into from Feb 22, 2022

Conversation

BitScout
Copy link
Contributor

Fixes the build error with the message

------ ----------------------------------------------------------------------- 
  Line   src/Rules/BannedNodesRule.php                                          
 ------ ----------------------------------------------------------------------- 
  38     Property Ekino\PHPStanBannedCode\Rules\BannedNodesRule::$bannedNodes   
         (array<array<string, array<string>>>) does not accept                  
         array<array<string>|int|string, array<string, array<string>|string>>.  
 ------ -----------------------------------------------------------------------

See https://github.com/ekino/phpstan-banned-code/runs/5225983073?check_suite_focus=true

This might be linked to this change: phpstan/phpstan-src#948

@mremi mremi merged commit 5416d33 into ekino:master Feb 22, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants