Closed BrayanCaro closed 1 year ago
any workaround for this? may be just how to suspress the errors warning
In coc-settings.json you can set "intelephense.environment.phpVersion": "8.1.0"
(or later).
default is 7.4.0
That solves the issue, thank you so much!
Describe the bug A simple enum definition throws:
To Reproduce Create a file
foo.php
with:Expected behavior No errors excepted.
Screenshots![image](https://user-images.githubusercontent.com/41640423/186504346-982bcb0e-c2d3-4423-8cf3-bd4c567f3e9f.png)
Desktop