Join GitHub today
GitHub is home to over 36 million developers working together to host and review code, manage projects, and build software together.Sign up
Fix binary operation `+`, `-` or `*` on string by type casting to integer #32006
After playing around with PHPStan I found potential improvements when we try to add, subtract or multiply on a string by type casting these values to integers. PHPStan has 8 different levels of strictness and these errors come up after level 2.