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

BUGFIX: Type Handling should not break when classnames contain underscores, or when classnames are lowerCamelCase #441

Merged
merged 2 commits into from Aug 23, 2016

Conversation

skurfuerst
Copy link
Member

While underscores in class names are not used in Flow code itself, it might
happen that TypeHandling is used outside Flow - where having underscores
in class names is perfectly valid.

This change ensures that underscores in class names are recognized properly.

…cores

While underscores in class names are not used in Flow code itself, it might
happen that TypeHandling is used outside Flow - where having underscores
in class names is perfectly valid.

This change ensures that underscores in class names are recognized properly.
@mention-bot
Copy link

@skurfuerst, thanks for your PR! By analyzing the annotation information on this pull request, we identified @kdambekalns, @robertlemke and @kitsunet to be potential reviewers

@kitsunet
Copy link
Member

Nice! I think together with #437 we should have tackled everyhing :)

@skurfuerst
Copy link
Member Author

@kitsunet can I help you getting #437 in (for 3.2)? Then I'd like to do another 3.2 release, as I need this change in a project :-)

All the best,
Sebastian

The TypeHandling PARSE_TYPE_PATTERN assumes vendors in namespace do always
begin with uppercase letters. Reality shows, that this is not the case.
So this changes the regular expression accordingly.
@skurfuerst skurfuerst changed the title BUGFIX: Type Handling should not break when classnames contain underscores BUGFIX: Type Handling should not break when classnames contain underscores, or when classnames are lowerCamelCase Aug 23, 2016
@skurfuerst skurfuerst merged commit c1f7d62 into neos:3.2 Aug 23, 2016
@skurfuerst skurfuerst deleted the 3.2-typehandling-underscores branch August 23, 2016 11:55
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

4 participants