Skip to content

Releases: dereuromark/cakephp-ide-helper

0.9.5

15 Sep 08:44
Compare
Choose a tag to compare

Bugfixes

Fixed output of annotator. Count of added lines is now shown correctly.

0.9.4

07 Sep 17:39
Compare
Choose a tag to compare

Improvements

Also annotate the dynamic model factory calls:

  • ModelAwareTrait: $this->loadModel('Users')
  • LocatorAwareTrait: $this->getTableLocator()->get('Users')

0.9.3

06 Sep 18:05
Compare
Choose a tag to compare

Bugfixes

Use own error code (2) for CI and dry-run.

0.9.2

05 Sep 23:38
Compare
Choose a tag to compare

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

04 Sep 17:23
Compare
Choose a tag to compare

Enhancements

Allow App helpers to be added by default

0.9.0

30 Aug 00:53
Compare
Choose a tag to compare

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

22 Aug 08:25
Compare
Choose a tag to compare

Bugfixes

Normalize the diff output on CLI.

0.8.4

17 Aug 08:27
Compare
Choose a tag to compare

Enhancements

Added support for pagination annotations in Controllers.
This follows recent changes in Bake plugin that also does this.

0.8.3

08 Aug 12:10
Compare
Choose a tag to compare

Bugfixes

Allow for global phpcs installation to work well with this plugin.

0.8.2

07 Aug 12:06
Compare
Choose a tag to compare

Adjustments

Allow for new diff major.