We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
For the following code:
class Bar { public function doBar(string $s) { Assert::that($s)->numeric(); } }
We're always getting the error:
# Call to method Assert\AssertionChain::numeric() will always evaluate to true.
I don't believe this is quite right, since we might have non-numeric strings, correct? Or are we doing something wrong?
The text was updated successfully, but these errors were encountered:
Should be solved on dev-master of PHPStan (phpstan/phpstan-src@53a5171) :) I'll release it as 0.12.15 later today so please test it :) Thank you!
Sorry, something went wrong.
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.
No branches or pull requests
For the following code:
We're always getting the error:
# Call to method Assert\AssertionChain::numeric() will always evaluate to true.
I don't believe this is quite right, since we might have non-numeric strings, correct? Or are we doing something wrong?
The text was updated successfully, but these errors were encountered: