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
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
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
d874c4d14a
add strict_types and typehints
2017-11-30 10:27:01 +01:00
TomasVotruba
a872e515bb
[cs] add and apply psr2
2017-11-12 21:23:54 +01:00
Niklas Keller
4e19318f81
Escape literal "%" because of vsprintf
...
Fixes #81 .
2016-08-23 08:13:57 +02: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
Mike van Riel
19c75b3950
Write tests for DescriptionFactory and adjust components for minor bugs that were found
2015-06-26 12:16:45 +02:00
Mike van Riel
53d5adb324
Descriptions were not separated into tags
2015-06-13 20:27:27 +02:00
Mike van Riel
e586a50170
Remove final from DescriptionFactory; making an interface is overkill
2015-06-13 18:02:05 +02:00
Mike van Riel
2c18f0e883
Work towards stabilizing the API.
...
- Changed Tag to an interface and flattened hierarchy
- Changed Description to accept a list of tags and a template
- Allow auto-wiring when constructing tags
2015-06-13 14:30:43 +02:00
Mike van Riel
18ef0a8055
Refactored 90% of the library
2015-06-12 20:58:56 +02:00