Skip to content
This repository has been archived by the owner on Dec 11, 2020. It is now read-only.

+1 SWIFT/BIC payment type #465

Merged
merged 3 commits into from
Nov 21, 2014
Merged

+1 SWIFT/BIC payment type #465

merged 3 commits into from
Nov 21, 2014

Conversation

ronanguilloux
Copy link
Contributor

Uppercasing Swift/Bic values seems to be common practice, even though ISO-9362 specification & the related Wikipedia Page both avoid giving particular indications on that matter.

I used the new Faker's Regex-based generator, and I presume any unit test may be useless here, since BaseProvider::regexify() is already test-covered.

@@ -280,4 +280,15 @@ protected static function addBankCodeChecksum($iban, $countryCode = '')
{
return $iban;
}

/**
+ * Return the String of a SWIFT/BIC number
Copy link
Contributor

Choose a reason for hiding this comment

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

Typo (the plus sign)

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Thanks!

@fzaninotto
Copy link
Owner

Great! Could you also update the README and the upper part of the Generator class (to let IDE guess the new formatter)?

@ronanguilloux
Copy link
Contributor Author

I should have read the CONTRIBUTING.md 👈 ...

fzaninotto added a commit that referenced this pull request Nov 21, 2014
@fzaninotto fzaninotto merged commit d6d0d9d into fzaninotto:master Nov 21, 2014
@fzaninotto
Copy link
Owner

Thanks!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants