Mark Scherer
Mark Scherer
I implemented this in the new tags repo @ https://github.com/dereuromark/cakephp-tags Using a basic tag_list property to store and retreive as string. Works for forms, easy enough for most use cases....
I implemented this in the new tags repo @ https://github.com/dereuromark/cakephp-tags You have to return the query for it to work, somehow this must have changed over the last versions of...
It probably cannot read the correct class from just "regex" or tokenize. In that case it would need to use AST and actually get the result via this. Might not...
We also might reach the limit of what static annotations can do What if you have two or three different paginations in a controller? In that case it would be...
Could we use AST to determine the object going into paginate() and then add inline annotations here?
Since you could have multiple different models with $this->paginate($query); now I feal like we should then only annotate it abstractly if possible. So no concrete collection but whatever subset as...
On the other side, the PHPStorm meta data maybe could be more concrete on the type of query and model being used, but that would be static and not runtime,...
Devilbox is not maintained anymore and as such not awesome https://github.com/ziadoz/awesome-php/pull/889 If you remove that, the rest can be re-considered.
Squash merge should be fine :+1:
Is there any interest in including this?