Skip to content

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

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

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 into1.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 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 [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 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
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.

0 participants