Skip to content

Commit fc9a7b8

Browse files
committed
set conditional tag
1 parent c3ecc19 commit fc9a7b8

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
"mikey179/vfsstream": "^1.6",
2222
"nexusphp/cs-config": "^3.3",
2323
"nexusphp/tachycardia": "^1.0",
24-
"phpstan/phpstan": "1.6.x-dev",
24+
"phpstan/phpstan": "^1.5.6",
2525
"phpunit/phpunit": "^9.1",
2626
"predis/predis": "^1.1",
2727
"rector/rector": "0.12.20"

phpstan.neon.dist

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
conditionalTags:
2+
PhpParser\NodeVisitor\NodeConnectingVisitor:
3+
phpstan.parser.richParserNodeVisitor: true
4+
15
services:
26
-
37
class: Utils\PHPStan\CheckUseStatementsAfterLicenseRule
@@ -7,10 +11,6 @@ services:
711
class: Utils\PHPStan\CheckFrameworkExceptionInstantiationViaNamedConstructorRule
812
tags:
913
- phpstan.rules.rule
10-
-
11-
class: PhpParser\NodeVisitor\NodeConnectingVisitor
12-
tags:
13-
- phpstan.parser.richParserNodeVisitor
1414

1515
includes:
1616
- phpstan-baseline.neon.dist

0 commit comments

Comments
 (0)