Fixes
- The model-aware class annotator now runs for classes that use
LocatorAwareTraitor have afetchTable()method, and annotates properties assigned via$this->Foo = $this->fetchTable('Foo'). LegacyfetchModel()calls are still picked up. #484 - Table property annotations are skipped for properties that already have a native typed declaration, now in the model-aware task as well as the controller annotator, including
readonlyproperties and properties typed asCake\ORM\Table. #485 - Callback annotator tasks disabled with a falsy config value are no longer loaded. #484
- The PhpStorm meta console helper task also finds helpers in
Console/Helperon CakePHP versions that ship them there, while still readingCommand/Helper. #485 bin/cake annotate all -ino longer fails on an uninitializedinteractiveproperty. #484- Template variable annotations fall back to
mixedwhenIdeHelper.autoCollectis not a plain type string. #485 - The entity meta task skips tables without a resolvable entity class instead of failing. #484
- The generated code completion file header names the current command,
bin/cake generate code_completion. #484
Upgrade notes
- Re-run
bin/cake annotate allafter updating. Classes that assign tables throughfetchTable()get new property annotations, so a CI dry-run check will report changes until they are committed.
Full Changelog: 2.23.0...2.23.1