Skip to content

Releases: dereuromark/cakephp-ide-helper

2.10.0

25 May 12:47
16f6adf
Compare
Choose a tag to compare

Improvements

  • Add --file support for tooling based run

This enables watchers to be able to run for specific files created/modified.

node vendor/dereuromark/cakephp-ide-helper/annotate-watcher.cjs

Now when you bake, or modify your code, it will automatically run it in the background over the touched files.

2.9.1

12 May 00:09
0f04b86
Compare
Choose a tag to compare

Fixes

  • Fixed up callbacks to non-deprecated signature

2.9.0

28 Apr 01:37
3bef2c0
Compare
Choose a tag to compare

Improvements

request attribute auto complete

Added request attribute auto complete - #383

  • Quickly auto complete the available keys
  • See the returning type and quickly access it in the IDE for objects

Check out the PR and video demo for how it works.

Full Changelog: 2.8.4...2.9.0

2.8.4

25 Apr 00:47
9cebdc2
Compare
Choose a tag to compare

Improvements

  • Improved variable parsing in templates

It now also finds variables inside double quoted strings like

echo "<strong>'{$url}'</strong>: $title ...";

2.8.3

22 Apr 13:25
0ab8b27
Compare
Choose a tag to compare

Fixes

  • Fixed up @extends annotation for comments or ! overwrite protector.

2.8.2

18 Apr 13:32
494d869
Compare
Choose a tag to compare

Fixes

  • Fixed new @extends to respect actual parent class

Note: The auto enable for it has been moved to CakePHP 5.2.3+. if you want to use it beforehand, set the config to true or 'extends' here.

2.8.1

18 Apr 11:54
c2a732f
Compare
Choose a tag to compare

Fixes

  • Fixed up also other migration meta to new Base classes.

2.8.0

17 Apr 01:07
464ce2a
Compare
Choose a tag to compare

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.

2.7.0

31 Mar 18:46
76aba47
Compare
Choose a tag to compare

Improvements

  • Added PHPUnit 12 support
  • Dropped phpstan/phpdoc-parser v1 support

2.6.4

12 Mar 01:06
4376113
Compare
Choose a tag to compare

Improvements

  • Compatibility with PHPStan parser v2