Skip to content

Releases: dereuromark/cakephp-ide-helper

2.8.0

17 Apr 01:07
464ce2a

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

Choose a tag to compare

Improvements

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

2.6.4

12 Mar 01:06
4376113

Choose a tag to compare

Improvements

  • Compatibility with PHPStan parser v2

2.6.3

21 Dec 01:23
123208e

Choose a tag to compare

Improvements

  • Improve MailerClassAnnotatorTask: Chainable usage now preferred:
       $this->getMailer('User')->send('forgotPassword', [$user]);
    will be annotated as
        /** @uses \App\Mailer\UserMailer::forgotPassword() */
       $this->getMailer('User')->send('forgotPassword', [$user]);
    To be able to follow it through a click in the IDE and also for the method to be checkable for usage (IDE => jump to the usage).

2.6.2

09 Dec 10:30
8c1c1cf

Choose a tag to compare

Improvements

  • Added 'ignoreDatabaseTables' config for DatabaseTableTask

2.6.1

25 Nov 12:31
af0db30

Choose a tag to compare

Fixes

  • Fix up FQCN for property annotations in entity.
  • Fix up plugin wildcard.

2.6.0

22 Nov 14:12
67b97b3

Choose a tag to compare

Improvements

  • Allow wildcard for partial match on plugin option: MyNamespace/* would run over all such matching app plugins
  • Allow -p all to run over all app plugins

1.21.0

22 Nov 14:03
0677bba

Choose a tag to compare

Fixes

  • Fix disabling of class tasks

Improvements

  • Allow wildcard for partial match on plugin option: MyNamespace/* would run over all such matching app plugins
  • Allow -p all to run over all app plugins

2.5.4

21 Nov 17:10
63e869a

Choose a tag to compare

Fixes

  • Fix disabling of class tasks

2.5.3

17 Oct 10:11
c920840

Choose a tag to compare

Fixes

  • Fixed up findOrCreate() annotation.
  • Reverted wrong annotation change.