phpactor: Method "cases" does not exist on class My\Beautiful\Enum

Hello,

I’m encountering an issue with enums `Method “cases” does not exist on class “xxxx”.

image

I was thinking it could be mason related as it doesn’t provide the latest version but after updating manually the problem persists. I’m using the latest version avaiable image

About this issue

  • Original URL
  • State: closed
  • Created 9 months ago
  • Comments: 17 (2 by maintainers)

Most upvoted comments

hm, ok, seems I can reproduce it on a real project vs. trying to reproduce arbitrarily 👍

image

Hey, just chiming in, I also have that issue:

CleanShot 2023-09-25 at 15 09 53

CleanShot 2023-09-25 at 15 10 29

Strangely enough, autocompletion works:

https://github.com/phpactor/phpactor/assets/16060559/75aa5a07-2aa4-43f0-ae58-34f1e228a998