silverleague / silverstripe-ideannotator

Generate docblocks for DataObjects, Page, PageControllers and (Data)Extensions
BSD 3-Clause "New" or "Revised" License
46 stars 25 forks source link

Crash when using Versioned.versioned #143

Closed oddnoc closed 1 year ago

oddnoc commented 2 years ago

In projects using the Versioned::class . '.versioned' variant (versions without staging, see docs), the annotator throws:

ERROR [UNKNOWN TYPE, ERRNO -1]: Uncaught ReflectionException: Class "SilverStripe\Versioned\Versioned.versioned" does not exist

Firesphere commented 2 years ago

I noticed this as well in other places. It's the dot notation that breaks things specifically

Firesphere commented 1 year ago

This should be resolved in 3.2.3.