Open lekoala opened 2 days ago
Not that I'm aware of... Is there anything that needs changing for 5.3? I hadn't noticed any problems...
well, they don't need changing, but they really benefit from it eg
becomes
i have this project where i use phpstan and this really helped a lot
in ss5.3, they also added things like
which implies that any class extending Extension should specify what T is (really annoying, but easy to automate)
more difficult, we have this
and this is where it gets messy, because pages are mixins within controllers, and I didn't manage to get something that makes phpstan happy so far (it's probably a right mix of extends/implements rules to find)
https://phpstan.org/blog/generics-in-php-using-phpdocs#class-level-generics
Ah, that sounds useful indeed. I'm currently not living in the Silverstripe world much, so I've not kept up with the latest changes :)
hi,
recently upgraded my project to ss 5.3
is there any plan to change things for @method blocks ?
thanks :)