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 details to option/argument to kebab-case deprecation message #67

Open
tacman opened this issue Mar 31, 2024 · 0 comments
Open

Add details to option/argument to kebab-case deprecation message #67

tacman opened this issue Mar 31, 2024 · 0 comments

Comments

@tacman
Copy link
Contributor

tacman commented Mar 31, 2024

can you add the specific variable and file to this warning?

That is, I'd like to see something like

Specify #[Option(name: 'page-size']) in AppLoadDataCommand.php to explicitly to remove this deprecation."

{"message":"User Deprecated: Since zenstruck/console-extra 1.4: Argument names will default to kebab-case in 2.0. Specify the name in #[Option] explicitly to remove this deprecation.","context":{"exception":{"class":"ErrorException","message":"User Deprecated: Since zenstruck/console-extra 1.4: Argument names will default to kebab-case in 2.0. Specify the name in #[Option] explicitly to remove this deprecation.","code":0,"file":"/app/vendor/zenstruck/console-extra/src/Attribute/Option.php:60"}},"level":200,"level_name":"INFO","channel":"deprecation","datetime":"2024-03-31T12:09:32.233949+00:00","extra":{}}
c33s/knp-menu-extra-bundle

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

1 participant