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
Even at level 2 PHPStan returns 8 errors:
------ ----------------------------------------------------------------------------------- Line src/JsonRPC/Request/RequestBuilder.php ------ ----------------------------------------------------------------------------------- 48 Unsafe usage of new static(). 💡 See: https://phpstan.org/blog/solving-phpstan-error-unsafe-usage-of-new-static ------ ----------------------------------------------------------------------------------- ------ ----------------------------------------------------------------------------------- Line src/JsonRPC/Request/RequestParser.php ------ ----------------------------------------------------------------------------------- 59 Unsafe usage of new static(). 💡 See: https://phpstan.org/blog/solving-phpstan-error-unsafe-usage-of-new-static ------ ----------------------------------------------------------------------------------- ------ ----------------------------------------------------------------------------------- Line src/JsonRPC/Response/ResponseBuilder.php ------ ----------------------------------------------------------------------------------- 89 Unsafe usage of new static(). 💡 See: https://phpstan.org/blog/solving-phpstan-error-unsafe-usage-of-new-static ------ ----------------------------------------------------------------------------------- ------ ----------------------------------------------------------------------------------- Line src/JsonRPC/Response/ResponseParser.php ------ ----------------------------------------------------------------------------------- 42 Unsafe usage of new static(). 💡 See: https://phpstan.org/blog/solving-phpstan-error-unsafe-usage-of-new-static ------ ----------------------------------------------------------------------------------- ------ ----------------------------------------------------------------- Line src/JsonRPC/Validator/HostValidator.php ------ ----------------------------------------------------------------- 71 Binary operation "-" between 32 and string results in an error. ------ ----------------------------------------------------------------- ------ -------------------------------------------------------------------------------------------------- Line tests/Validator/HostValidatorTest.php ------ -------------------------------------------------------------------------------------------------- 12 Static method JsonRPC\Validator\HostValidator::validate() invoked with 3 parameters, 2 required. 17 Static method JsonRPC\Validator\HostValidator::validate() invoked with 3 parameters, 2 required. 31 Static method JsonRPC\Validator\HostValidator::validate() invoked with 3 parameters, 2 required. ------ --------------------------------------------------------------------------------------------------
Serious code changes will be required to fix these issues.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Even at level 2 PHPStan returns 8 errors:
Serious code changes will be required to fix these issues.
The text was updated successfully, but these errors were encountered: