mirror of
https://github.com/barryvdh/ReflectionDocBlock.git
synced 2026-08-18 10:07:12 +00:00
Add phpstan baseline to ignore unused code
This commit is contained in:
@@ -0,0 +1,21 @@
|
|||||||
|
parameters:
|
||||||
|
ignoreErrors:
|
||||||
|
-
|
||||||
|
message: "#^Unused phpDocumentor\\\\Reflection\\\\DocBlock\\\\ExampleFinder\\:\\:getExampleDirectories$#"
|
||||||
|
count: 1
|
||||||
|
path: src/DocBlock/ExampleFinder.php
|
||||||
|
|
||||||
|
-
|
||||||
|
message: "#^Unused phpDocumentor\\\\Reflection\\\\DocBlock\\\\ExampleFinder\\:\\:setExampleDirectories$#"
|
||||||
|
count: 1
|
||||||
|
path: src/DocBlock/ExampleFinder.php
|
||||||
|
|
||||||
|
-
|
||||||
|
message: "#^Unused phpDocumentor\\\\Reflection\\\\DocBlock\\\\ExampleFinder\\:\\:setSourceDirectory$#"
|
||||||
|
count: 1
|
||||||
|
path: src/DocBlock/ExampleFinder.php
|
||||||
|
|
||||||
|
-
|
||||||
|
message: "#^Unused phpDocumentor\\\\Reflection\\\\DocBlock\\\\Tags\\\\Factory\\\\MethodParameterFactory\\:\\:formatNull$#"
|
||||||
|
count: 1
|
||||||
|
path: src/DocBlock/Tags/Factory/MethodParameterFactory.php
|
||||||
@@ -1,3 +1,6 @@
|
|||||||
|
includes:
|
||||||
|
- phpstan-baseline.neon
|
||||||
|
|
||||||
parameters:
|
parameters:
|
||||||
level: max
|
level: max
|
||||||
ignoreErrors:
|
ignoreErrors:
|
||||||
|
|||||||
Reference in New Issue
Block a user