2.8.0
Improvements
Table::getBehavior()
Added support for Table::getBehavior() autocomplete and behavior object discover.
This becomes now more important as behavior methods will need to be called directly on the behavior in the future.
The new @extends annotations also make it possible now for PHPStan to introspect your getBehavior() calls and see if those behaviors - and their methods - actually exist or throw an error otherwise.
It is enabled by default for CakePHP 5.2.2+. You can also use the configuration to adjust this and also fade out @mixin ones if you don't need them anymore. IdeHelper.tableBehaviors can be set to true/false/extends/mixin or null to autodetect.
In this context also hasBehavior() support has been added.
Migrations Base classes
The new (Phinx removed) Migrations Base classes are now supported for autocomplete.