mirror of
https://github.com/barryvdh/ReflectionDocBlock.git
synced 2026-08-17 17:47:13 +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:
|
||||
level: max
|
||||
ignoreErrors:
|
||||
|
||||
Reference in New Issue
Block a user