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

Add disallowedClasses alias to disallowedNamespaces #113

Merged
merged 1 commit into from
Jul 21, 2022

Conversation

spaze
Copy link
Owner

@spaze spaze commented Jul 21, 2022

An alias to make disallowing classes more straightforward.

You can disallow a namespace or a class like:

    disallowedNamespaces:
        -
            namespace: 'Symfony\Component\HttpFoundation\RequestStack'

or like:

    disallowedClasses:
        -
            class: 'Symfony\Component\HttpFoundation\RequestStack'

Close #112

@spaze spaze merged commit e352522 into master Jul 21, 2022
@spaze spaze deleted the spaze/disallowed-classes-alias branch July 21, 2022 00:19
@ruudk
Copy link
Contributor

ruudk commented Jul 21, 2022

This is a great improvement! 💙

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.

Add disallowedClasses
2 participants