Jaapio
aee984014b
Apply new code style
2019-09-20 10:54:12 +02:00
Chuck Burgess
5ea3cbf8cf
add missing typehints and return types;
2018-01-31 08:57:30 -06:00
Gabriel Caruso
a1e6160b99
Welcome 2018 🎉
2018-01-02 04:52:36 -02:00
Tomáš Votruba
bab88701ea
Add PHPStan and bump to max level ( #139 )
...
* composer: put require- together
* add phpstan
* add phpstan to travis
* phpstan fixes
* phpstan fixes
* phpstan fixes
* drop null defaults since every property is null by default
* DescriptionFactory: fix parse nullable type
* travis: add phpstan max
* travis: fix phpstan config
2017-12-02 19:12:29 +01:00
TomasVotruba
c19b4d170c
[cs] remove value-less docblocks
2017-11-30 10:27:01 +01:00
TomasVotruba
082c811880
remove unused docblocks
2017-11-30 10:27:01 +01:00
TomasVotruba
4a9675841b
add PHP 7.1 typehints
2017-11-30 10:27:01 +01:00
TomasVotruba
0bac84ee68
remove unused docblocks
2017-11-30 10:27:01 +01:00
TomasVotruba
5e1bad3628
drop asserts where not needed
2017-11-30 10:27:01 +01:00
TomasVotruba
193731a153
remove tests and validation that are now covered by typehints
2017-11-30 10:27:01 +01:00
TomasVotruba
d874c4d14a
add strict_types and typehints
2017-11-30 10:27:01 +01:00
TomasVotruba
5ff9ca38c5
[cs] finalize, spaces, concat and strict comparison
2017-11-12 21:23:54 +01:00
TomasVotruba
a872e515bb
[cs] add and apply psr2
2017-11-12 21:23:54 +01:00
TomasVotruba
771a21db91
[cs] use short arrays, order imports
2017-11-12 21:23:54 +01:00
TomasVotruba
c9c580e482
DocBlock: move public method up
2017-11-10 23:53:51 +01:00
Tomáš Votruba
c62f4592a0
DocBlock: add removeTag() method
2017-11-10 23:53:51 +01:00
Mike van Riel
52723f0fb8
Add aliases for Context class because newer phpunit versions have a global Context class
2016-02-26 21:44:16 +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
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