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

Add default value to operator rules #212

Conversation

lucdima
Copy link

@lucdima lucdima commented Apr 12, 2023

This should fix this error that appear after updating the latest phpstan:

Service 'rules.164' (type of PHPStan\Rules\Operators\OperandsInArithmeticAdditionRule): Parameter $bleedingEdge in OperandsInArithmeticAdditionRule::__construct() has no class type or default value, so its value must be specified.

@ondrejmirtes
Copy link
Member

See the discussion here: #205 (comment)

@lucdima
Copy link
Author

lucdima commented Apr 12, 2023

Thanks! I was not able to find it before!

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.

2 participants