Releases: dereuromark/cakephp-ide-helper
2.11.2
Fixes
- Adjust to skip URLs in link annotations. by @dereuromark in #392
Full Changelog: 2.11.1...2.11.2
2.11.1
Improvements
- Fixed CI status code for accumulated result
- Improved non verbose output to by default contain the changes needed.
2.11.0
Improvements
CI run
IdeHelper can now run in CI pipelines using --ci
flag, e.g. add this after phpunit, phpstan, and cs:
- vendor/bin/phpunit
- vendor/bin/phpstan
- vendor/bin/phpcs
- bin/cake annotate all -d --ci
This requires the test
DB connection to be up and migrations run (up to date tables).
This helps to make sure PRs are fully up to date on the annotations, as those are often needed for PHPStan to fully understand the code and be able to give proper feedback.
For larger projects you might need to raise also memory limit:
- php -d memory_limit=1G bin/cake.php annotate all -d --ci
Note how it requires the -d
/--dry-run
flag here to not modify any code, only report it.
Full Changelog: 2.10.2...2.11.0
2.10.2
Improvements
- Allow using
@link
instead of@uses
for tests to avoid PHPUnit clash (which wants to make it attributes).
Note: There is no auto-migration. Find and replace all occurances of @uses \...
in your tests folder with the link replacement and only then switch on the feature toggle IdeHelper.preferLinkOverUsesInTests
for it.
2.10.1
Fixes
- Allow class doc block finding also with attributes attached to them
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.