Henrique Moody
e0fbed32c9
Update list of currency codes
...
Also updates the script that updates the currency codes.
Signed-off-by: Henrique Moody <henriquemoody@gmail.com>
2020-05-20 15:02:44 +02:00
Henrique Moody
2d0f56d9cb
Merge branch '1.1'
...
This commit will revert the update of subdivision codes [1] since the
way we store this data is very different from the merged branch.
[1]: 8b8f7db713
Signed-off-by: Henrique Moody <henriquemoody@gmail.com>
2019-05-29 23:17:53 +02:00
Henrique Moody
45d109fc83
Update list of currency codes
...
This commit will also create a Bash script to update that list in the
future.
Signed-off-by: Henrique Moody <henriquemoody@gmail.com>
2019-05-28 08:10:06 +02:00
Henrique Moody
ef8a8f4b27
Turn LICENSE file into plain/text
...
There is no need for that file to be a Markdown, and it can be a plain
text file.
Signed-off-by: Henrique Moody <henriquemoody@gmail.com>
2019-05-23 16:21:34 +02:00
Henrique Moody
6040ddee42
Fix the case of the "@inheritDoc" tag
...
According to the official documentation [1] the correct way of writing
the "inheritDoc" tag is with the uppercase "D".
[1]: https://docs.phpdoc.org/guides/inheritance.html
Signed-off-by: Henrique Moody <henriquemoody@gmail.com>
2019-04-05 19:02:12 +02:00
Henrique Moody
ee1d49a2cf
Apply "Squiz.PHP.CommentedOutCode"
...
Signed-off-by: Henrique Moody <henriquemoody@gmail.com>
2019-02-09 14:08:41 +01:00
William Espindola
a463f8ab2d
Apply contribution guidelines to "CurrencyCode" rule
...
Also makes the rule case-sensitive since that is how ISO 4217
shows the currency codes.
Co-authored-by: Henrique Moody <henriquemoody@gmail.com>
2018-06-18 20:55:43 +02:00
Henrique Moody
ccf60f0ee3
Method validate()
should always return a boolean
2018-01-28 17:38:36 +01:00
Henrique Moody
ef975629f3
Changes on PHP-CS-Fixer configuration
...
Because of `declare(strict_types=1)` some changes were necessary.
2018-01-04 17:59:37 +01:00
Henrique Moody
fd1964d887
Merge branch '1.1'
2017-10-16 10:43:22 +02:00
Tim Strijdhorst
c013fac277
Fix currency code for Belarusian Ruble
...
References:
- https://en.wikipedia.org/wiki/ISO_4217
- http://www.xe.com/iso4217.php
2017-10-16 10:16:47 +02:00
Henrique Moody
f34a34c0b2
Always use mbstring functions
2016-10-30 10:45:30 +01:00
Justin Hook
4145faab39
Create "CurrencyCode" rule
2015-10-18 14:42:39 -02:00