Skip to content

Bump spaze/phpstan-disallowed-calls from 4.9.1 to 4.10.0#279

Open
dependabot[bot] wants to merge 1 commit intodevelopfrom
dependabot/composer/spaze/phpstan-disallowed-calls-4.10.0
Open

Bump spaze/phpstan-disallowed-calls from 4.9.1 to 4.10.0#279
dependabot[bot] wants to merge 1 commit intodevelopfrom
dependabot/composer/spaze/phpstan-disallowed-calls-4.10.0

Conversation

@dependabot
Copy link
Copy Markdown
Contributor

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

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

Release notes

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

Can disallow global

Can disallow (some) keywords with disallowedKeywords, only global supported for now (#390)

parameters:
    disallowedKeywords:
        -
            keyword: 'global'
            allowIn:
                - 'legacy/*'

Built-in functions + definedIn fix take 2

This release includes a proper fix for the "defined in" checks originally fixed in 4.9.1. (#388)

As a necessary side effect, unknown functions (functions where their reflection is not available) won't be reported as disallowed anymore, if configured, by this extension as is the case with for example methods already.

Commits
  • 501b212 Can disallow (some) keywords, global for now (#390)
  • a7a3e6d Can disallow (some) keywords, global for now
  • cc78e77 Don't process the function name if the function reflection is not available (...
  • 3ed5553 The Dom\import_simplexml() is available only in PHP 8.4+ and wouldn't be flag...
  • 560f0ac Don't expect errors generated by mysql functions which do not exist anymore
  • b1f026f Add Foo\Bar\waldo() otherwise tests fail
  • 4c47a81 Don't process the function name if there's the function reflection is not ava...
  • See full diff 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.9.1 to 4.10.0.
- [Release notes](https://github.com/spaze/phpstan-disallowed-calls/releases)
- [Commits](spaze/phpstan-disallowed-calls@v4.9.1...v4.10.0)

---
updated-dependencies:
- dependency-name: spaze/phpstan-disallowed-calls
  dependency-version: 4.10.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 6, 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