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

Ability to forbid exit() and die() #6784

Merged
merged 2 commits into from
Oct 31, 2021
Merged

Conversation

weirdan
Copy link
Collaborator

@weirdan weirdan commented Oct 31, 2021

exit() and die(), while not being really functions, are sufficiently function-like that people expect to be able to forbid them with <forbiddenFunctions> (e.g. https://stackoverflow.com/questions/69766303/psalm-check-for-calls-to-die). Now they can.

@weirdan weirdan added the release:feature The PR will be included in 'Features' section of the release notes label Oct 31, 2021
@weirdan weirdan merged commit 7f14d09 into vimeo:master Oct 31, 2021
@weirdan weirdan deleted the forbid-exit-and-die branch October 31, 2021 11:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
release:feature The PR will be included in 'Features' section of the release notes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant