Published by dereuromark over 3 years ago
Allow using --ci flag on annotate subcommands
Published by dereuromark over 3 years ago
Fixed WinOS compatibility for Illuminator
Published by dereuromark almost 4 years ago
Skip table classes that have files ending in "Table" in the App\Model\Table namespace without them actually extending the CakePHP ORM Table class.
Published by dereuromark almost 4 years ago
Add (App) controller annotation for components where needed.
This helps to make application-specific controller usage available, e.g. loaded components.
Published by dereuromark almost 4 years ago
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:
setDirty()
, setError()
, getOriginal()
and othersunload()
auto-complete/suggestPublished by dereuromark almost 4 years ago
Added Configure key autocomplete for
Published by dereuromark almost 4 years ago
Fixed key collision of DatabaseTableColumnNameTask vs DatabaseTableColumnTypeTask
Published by dereuromark about 4 years ago
Published by dereuromark about 4 years ago
Added several IDE autocomplete/typehinting:
$table->removeBehavior($alias)
$this->Form->control()
PHPStan level 8 now.
Published by dereuromark about 4 years ago
Backported fix of ControllerAnnotator working with prefixed controllers (e.g. Admin)
Published by dereuromark over 4 years ago
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.
Published by dereuromark over 4 years ago
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:
Published by dereuromark over 4 years ago
Some backports to CakePHP 3.x
Published by dereuromark over 4 years ago
ExitPoint
Published by dereuromark over 4 years ago
Type::map()
autocomplete@property-read
(read-only).Router::pathUrl()
UrlHelper::buildFromPath()
HtmlHelper::linkFromPath()
Note: Requires cakephp/bake
2.1+ now and with it the new CakePHP TwigView plugin.
URL generation has never been this easy and fast. Type 1-2 chars and select quickly what you meant.
Almost mind-reading capability here :)
Published by dereuromark over 4 years ago
Fixed file existence checks for Translate task.
Published by dereuromark over 4 years ago
Fixed notice for Translate task.
Published by dereuromark over 4 years ago
FIxed generation of directives for chainable methods from Override
to ExpectedArguments
.
Added several more IDE autocomplete improvements as generator tasks.
The most useful and important one is autocomplete now for __()
and __d()
translating:
Also:
Published by dereuromark over 4 years ago
Column names:
Column types:
Published by dereuromark over 4 years ago
IdeHelper.plugins
. This makes it possible to already generate and annotate based on not loaded plugins, since plugins often do not have to be loaded to function.DatabaseTableTask
generator task. This task is useful when using Migrations plugin and creating Migration files.