Skip to content

Conversation

jrfnl
Copy link
Member

@jrfnl jrfnl commented Oct 14, 2025

Sister-sniff to the new Universal.PHP.RequireExitDieParentheses sniff. (see #398)

This sniff forbids for calls to exit/die to use parentheses, unless an argument is passed.

Includes fixer.
Includes unit tests.
Includes documentation.

Sister-sniff to the new `Universal.PHP.RequireExitDieParentheses` sniff.

This sniff forbids for calls to `exit`/`die` to use parentheses, unless an argument is passed.

Includes fixer.
Includes unit tests.
Includes documentation.
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