Skip to content

Bump dereuromark/cakephp-ide-helper from 2.18.0 to 2.21.0#24

Open
dependabot[bot] wants to merge 1 commit into
masterfrom
dependabot/composer/dereuromark/cakephp-ide-helper-2.21.0
Open

Bump dereuromark/cakephp-ide-helper from 2.18.0 to 2.21.0#24
dependabot[bot] wants to merge 1 commit into
masterfrom
dependabot/composer/dereuromark/cakephp-ide-helper-2.21.0

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Jun 15, 2026

Copy link
Copy Markdown
Contributor

Bumps dereuromark/cakephp-ide-helper from 2.18.0 to 2.21.0.

Release notes

Sourced from dereuromark/cakephp-ide-helper's releases.

2.21.0

Improvements

  • Added configurable property type annotations through IdeHelper.propertyTypeMap. This allows apps to add more specific PHPDoc types for declared properties such as $helpers, $components, $actsAs or $paginate without narrowing the native property type and breaking BC. Generated annotations use regular multiline property PHPDoc blocks and preserve existing indentation, including tabs.
  • ResultSetInterface return type detection now respects disabled object generics and parameter generics.

Recommended config for CakePHP 5.4+:

'IdeHelper' => [
    'propertyTypeMap' => [
        'actsAs' => 'array<string, mixed>',
        'helpers' => 'array<int|string, string|array<string, mixed>>',
        'components' => 'array<int|string, string|array<string, mixed>>',
        'paginate' => 'array<string, mixed>',
    ],
],

Full Changelog: dereuromark/cakephp-ide-helper@2.20.0...2.21.0

2.20.0

Improvements

  • Entities: pure virtual fields now get a @property-read tag instead of @property. A field counts as read-only when it has a _get...() accessor but no backing DB column / association and no matching _set...() mutator. Writable fields (real columns, associations, or a _get/_set pair) keep the plain @property tag.

Full Changelog: dereuromark/cakephp-ide-helper@2.19.3...2.20.0

2.19.3

Improvements

  • Helper annotations now emit a generic extends tag so PHPStan stops reporting missingType.generics on app and plugin helpers. It is gated by a reflection check on the base View Helper, so it self-disables on cores where the base helper is not generic and never emits an over-specified generic on a non-generic parent.

Full Changelog: dereuromark/cakephp-ide-helper@2.19.2...2.19.3

2.19.2

Fixes

  • Corrected ResultSetInterface arity in generated table @method annotations. It now emits ResultSetInterface<int, TEntity> (two type params) for saveMany/saveManyOrFail/deleteMany/deleteManyOrFail returns, fixing missingType.generics under strict PHPStan. Applies in all modes, including the default. (#455)

Improvements

  • Basic generics mode (IdeHelper.genericsInParam set to true) no longer leaves params as a bare array. The get() $finder, findOrCreate() $search, and loadInto() $contain params now carry a generic type, so PHPStorm gets generic info without the detailed shapes it cannot handle. (#454)
  • Basic generics mode is now strict-PHPStan clean: findOrCreate() $search emits SelectQuery<TEntity>, associative option/condition arrays use array<string, mixed>, and $contain keeps the loose array<mixed> for the list form. The false and 'detailed' modes are unchanged apart from the arity fix above. (#455)

Full Changelog: dereuromark/cakephp-ide-helper@2.19.1...2.19.2

2.19.1

Fixes

... (truncated)

Commits
  • 88f51d9 Fix property type annotation docblock format (#462)
  • 91a733b Document custom enum type detection (enum- prefix requirement) (#461)
  • c217786 Fix ResultSetInterface return type ignoring objectAsGenerics / genericsInPara...
  • 9f15dcf Add configurable property type annotator (#459)
  • 2dac084 Annotate pure virtual entity fields as read-only (property-read) (#458)
  • 8205dea Emit extends annotation for helpers (PHPStan generics) (#456)
  • d45d685 Bump vue from 3.5.34 to 3.5.35 in /docs (#453)
  • 3761e6a Make basic generics strict-PHPStan clean and fix ResultSetInterface arity (#455)
  • 2e27d7b Emit array<mixed> for finder/search/contain params in basic generics mode (#454)
  • 1462c4d Add rector (conservative wins-only ruleset) (#452)
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [dereuromark/cakephp-ide-helper](https://github.com/dereuromark/cakephp-ide-helper) from 2.18.0 to 2.21.0.
- [Release notes](https://github.com/dereuromark/cakephp-ide-helper/releases)
- [Commits](dereuromark/cakephp-ide-helper@2.18.0...2.21.0)

---
updated-dependencies:
- dependency-name: dereuromark/cakephp-ide-helper
  dependency-version: 2.21.0
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file php Pull requests that update php code labels Jun 15, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file php Pull requests that update php code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants