Skip to content

New sniff to change if with big else to early return#2813

Merged
Crabcyborg merged 3 commits into
masterfrom
new_sniff_to_change_if_else_to_early_return
Jan 15, 2026
Merged

New sniff to change if with big else to early return#2813
Crabcyborg merged 3 commits into
masterfrom
new_sniff_to_change_if_else_to_early_return

Conversation

@Crabcyborg

Copy link
Copy Markdown
Contributor

No description provided.

@coderabbitai

coderabbitai Bot commented Jan 15, 2026

Copy link
Copy Markdown
Contributor

Warning

Rate limit exceeded

@Crabcyborg has exceeded the limit for the number of commits that can be reviewed per hour. Please wait 17 minutes and 31 seconds before requesting another review.

⌛ How to resolve this issue?

After the wait time has elapsed, a review can be triggered using the @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

We recommend that you space out your commits to avoid hitting the rate limit.

🚦 How do rate limits work?

CodeRabbit enforces hourly rate limits for each developer per organization.

Our paid plans have higher rate limits than the trial, open-source and free plans. In all cases, we re-allow further reviews after a brief timeout.

Please see our FAQ for further information.

📥 Commits

Reviewing files that changed from the base of the PR and between e3e98c5 and cb39006.

📒 Files selected for processing (3)
  • classes/helpers/FrmEntriesHelper.php
  • phpcs-sniffs/Formidable/Sniffs/CodeAnalysis/FlipIfElseToEarlyReturnSniff.php
  • phpcs-sniffs/Formidable/ruleset.xml

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@Crabcyborg Crabcyborg changed the title New sniff to change if else to early return New sniff to change if with big else to early return Jan 15, 2026
@Crabcyborg
Crabcyborg merged commit 21b5893 into master Jan 15, 2026
16 checks passed
@Crabcyborg
Crabcyborg deleted the new_sniff_to_change_if_else_to_early_return branch January 15, 2026 20:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant