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

PhpdocTypesFixer - allow for configuration #4019

Merged
merged 1 commit into from Oct 18, 2018

Conversation

keradus
Copy link
Member

@keradus keradus commented Oct 7, 2018

eg, callback alias type was in charge before 5.4, later it's not used.
eg boolean, usually may mean bool primitive, but sometimes it is a real custom class...

while for most cases it shall be fixed, there are few cases when not. let's make this configurable

ref sebastianbergmann/phpunit#3327

@keradus
Copy link
Member Author

keradus commented Oct 7, 2018

cc @localheinz, cc @sebastianbergmann

@SpacePossum SpacePossum added this to the 2.12.4 milestone Oct 15, 2018
@SpacePossum SpacePossum added kind/feature RTM Ready To Merge labels Oct 15, 2018
@SpacePossum
Copy link
Contributor

Thanks @keradus.

@SpacePossum SpacePossum merged commit 3394dfc into PHP-CS-Fixer:2.12 Oct 18, 2018
SpacePossum added a commit that referenced this pull request Oct 18, 2018
This PR was merged into the 2.12 branch.

Discussion
----------

PhpdocTypesFixer - allow for configuration

eg, `callback` alias type was in charge before 5.4, later it's not used.
eg `boolean`, usually may mean `bool` primitive, but sometimes it is a real custom class...

while for most cases it shall be fixed, there are few cases when not. let's make this configurable

ref sebastianbergmann/phpunit#3327

Commits
-------

3394dfc PhpdocTypesFixer - allow for configuration
@SpacePossum SpacePossum removed the RTM Ready To Merge label Oct 18, 2018
@keradus keradus deleted the 2.12_types_types branch October 20, 2018 22:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants