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

Update dependencies and fix BC accordingly #216

Merged
Prev Previous commit
Next Next commit
Ignoring and commenting on harmless errors in static analysis
  • Loading branch information
KentarouTakeda committed Jan 4, 2024
commit ac474804b315dc1750a7cab2a4d4f067e0375b08
2 changes: 2 additions & 0 deletions src/Schema/TypeFormats/StringURI.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@ class StringURI
public function __invoke(string $value): bool
{
try {
// namespace 'League\Uri' is provided by multiple packages, but PHPStan does not support merging them
// @phpstan-ignore-next-line
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think this one could be reported to phpstan. really strange

UriString::parse($value);

return true;
Expand Down