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

Skip to content

[Reference/Validation Constraints] Add some missing xml reference examples. #2027

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

Merged

Conversation

l3l0
Copy link
Contributor

@l3l0 l3l0 commented Dec 15, 2012

  • Added missing xml examples for: Blank, Length, NotBlank, NotNull, Null
  • Fix MinLength xml example

weaverryan added a commit that referenced this pull request Dec 16, 2012
…eference

[Reference/Validation Constraints] Add some missing xml reference examples.
@weaverryan weaverryan merged commit 816bba8 into symfony:2.1 Dec 16, 2012
@weaverryan
Copy link
Member

Hi Leszek!

Ah, this is great man! You can see that we don't have enough people looking at our XML examples, so thanks so much for doing this. I was also able to backport most of these changes to the 2.0 branch as well.

Thanks!

@wouterj
Copy link
Member

wouterj commented Dec 16, 2012

👍 for this, it was on my todo list to do in 2013. @weaverryan there are some other formats missing as well in code examples, it is maybe an idea to index where which format is missing to get someone looking at it?

@weaverryan
Copy link
Member

@wouterj that would be kind of fun :), someone just needs to write it (i.e. parse through the files for these blocks to see which are missing). Then we could at least run that little script from time-to-time to figure out where we're missing things. Going forward, we would ideally not merge anything without all formats, but in reality, some formats aren't used as much, so I tend to like to merge more quickly and add those other formats later. If we could get a quick list of missing places, that would certainly be cool!

@wouterj
Copy link
Member

wouterj commented Dec 17, 2012

@weaverryan ok, I'm on it! 🚂

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