-
Notifications
You must be signed in to change notification settings - Fork 1.1k
declare list types #907
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
declare list types #907
Conversation
92f48dd
to
90854a3
Compare
@nikic I think the last commit fixed a bug, which phpstan reported because of the more precise typing. I am not sure what todo about the unit tests which fail now. could you give me a hand? |
Yeah, that was indeed a bug. I've applied the fix separately in 21a3e8c and cherry-picked this into 4.x as well. Can you please rebase? |
.github/workflows/main.yml
Outdated
tools: composer:v2 | ||
- name: "Install dependencies" | ||
run: | | ||
composer global require phpstan/phpstan:1.9.3 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can we install this from tools/composer.json
instead?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
done.
Co-authored-by: Nikita Popov <[email protected]>
should be good to go, thx |
closes #905