Published by dereuromark about 5 years ago
Fixed doc block finding for abstract classes.
Published by dereuromark about 5 years ago
Add @uses
annotations for magically/indirectly invoked test classes to quick-jump to the corresponding classes that are tested, mainly for Controller and Command tests.
Published by dereuromark about 5 years ago
Published by dereuromark over 5 years ago
Improve merging of default tasks for simple value-only case (numeric key) in configs.
Published by dereuromark over 5 years ago
Fixed controller annotator for model annotations. Thanks @dakota for the help here.
Published by dereuromark over 5 years ago
Fixed interface annotations.
Published by dereuromark over 5 years ago
Published by dereuromark over 5 years ago
CommandAnnotator
for annotating commands and their loadModel()
usage.loadModel()
calls that cannot be resolved to a concrete Table class to at least annotate the core fallback Table
class.Published by dereuromark over 5 years ago
Allow -p PluginName
to also work on non-loaded plugins. Before you had to load plugins before you could run this on them. But since many plugins do not need CakePHP plugin loading to work, this would be annoying.
Until this autoloading is supported in Core, IdeHelper shims this using its own App and Plugin class wrappers.
Fixed ordering for meta files and removed invalid class from there.
Published by dereuromark over 5 years ago
Fixed saveOrFail() annotation.
Published by dereuromark over 5 years ago
Filter by search string in file name for EntityField Illuminator task.
Fixed edge cases for EntityField Illuminator task.
Published by dereuromark over 5 years ago
The Illuminator can modify your PHP files based on Illuminator rulesets.
You can use the pre-set tasks, or create your own to enhance your PHP files and classes.
Each task has its own scope defined, based on path or filename.
If that doesnt match, it will be skipped.
bin/cake illuminator illuminate <path>
It ships with the following tasks:
Please add your ideas/improvements/tasks as issue or pull request.
Published by dereuromark over 5 years ago
Thanks to @dakota here!
Published by dereuromark over 5 years ago
Virtual entity properties are now supported in EntityAnnotator. Those added annotations can even be used in IDEs to "detect usage" of those inside the code for these virtual properties (get...() methods
). So the annotations are really useful to keep in sync with your code.
An example can be found here.
Published by dereuromark almost 6 years ago
Published by dereuromark almost 6 years ago
Added plugins autocomplete for addPlugin()
calls.
Published by dereuromark almost 6 years ago
Published by dereuromark almost 6 years ago
Added nullable information into Entity annotations.
Before:
* @property \Cake\I18n\FrozenTime $completed
After (based on schema "Default NULL"):
* @property \Cake\I18n\FrozenTime|null $completed
Published by dereuromark about 6 years ago
Uses a whitelist for template extensions now.
By default only ctp
and php
template files are processed and modified by TemplateAnnotator.
To adjust the template extensions being processed set IdeHelper.templateExtensions
via Configure.
Fixed EntityAnnotator to not annotate non-existing entities. It will now fall back to the core generic one instead.
Published by dereuromark about 6 years ago
Fixed HABTM through aliases.