mirror of
https://github.com/barryvdh/ReflectionDocBlock.git
synced 2026-08-18 01:57:13 +00:00
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
This commit is contained in:
committed by
Jaap van Otterdijk
parent
c19b4d170c
commit
bab88701ea
@@ -0,0 +1,10 @@
|
||||
parameters:
|
||||
ignoreErrors:
|
||||
# false positive
|
||||
- '#Call to an undefined method object::getDocComment\(\)#'
|
||||
- '#Cannot call method render\(\) on phpDocumentor\\Reflection\\DocBlock\\Description\|string#'
|
||||
- '#Calling method create\(\) on possibly null value of type phpDocumentor\\Reflection\\DocBlock\\DescriptionFactory\|null#'
|
||||
- '#Calling method resolve\(\) on possibly null value of type phpDocumentor\\Reflection\\(TypeResolver|FqsenResolver)\|null#'
|
||||
|
||||
# nested parents
|
||||
- '#Calling method render\(\) on possibly null value of type phpDocumentor\\Reflection\\DocBlock\\Description\|string\|null#'
|
||||
Reference in New Issue
Block a user