Skip to content

Releases: dereuromark/cakephp-ide-helper

2.11.2

22 Jul 18:14
b7da2b7
Compare
Choose a tag to compare

Fixes

Full Changelog: 2.11.1...2.11.2

2.11.1

17 Jul 17:23
d94bf52
Compare
Choose a tag to compare

Improvements

  • Fixed CI status code for accumulated result
  • Improved non verbose output to by default contain the changes needed.

2.11.0

17 Jul 13:30
3883f47
Compare
Choose a tag to compare

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

30 Jun 10:34
cece0b9
Compare
Choose a tag to compare

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

25 Jun 09:06
0d7c4fa
Compare
Choose a tag to compare

Fixes

  • Allow class doc block finding also with attributes attached to them

2.10.0

25 May 12:47
16f6adf
Compare
Choose a tag to compare

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

12 May 00:09
0f04b86
Compare
Choose a tag to compare

Fixes

  • Fixed up callbacks to non-deprecated signature

2.9.0

28 Apr 01:37
3bef2c0
Compare
Choose a tag to compare

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

25 Apr 00:47
9cebdc2
Compare
Choose a tag to compare

Improvements

  • Improved variable parsing in templates

It now also finds variables inside double quoted strings like

echo "<strong>'{$url}'</strong>: $title ...";

2.8.3

22 Apr 13:25
0ab8b27
Compare
Choose a tag to compare

Fixes

  • Fixed up @extends annotation for comments or ! overwrite protector.