packagist dereuromark/cakephp-ide-helper 0.14.0

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

Improvements

Added an improved IDE meta file generator, using value objects and now supporting all (new) directives:

  • override() (already used a lot) for input+output coupling
  • expectedArguments() for arguments
  • expectedReturnValues() for return values
  • registerArgumentsSet() as helper

You can now easily add tasks for any method you want to improve the typehinting/autocomplete for.
See Generator (task) docs for details.

This is mainly for PHPStorm, as probably not many others support such a meta file.

Examples

Validator::requirePresence()

validation_autocomplete_validator_require_presence

Now not just bool true/false, but also the possible "magic strings" are typehinted and usable as single click/enter.

Upgrading

Make sure you upgrade custom generator tasks, and if you use Queue or other plugins that those also are updated to the matching new minor version there.

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

NewReleases is sending notifications on new releases.