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

Extension parameters in extension.neon should be defined as a structure #192

Closed
spaze opened this issue Apr 30, 2023 · 1 comment · Fixed by #222
Closed

Extension parameters in extension.neon should be defined as a structure #192

spaze opened this issue Apr 30, 2023 · 1 comment · Fixed by #222
Labels
enhancement New feature or request

Comments

@spaze
Copy link
Owner

spaze commented Apr 30, 2023

To allow for typo checking etc.:

# These should be defined using `structure` with listed keys but it seems to me that PHPStan requires
# all keys to be present in a structure but `message` & `allow*`/`disallow*` are optional.
disallowedNamespaces: listOf(

This is now possible by prepending the key name with ?, starting with phpstan/phpstan-src#1686 (comment)

@spaze spaze added the enhancement New feature or request label Apr 30, 2023
@spaze
Copy link
Owner Author

spaze commented Nov 29, 2023

Currently blocked by phpstan/phpstan#10223

spaze added a commit that referenced this issue Nov 29, 2023
spaze added a commit that referenced this issue Nov 30, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant