Skip to content

build(deps-dev): bump spaze/phpstan-disallowed-calls from 4.11.0 to 4.12.0 in /tools/phpstan#2338

Closed
dependabot[bot] wants to merge 1 commit into
1.xfrom
dependabot/composer/tools/phpstan/spaze/phpstan-disallowed-calls-4.12.0
Closed

build(deps-dev): bump spaze/phpstan-disallowed-calls from 4.11.0 to 4.12.0 in /tools/phpstan#2338
dependabot[bot] wants to merge 1 commit into
1.xfrom
dependabot/composer/tools/phpstan/spaze/phpstan-disallowed-calls-4.12.0

Conversation

@dependabot
Copy link
Copy Markdown
Contributor

@dependabot dependabot Bot commented on behalf of github Apr 29, 2026

Bumps spaze/phpstan-disallowed-calls from 4.11.0 to 4.12.0.

Release notes

Sourced from spaze/phpstan-disallowed-calls's releases.

classPattern directive, allowInInstanceOf wildcards, param conditions in more places

New

  • classPattern param directive matches a parameter's declared class name against a wildcard pattern using fnmatch() (#412, docs example #417)
  • allowInInstanceOf/disallowInInstanceOf now support fnmatch() wildcard patterns (#399, docs example #417) and param conditions (#401)
  • Param conditions also work with allowExceptIn/allowExceptInMethods and their disallowIn* aliases (#414)
  • allowExceptParamsAnywhere and disallowParamsAnywhere aliases for allowExceptParams/disallowParams to match other *Anywhere directives (#410)

Bugfixes

  • typeString: descriptive exception on parse failure (#407)
  • Empty string in typeString now throws an exception, and '0' (a string consisting of 0) is now a valid typeString (#409)
  • First-class callable syntax (func(...)) with param conditions is now handled correctly (#418)
  • allowExceptInFunctions/allowExceptInMethods with multiple entries only checked the first one, not anymore (#405)

Internal changes

  • Added CLAUDE.md (#403, export-ignored in #413)
  • export-ignore phpstan-dead-code-detector.php from release archives (#413)
Commits
  • 5b69dc0 First-class callables with parameter conditions (#418)
  • aecdc11 First-class callables with parameter conditions
  • 5f183d1 Add a comment to hasAllowedParams() $paramsRequired param
  • d0af76f Add example combining disallowInInstanceOf wildcard with classPattern (#417)
  • 83dab80 Add example combining disallowInInstanceOf wildcard with classPattern
  • 785481b Support param conditions in allowExceptIn and allowExceptInMethods (#414)
  • d9ad222 Support param conditions in allowExceptIn and allowExceptInMethods
  • 3d0cf30 Document allowParamsInAllowed compatibility with path and method directives
  • ab06749 Export-ignore CLAUDE.md and phpstan-dead-code-detector.php (#413)
  • 2feb3e5 Export-ignore CLAUDE.md and phpstan-dead-code-detector.php
  • Additional commits viewable in compare view

@dependabot dependabot Bot added dependencies Pull requests that update a dependency file php Pull requests that update php code labels Apr 29, 2026
@dependabot dependabot Bot requested a review from norberttech as a code owner April 29, 2026 04:40
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file php Pull requests that update php code labels Apr 29, 2026
@norberttech
Copy link
Copy Markdown
Member

@dependabot rebase

1 similar comment
@norberttech
Copy link
Copy Markdown
Member

@dependabot rebase

Bumps [spaze/phpstan-disallowed-calls](https://github.com/spaze/phpstan-disallowed-calls) from 4.11.0 to 4.12.0.
- [Release notes](https://github.com/spaze/phpstan-disallowed-calls/releases)
- [Commits](spaze/phpstan-disallowed-calls@v4.11.0...v4.12.0)

---
updated-dependencies:
- dependency-name: spaze/phpstan-disallowed-calls
  dependency-version: 4.12.0
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot force-pushed the dependabot/composer/tools/phpstan/spaze/phpstan-disallowed-calls-4.12.0 branch from d59d63e to 39a0e6e Compare May 1, 2026 13:36
@dependabot @github
Copy link
Copy Markdown
Contributor Author

dependabot Bot commented on behalf of github May 1, 2026

Looks like this PR is already up-to-date with 1.x! If you'd still like to recreate it from scratch, overwriting any edits, you can request @dependabot recreate.

@dependabot @github
Copy link
Copy Markdown
Contributor Author

dependabot Bot commented on behalf of github May 2, 2026

Looks like spaze/phpstan-disallowed-calls is up-to-date now, so this is no longer needed.

@dependabot dependabot Bot closed this May 2, 2026
@dependabot dependabot Bot deleted the dependabot/composer/tools/phpstan/spaze/phpstan-disallowed-calls-4.12.0 branch May 2, 2026 09:58
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 size: XS

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant