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

Added option to forbid eval() in codebase #6856

Merged
merged 1 commit into from
Nov 7, 2021
Merged

Added option to forbid eval() in codebase #6856

merged 1 commit into from
Nov 7, 2021

Conversation

thbley
Copy link
Contributor

@thbley thbley commented Nov 7, 2021

Added the possibility for forbid using eval() in the codebase, example config:

<psalm>
    <forbiddenFunctions>
        <function name="eval" />
    </forbiddenFunctions>
</psalm>

Fixes #6855

@orklah orklah added the release:feature The PR will be included in 'Features' section of the release notes label Nov 7, 2021
@weirdan weirdan changed the title Added option to forbid eval() in codebase #6855 Added option to forbid eval() in codebase Nov 7, 2021
@weirdan weirdan merged commit 9491ea4 into vimeo:master Nov 7, 2021
@weirdan
Copy link
Collaborator

weirdan commented Nov 7, 2021

Thanks!

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.

Possibility to forbid eval() in code
3 participants