Pint Version
1.26.0
PHP Version
8.4.14
Description
I have the same issue as #408.
From that issue it seems the issue was php version confusion. Though I'm running using DDEV, I only have a single php version inside the Docker container and no php installed on the host machine. So there can't be any php version confusion going on.
It was also reported in #336. There it stated as fixed due to parent fix. But no real confirmation or test on Pint's side.
Hope someone can confirm this issue.
Steps To Reproduce
new \DateTime()->getTimestamp();
Gives Parse error: syntax error, unexpected token "->" on line