packagist dereuromark/cakephp-ide-helper 0.13.19

latest releases: dev-master, dev-dereuromark-patch-1, dev-better-event-method-annotation...
5 years ago

Improvements

Allow auto-collecting view template variables from (ctp/php) files.
This has two key benefits:

  • Adding them into the annotations on the top, including some auto-guessing of types
  • Prevents adding invalid annotations (for local scoped or assignment variables)

Demo

This is how your template could currently look like:
Screenshot from 2019-09-03 11-45-57

This is what IdeHelper template annotator finds and displayes in dry-run output:
Screenshot from 2019-09-03 11-45-19
Let's apply them for real (without -d).

After letting the annotator update the annotations the errors go away:
Screenshot from 2019-09-03 11-48-33

Don't miss a new cakephp-ide-helper release

NewReleases is sending notifications on new releases.