-
Notifications
You must be signed in to change notification settings - Fork 546
Fix PHPStorm inspection errors #4700
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
Conversation
| continue; | ||
| } | ||
|
|
||
| foreach ($catchTypes as $catchTypeIndex => $catchTypeItem) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
unused variable $catchTypeIndex
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Slevomat CS typically catches this, can you figure out why it doesn't in this case, maybe create a failign test for slevomat/coding-standard?
| 'blocks', | ||
| ]; | ||
|
|
||
| foreach ($keys as $key) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
unused variable $key
| $this->acceptUppercaseString($string); | ||
| $this->acceptUppercaseString($uppercaseString); | ||
| $this->acceptUppercaseString($numericString); | ||
| $this->acceptUppercaseString($nonEmptyLowercaseString); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
undefined variable
|
This pull request has been marked as ready for review. |
| continue; | ||
| } | ||
|
|
||
| foreach ($catchTypes as $catchTypeIndex => $catchTypeItem) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Slevomat CS typically catches this, can you figure out why it doesn't in this case, maybe create a failign test for slevomat/coding-standard?
No description provided.