mirror of
https://github.com/danog/psalm.git
synced 2025-01-22 05:41:20 +01:00
Add start/end file offsets for better Psalm errors
This commit is contained in:
parent
67338c4bf5
commit
83a6f914a7
@ -754,7 +754,12 @@ abstract class ClassLikeChecker extends SourceChecker implements StatementsSourc
|
||||
new PhpParser\Node\Expr\StaticCall(
|
||||
new PhpParser\Node\Name(['parent']),
|
||||
'__construct',
|
||||
$fake_constructor_stmt_args
|
||||
$fake_constructor_stmt_args,
|
||||
[
|
||||
'line' => $this->class->getLine(),
|
||||
'startFilePos' => $this->class->getAttribute('startFilePos'),
|
||||
'endFilePos' => $this->class->getAttribute('endFilePos'),
|
||||
]
|
||||
),
|
||||
];
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user