Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Fix #257 uppercase attribute names will stay uppercased #260

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

Closed
wants to merge 1 commit into from

Conversation

soyuka
Copy link
Member

@soyuka soyuka commented Sep 5, 2015

I've added some unit test, please let me know if I did something "the wrong way".

@soyuka soyuka force-pushed the fixCollectionType branch 2 times, most recently from aeb7b7b to b757664 Compare September 6, 2015 08:52
{
$testClass = new MyTestClass();

$reflectionClassProphecy = $this->prophesize('ReflectionClass');
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why not instantiating directly the ReflectionClass ?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Duno, I used this as an example and I probably got lost trying to understand what should call whom. It's a bit hard to write this kind of tests when you're not familiar with the ApiBundle internals, in my opinion.

@dunglas
Copy link
Member

dunglas commented Sep 22, 2015

It looks good to me but 2.0 will use the new Symfony Property Info Component.
Can you:

@sroze
Copy link
Contributor

sroze commented Oct 2, 2015

@dunglas the PropertyInfo component do not lcfirst properties' names so no need to fix on it :)

@dunglas
Copy link
Member

dunglas commented Oct 14, 2015

@soyuka can you reopen this PR against 1.0, rebase and squash your commits?

@soyuka
Copy link
Member Author

soyuka commented Oct 16, 2015

This seems to be fixed in 1.0 ;)

@soyuka soyuka closed this Oct 16, 2015
@soyuka soyuka deleted the fixCollectionType branch June 7, 2016 17:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants