- Issue created by @kingdutch
- Status changed to Fixed
about 1 year ago 8:36am 13 April 2024 - 🇦🇹Austria klausi 🇦🇹 Vienna
Thanks for reporting!
We don't need to throw out this check, we can modernize if from the upstream Squiz standard which already implemented closure support.
It was a bit of a riddle to figure out, but thanks to our test cases I got it working: https://github.com/pfrenssen/coder/pull/223
I had to disable one test that did even a bit more semantics checking, which should really be done by phpstan.
And merged!
Automatically closed - issue fixed for 2 weeks with no activity.