Closed robbieaverill closed 1 year ago
Isn't this pretty much what is covered in #114 ?
I like the use statement addition though, but I'm not sure how to parse that, would probably end up using regex to check if it's already there...
This is only a valid issue if the shortname feature is enabled.
I agree though, it's pretty annoying
Closing this for now, changing use
statements feels like touching active code, which I'd rather avoid.
Feel free to open again if you disagree.
Example model:
When running dev/build you'll get this in the Foo docblock:
It's missing
use SilverStripe\ORM\DataList;
imported - this is a bug