Skip to content

Releases: dereuromark/cakephp-ide-helper

1.10.0

04 Jan 19:34
f595d82
Compare
Choose a tag to compare

Improvements

With PHPStorm 2020.3.1 they finally fixed the broken/buggy behavior around meta data and trait/inheritance usage.
Now it works as expected for PHP and as such we can now ship some really awesome and useful new features for it:

  • Entity auto-complete/suggest for setDirty(), setError(), getOriginal() and others
  • Component unload() auto-complete/suggest

img_entity

1.9.0

03 Dec 00:40
Compare
Choose a tag to compare

Improvements

Added Configure key autocomplete for

  • Configure::read()
  • Configure::readOrFail()
  • Configure::check()
  • Configure::write()
  • Configure::delete()
  • Configure::consume()
  • Configure::consumeOrFail()

ide-helper-configure

1.8.2

31 Oct 23:47
Compare
Choose a tag to compare

Fixes

Fixed key collision of DatabaseTableColumnNameTask vs DatabaseTableColumnTypeTask

1.8.1

21 Oct 14:02
1098d6a
Compare
Choose a tag to compare

Fixes

  • Don't fail table task on empty DB.

Improvements

  • Allowed new diff dependency v4.
  • Allowed array support for foreign keys

1.8.0

02 Oct 09:15
5345205
Compare
Choose a tag to compare

Improvements

Added several IDE autocomplete/typehinting:

  • $table->removeBehavior($alias)
  • $this->Form->control()

PHPStan level 8 now.

0.14.10

19 Aug 09:37
Compare
Choose a tag to compare

Fixes

Backported fix of ControllerAnnotator working with prefixed controllers (e.g. Admin)

1.7.1

24 Jun 10:22
Compare
Choose a tag to compare

Fixes

Fixed finders to be found and collected also in Table classes by default.
So far only behavior ones were included and one had to use a special config for the others.

1.7.0

01 Jun 14:25
b43c0c2
Compare
Choose a tag to compare

Improvements

Fixture auto-complete added (CakePHP 4.1+)

       /**
         * @return string[]
         */
        protected function getFixtures(): array 
        {
            $this->addFixture('core.Articles')
                ->addFixture('app.SomeModel')
                ->addFixture('plugin.Some/ComplicatedName.SomePluginModel');

            return parent::getFixtures();
        }

Example image:
fixtures

0.14.9

03 May 17:14
5a2c006
Compare
Choose a tag to compare

Improvements

Some backports to CakePHP 3.x

1.6.0

01 May 17:08
Compare
Choose a tag to compare

Improvements

  • Added new 2020.01 meta directive ExitPoint
  • Print out existing/used sets for easier reuse in verbose mode of the generator

Fixes

  • Do not include abstract table classes.