github dereuromark/cakephp-ide-helper 2.23.1

2 hours ago

Fixes

  • The model-aware class annotator now runs for classes that use LocatorAwareTrait or have a fetchTable() method, and annotates properties assigned via $this->Foo = $this->fetchTable('Foo'). Legacy fetchModel() 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 readonly properties and properties typed as Cake\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/Helper on CakePHP versions that ship them there, while still reading Command/Helper. #485
  • bin/cake annotate all -i no longer fails on an uninitialized interactive property. #484
  • Template variable annotations fall back to mixed when IdeHelper.autoCollect is 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 all after updating. Classes that assign tables through fetchTable() 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

Don't miss a new cakephp-ide-helper release

NewReleases is sending notifications on new releases.