Skip to content

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

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

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

Conversation

@dependabot
Copy link
Copy Markdown
Contributor

@dependabot dependabot bot commented on behalf of github Apr 20, 2026

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

Release notes

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

Allow or disallow classes/namespaces in param or return types

Allow or disallow classes/namespaces in param or return type hint positions (#392)

Applies only to disallowedNamespaces and disallowedClasses, the following configuration keys let you permit (or restrict) a class or namespace based on whether it appears as a parameter type hint or a return type hint in a function or method signature, and ban (or allow) using it elsewhere, for example in the method body.

  • allowInParamTypes: true
  • allowExceptInParamTypes: true (or the disallowInParamTypes alias)
  • allowInReturnType: true
  • allowExceptInReturnType: true (or the disallowInReturnType alias)

See the docs for examples.

Note: to enable usage in use imports use allowInUse: true.

Internal changes

  • Normalize PHPUnit PHP version requirements to X.Y.Z to eliminate test-runner warnings (#393, thanks @​Copilot)
  • Rework allowInMethodsWithAttributes in signatures to use a node visitor (#395)
Commits
  • fda0f67 Rework allowInMethodsWithAttributes in signatures to use a node visitor (#395)
  • 353de84 Verified imported attributes resolve to FQCN in allowInMethodsWithAttributes
  • be852e7 Use fully qualified name when reflecting function attributes
  • 2bc4302 Rework allowInMethodsWithAttributes in signatures to use a node visitor
  • 4ca9a07 Allow or disallow classes/namespaces in param or return type hint positions (...
  • 4eb2485 Try it without bumping the PHP requirement to 8.1+ for now
  • ae6d1cd Bump minimum PHP requirement to PHP 8.1
  • cae793f Allow or disallow disallowedNamespaces/disallowedClasses in param/return type...
  • a07df08 Normalize PHPUnit PHP version requirements to X.Y.Z to eliminate test-runne...
  • 461eb93 test: normalize RequiresPhp and @​requires PHP constraints to x.y.z
  • 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.10.0 to 4.11.0.
- [Release notes](https://github.com/spaze/phpstan-disallowed-calls/releases)
- [Commits](spaze/phpstan-disallowed-calls@v4.10.0...v4.11.0)

---
updated-dependencies:
- dependency-name: spaze/phpstan-disallowed-calls
  dependency-version: 4.11.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 20, 2026
@dependabot dependabot bot requested a review from norberttech as a code owner April 20, 2026 04:53
@dependabot dependabot bot added the php Pull requests that update php code label Apr 20, 2026
@dependabot @github
Copy link
Copy Markdown
Contributor Author

dependabot bot commented on behalf of github Apr 21, 2026

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

@dependabot dependabot bot closed this Apr 21, 2026
@dependabot dependabot bot deleted the dependabot/composer/tools/phpstan/spaze/phpstan-disallowed-calls-4.11.0 branch April 21, 2026 09:51
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