Skip to content

Commit

Permalink
Update to nikic/php-parser 4.4.0
Browse files Browse the repository at this point in the history
  • Loading branch information
ondrejmirtes committed Apr 11, 2020
1 parent 836d227 commit 2514514
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
"nette/robot-loader": "^3.2.2",
"nette/schema": "^1.0",
"nette/utils": "^3.1.1",
"nikic/php-parser": "^4.3.0",
"nikic/php-parser": "^4.4.0",
"ondram/ci-detector": "^3.1",
"ondrejmirtes/better-reflection": "^4.0.1",
"phpstan/phpdoc-parser": "^0.4.3",
Expand Down
2 changes: 1 addition & 1 deletion src/Rules/PhpDoc/InvalidPhpDocVarTagTypeRule.php
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ public function processNode(Node $node, Scope $scope): array
$varTagType instanceof ErrorType
|| ($varTagType instanceof NeverType && !$varTagType->isExplicit())
) {
$errors[] = RuleErrorBuilder::message(sprintf('%s contains unresolvable type.', $identifier))->line($docComment->getLine())->build();
$errors[] = RuleErrorBuilder::message(sprintf('%s contains unresolvable type.', $identifier))->line($docComment->getStartLine())->build();
continue;
}

Expand Down

0 comments on commit 2514514

Please sign in to comment.