Alexandre Gomes Gaigalas
cc3bf86b2f
Use libphonenumber
...
Doing regex on phone numbers is not a great idea. This is a breaking
change, but a good one. Phone validation is now much stricter, and
allows choosing the country.
2023-02-19 00:19:10 -03:00
Alexandre Gomes Gaigalas
ab3732f91f
Use SPDX IDs for licensing
...
SPDX IDs are shorter than licensing notes previously used, and
adhere better to FOSS standards. It is also machine-readable.
2023-02-19 00:19:10 -03:00
Alexandre Gomes Gaigalas
15f148da24
Dusting off. See CHANGELOG.md for more details on this commit
2023-02-13 03:59:11 -03:00
Henrique Moody
f53b77a186
Add support for PHP 8.0
...
We already supported PHP 8.0 as our constrains in the "composer.json"
file was ">=7.3", but we were not testing it before.
Because of that, I found a bug on "EndsWith" which is fixed now.
Signed-off-by: Henrique Moody <henriquemoody@gmail.com>
2020-08-28 08:53:41 +02:00
Henrique Moody
3145426472
Update version of "respect/coding-standard"
...
With that update, we will be fully following PSR-12.
Signed-off-by: Henrique Moody <henriquemoody@gmail.com>
2020-07-21 22:54:41 +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
6efb9db429
Apply "SlevomatCodingStandard.Arrays.TrailingArrayComma"
...
Signed-off-by: Henrique Moody <henriquemoody@gmail.com>
2019-02-09 14:17:09 +01:00
Henrique Moody
880103c55f
Apply "SlevomatCodingStandard.Functions.StaticClosure"
...
Signed-off-by: Henrique Moody <henriquemoody@gmail.com>
2019-02-09 14:13:35 +01:00
Henrique Moody
5bdffaa51b
Apply "Generic.Arrays.ArrayIndent"
...
Signed-off-by: Henrique Moody <henriquemoody@gmail.com>
2019-02-09 14:07:52 +01:00
Henrique Moody
bfdea5b5bd
Apply contribution guidelines to "ResourceType" rule
...
Signed-off-by: Henrique Moody <henriquemoody@gmail.com>
2018-03-27 00:44:48 +02: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
fa030637cc
Fix wrong call to PHPUnit assertions
...
The assertion methods are all static, therefore they should be called
with self::assert* instead of $this->assert*.
2017-11-12 14:35:19 +01:00
Gabriel Caruso
93ce9cb93a
Updated to PHPUnit 6
2017-11-12 14:22:22 +01:00
Henrique Moody
d67394cd39
Escape fully qualified class names
2017-02-04 14:01:14 +01:00
Henrique Moody
4d72af312f
Update PHP-CS-Fixer settings
2016-10-30 10:39:23 +01:00
Henrique Moody
9c49dd3bcf
Use short array syntax
2015-10-17 22:56:32 -03:00
Henrique Moody
88865267d9
Rename rule "Resource" to "ResourceType"
2015-10-07 12:44:19 -03:00