cakephp-ide-helper

IDE Helper plugin for CakePHP

MIT License

Downloads
1.5M
Stars
183
Committers
25
cakephp-ide-helper - 0.13.17

Published by dereuromark about 5 years ago

Bugfixes

Fixed doc block finding for abstract classes.

cakephp-ide-helper - 0.13.16

Published by dereuromark about 5 years ago

Improvements

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.

cakephp-ide-helper - 0.13.15

Published by dereuromark about 5 years ago

Bugfixes

  • Added support for annotations in traits. So far this was only possible for classes.
  • Fix save() typehints
  • Use class intersection instead of union for associations
cakephp-ide-helper - 0.13.14

Published by dereuromark over 5 years ago

Improvements

Improve merging of default tasks for simple value-only case (numeric key) in configs.

cakephp-ide-helper - 0.13.13

Published by dereuromark over 5 years ago

Bugfixes

Fixed controller annotator for model annotations. Thanks @dakota for the help here.

cakephp-ide-helper - 0.13.12

Published by dereuromark over 5 years ago

Bugfixes

Fixed interface annotations.

cakephp-ide-helper - 0.13.11

Published by dereuromark over 5 years ago

Improvements

  • Allow customizing/extending native annotators.
  • Small refactors.
cakephp-ide-helper - 0.13.10

Published by dereuromark over 5 years ago

Improvements

  • Added CommandAnnotator for annotating commands and their loadModel() usage.

Bugfixes

  • Fixed loadModel() calls that cannot be resolved to a concrete Table class to at least annotate the core fallback Table class.
cakephp-ide-helper - 0.13.9

Published by dereuromark over 5 years ago

Improvements

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.

Bugfixes

Fixed ordering for meta files and removed invalid class from there.

cakephp-ide-helper - 0.13.8

Published by dereuromark over 5 years ago

Bugfixes

Fixed saveOrFail() annotation.

cakephp-ide-helper - 0.13.7

Published by dereuromark over 5 years ago

Improvements

Filter by search string in file name for EntityField Illuminator task.

Bugfixes

Fixed edge cases for EntityField Illuminator task.

cakephp-ide-helper - 0.13.6

Published by dereuromark over 5 years ago

Improvements

Added Illuminator tool

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:

  • EntityField task to expose your entity fields as class constants for cleaner usage in IDEs

fields

Please add your ideas/improvements/tasks as issue or pull request.

cakephp-ide-helper - 0.13.5

Published by dereuromark over 5 years ago

Bugfixes

  • Fixed virtual annotations to not duplicate when getter method (for lazyloading or as accessors) is present
  • Fixed annotations for belongs to many relationship with a through class that belongs to a plugin

Thanks to @dakota here!

cakephp-ide-helper - 0.13.4

Published by dereuromark over 5 years ago

Improvements

Annotations for virtual entity properties

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.

cakephp-ide-helper - 0.13.3

Published by dereuromark almost 6 years ago

Bugfixes

  • Fixed inheritdoc usage to be less strict
  • Fixed -r (remove) to ignore also used properties and methods inside a class (so far only variables worked)
  • Fixed classes and callbacks annotation commands to be included in all again if not run as -r (remove), if they are run standalone, there is no such -r option anymore.
cakephp-ide-helper - 0.13.2

Published by dereuromark almost 6 years ago

Improvements

Added plugins autocomplete for addPlugin() calls.

cakephp-ide-helper - 0.13.1

Published by dereuromark almost 6 years ago

Improvements

  • Removed deprecations. Now CakePHP 3.7+
  • Better handling of loading models in Controller annotations. Now doesn't fail hard anymore if the table doesn't exist and continues with a warning.
cakephp-ide-helper - 0.13.0

Published by dereuromark almost 6 years ago

Improvements

Added nullable information into Entity annotations.

Before:

 * @property \Cake\I18n\FrozenTime $completed

After (based on schema "Default NULL"):

 * @property \Cake\I18n\FrozenTime|null $completed
cakephp-ide-helper - 0.12.7

Published by dereuromark about 6 years ago

Improvements

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.

Bugfixes

Fixed EntityAnnotator to not annotate non-existing entities. It will now fall back to the core generic one instead.

cakephp-ide-helper - 0.12.6

Published by dereuromark about 6 years ago

Bugfixes

Fixed HABTM through aliases.

Package Rankings
Top 1.19% on Packagist.org
Badges
Extracted from project README
CI Coverage Status PHPStan Minimum PHP Version