Releases: dereuromark/cakephp-ide-helper
2.10.0
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
Fixes
- Fixed up callbacks to non-deprecated signature
2.9.0
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
Improvements
- Improved variable parsing in templates
It now also finds variables inside double quoted strings like
echo "<strong>'{$url}'</strong>: $title ...";
2.8.3
Fixes
- Fixed up
@extends
annotation for comments or!
overwrite protector.
2.8.2
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
Fixes
- Fixed up also other migration meta to new Base classes.
2.8.0
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
Improvements
- Added PHPUnit 12 support
- Dropped
phpstan/phpdoc-parser
v1 support
2.6.4
Improvements
- Compatibility with PHPStan parser v2