github dereuromark/cakephp-ide-helper 2.17.0

9 hours ago

Fixes

  • Throw on file_put_contents / mkdir failures in the code-gen path so a silently swallowed write (full disk, EACCES on a read-only checkout, ENOSPC, NFS hiccup) no longer lets the command exit 0 while a source file is left zero-byte truncated. Affects AbstractAnnotator::storeFile(), Illuminator\TaskCollection::storeFile(), CodeCompletion\CodeCompletionGenerator, and GeneratePhpStormMetaCommand. Behavior on a healthy filesystem is unchanged.

Improvements

  • New optional PathAwareClassAnnotatorTaskInterface: a class annotator task can now declare extra directories that bin/cake annotate classes should walk on top of the default src/ and tests/TestCase/ scans. Tasks expose a static scanPaths(): array<string> returning project-root-relative (or plugin-root-relative under -p) paths. Fully back-compatible — the interface is opt-in and existing tasks behave exactly as before. Enables consumers like cakephp-fixture-factories to drop their bespoke annotate_factories command and reach tests/Factory/ (and similar trees) through the unified annotate classes entry point.

Full Changelog: 2.16.8...2.17.0

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

NewReleases is sending notifications on new releases.