Releases: dereuromark/cakephp-ide-helper
0.9.5
Bugfixes
Fixed output of annotator. Count of added lines is now shown correctly.
0.9.4
Improvements
Also annotate the dynamic model factory calls:
- ModelAwareTrait:
$this->loadModel('Users')
- LocatorAwareTrait:
$this->getTableLocator()->get('Users')
0.9.3
Bugfixes
Use own error code (2) for CI and dry-run.
0.9.2
Enhancements
Static method call annotations
Added meta file generation for PHPStorm that allows static factory method calls to be typehinted.
For now mainly TableRegistry::get(...)
calls are supported out of the box.
You can also easily add your own custom tasks to be used for the generation of this file.
0.9.1
Enhancements
Allow App helpers to be added by default
0.9.0
Improvements
Allow removing outdated annotations
Careful: This is still an alpha feature and experimental. Please backup everything before using -r
flag and/or use -d
(dry run) preview.
Allow custom entity column/field types
Often times you have a custom mapping of e.g. JSON, array or mediumtext/longtext columns in your DB.
The Bake plugin does not handle them all currently.
With the custom map config typeMap
you can specify anything (and also overwrite the current IdeHelper defaults). If you want to unset, just set the value to false
for a specific key.
More enhancements
- A
preemptive
config option has been added to be more pre-annotative especially in View templates. - The output now is more verbose and tells you how many annotations have been added, updated, removed or skipped (due to comments those are considered custom annotations not to be touched).
- The mixin annotation is now fully supported.
- Method annotations can now have a description (also to prevent them from being modified or removed).
- Annotations can be marked as "in use" internally to avoid them being removed with
-r
flag.
0.8.5
Bugfixes
Normalize the diff output on CLI.
0.8.4
Enhancements
Added support for pagination annotations in Controllers.
This follows recent changes in Bake plugin that also does this.
0.8.3
Bugfixes
Allow for global phpcs installation to work well with this plugin.
0.8.2
Adjustments
Allow for new diff major.