Commit Graph
21 Commits
Author SHA1 Message Date
Jaapio f0af3b7263 Add more tests 2020-08-12 15:27:12 +02:00
Jaapio 1ac416df3f Ensure docblock defaults 2020-07-21 10:16:41 +02:00
Jaapio aee984014b Apply new code style 2019-09-20 10:54:12 +02:00
Chuck Burgess 2f482c78b0 add tests for bug #63; 2018-01-07 08:50:54 -06:00
TomasVotruba 1c8f795c0e apply coding standard to code 2018-01-02 13:40:57 +01:00
Gabriel Caruso a1e6160b99 Welcome 2018 🎉 2018-01-02 04:52:36 -02:00
TomasVotruba f8d4fda4f3 fix cs 2017-11-30 10:27:01 +01:00
TomasVotruba e9e35284d9 use PHPUnit 6.0 syntax for tests 2017-11-30 10:27:01 +01:00
TomasVotruba 4a9675841b add PHP 7.1 typehints 2017-11-30 10:27:01 +01:00
TomasVotruba b2e816c8ad fix tests 2017-11-30 10:27:01 +01:00
TomasVotruba a1d8751ad6 tests: add strict_types and typehints, remove tests that are now covered by typehints 2017-11-30 10:27:01 +01:00
Gabriel Caruso 7524aba21f Fix tests 2017-11-15 08:29:42 +01:00
Gabriel Caruso c006d4a2d5 Use PHPUnit\Framework\TestCase instead of PHPUnit_Framework_TestCase 2017-11-15 08:29:42 +01:00
TomasVotruba dad79320b3 fix cs 2017-11-10 23:53:51 +01:00
TomasVotruba 0cb4b04fa6 add test for removeTag() 2017-11-10 23:53:51 +01:00
TomasVotruba 474fd9e29a add test for removeTag() 2017-11-10 23:53:51 +01:00
Jaapio e516af3a1b Allow only tags in Docblock argument
The array of tags in the docblock constructor should only contain tags.
Some of the factory methods of the tags are returning a null when the tag could not be created.
This causes issues during parsing. By filtering these null values in the factory this use is resolved.
2015-10-26 15:45:03 +01:00
Mike van Riel e1e2b5cd98 Tweak phpunit configuration and fix mocking errors 2015-06-13 21:46:07 +02:00
Mike van Riel ab3ebf467c Add assertions to DocBlock 2015-06-13 18:41:45 +02:00
Mike van Riel 5749b814fb Add test for DocBlock class 2015-06-13 18:01:00 +02:00
Mike van Riel 18ef0a8055 Refactored 90% of the library 2015-06-12 20:58:56 +02:00