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

NullableTypeTransformer - fix for attributes #5596

Merged
merged 4 commits into from Apr 6, 2021
Merged

NullableTypeTransformer - fix for attributes #5596

merged 4 commits into from Apr 6, 2021

Conversation

kubawerlos
Copy link
Contributor

@kubawerlos kubawerlos commented Apr 5, 2021

Fixes #5533

@coveralls
Copy link

coveralls commented Apr 5, 2021

Coverage Status

Coverage increased (+0.0004%) to 91.851% when pulling 86f5b39 on kubawerlos:fix_NullableTypeTransformer into 9bf2760 on FriendsOfPHP:2.18.

@OskarStark
Copy link
Contributor

It looks like this does not fix my case.

It works well without a default value, but that's the case before this fix too 🤔

Can you extend your test case like proposed in my comment?

Co-authored-by: Oskar Stark <oskarstark@googlemail.com>
@kubawerlos
Copy link
Contributor Author

@OskarStark added, since in #5533 you haven't added a config I can only guess, let's go with this one and verify if you still have the issue.

Might be another bug lurking at us.

@OskarStark
Copy link
Contributor

Yes

@kubawerlos kubawerlos added this to the 2.18.5 milestone Apr 6, 2021
@keradus
Copy link
Member

keradus commented Apr 6, 2021

Thank you @kubawerlos.

@keradus keradus merged commit f01521b into PHP-CS-Fixer:2.18 Apr 6, 2021
@kubawerlos kubawerlos deleted the fix_NullableTypeTransformer branch April 6, 2021 19:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Problem with custom attribute
6 participants