Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

[Validation] Update CardScheme#2115

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
weaverryan merged 2 commits intosymfony:masterfromSgoettschkes:card_scheme
Jan 11, 2013
Merged

[Validation] Update CardScheme#2115

weaverryan merged 2 commits intosymfony:masterfromSgoettschkes:card_scheme
Jan 11, 2013

Conversation

Sgoettschkes
Copy link
Contributor

The CardScheme validator changed with PRsymfony/symfony#6583, so I improved the docs, mentioning that it now takes a mixed parameter and also clarifying that this parameter can be either a string or an array.


This option is required and represents the name of the number scheme used to
validate the credit card number. Valid values are:
validate the credit card number. It can either be a String or an Array. Valid
Copy link
Member

Choose a reason for hiding this comment

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

I tend to prefervalidate the credit card number, it can either....

And you should lowercasestring andarray, otherwise you are talking about non existing String and Array classes.

@Sgoettschkes
Copy link
ContributorAuthor

I improved the docs as suggested by@wouterj

weaverryan added a commit that referenced this pull requestJan 11, 2013
@weaverryanweaverryan merged commit5065822 intosymfony:masterJan 11, 2013
@weaverryan
Copy link
Member

Thanks Sebastian!

@SgoettschkesSgoettschkes deleted the card_scheme branchJanuary 12, 2013 22:07
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Reviewers
No reviews
Assignees
No one assigned
Labels
None yet
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

3 participants
@Sgoettschkes@weaverryan@wouterj

[8]ページ先頭

©2009-2025 Movatter.jp