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
Danilo Benevides
d022a71f54
Apply contribution guidelines to "Instance" rule
...
Also updates how the tests define the name of the instance by using the
class keyword [1] instead of a string with the class. That is useful
in code analyses be able to identify the usage of these
classes/interfaces.
[1] http://php.net/class#language.oop5.basic.class.class
Co-authored-by: Henrique Moody <henriquemoody@gmail.com>
2018-08-16 21:54:17 +02:00
Henrique Moody
e044e4b16e
Add some code standards for PHPUnit tests
...
Signed-off-by: Henrique Moody <henriquemoody@gmail.com>
2018-07-23 20:46:18 +02:00
Henrique Moody
c80524b457
Method assert()
should not have a return value
...
One this method should throw an exception when the input is not valid,
returning `TRUE` when it succeeds is not really consistent.
2018-01-28 17:38:40 +01:00
Henrique Moody
30dc089565
Method check()
should not have a return value
...
One this method should throw an exception when the input is not valid,
returning `TRUE` when it succeeds is not really consistent.
2018-01-28 17:38:40 +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
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
3e45647b81
Make all rules mandatory
2015-10-07 01:00:39 -03:00
Henrique Moody
757c3776af
Add @covers
and @group rule
on rule tests
2015-08-16 15:00:05 -03:00
Henrique Moody
02a1923eb5
Move unit tests to "tests/unit"
2015-08-11 13:36:25 -03:00