Hi
Attribute node is showing the same loc for both start and end. Source is also undefined. For example this code:
<?php
#[Deprecated(
reason: 'since Symfony 5.2, use setPublic() instead',
replacement: '%class%->setPublic(!%parameter0%)'
)]
class Tag implements \JsonSerializable
{
}
produces this AST:
{
source: undefined,
start: { line: 5, column: 1, offset: 124 },
end: { line: 5, column: 1, offset: 124 }
}
Hi
Attribute node is showing the same loc for both start and end. Source is also undefined. For example this code:
produces this AST: