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

ControlStructures/RequireSingleLineCondition: prevent error for parse error #1625

Merged

Conversation

jrfnl
Copy link
Contributor

@jrfnl jrfnl commented Sep 28, 2023

Fixes:

An error occurred during processing; checking has been aborted. The error message was: Undefined array key "" in path\to\SlevomatCodingStandard\Sniffs\ControlStructures\RequireSingleLineConditionSniff.php on line 41

@jrfnl
Copy link
Contributor Author

jrfnl commented Sep 28, 2023

Same remarks as I posted in #1624 apply to the build failure for this PR.

… error

```
An error occurred during processing; checking has been aborted. The error message was: Undefined array key "" in path\to\SlevomatCodingStandard\Sniffs\ControlStructures\RequireSingleLineConditionSniff.php on line 41
```
@kukulich kukulich force-pushed the feature/requiresinglelinecondition-bug-fix branch from ec354af to aa0eabc Compare October 5, 2023 14:52
@kukulich kukulich merged commit b01453d into slevomat:master Oct 5, 2023
35 checks passed
@jrfnl jrfnl deleted the feature/requiresinglelinecondition-bug-fix branch October 5, 2023 15:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants