Skip to content

Bump spaze/phpstan-disallowed-calls from 4.8.0 to 4.9.2#999

Closed
dependabot[bot] wants to merge 1 commit intomainfrom
dependabot/composer/spaze/phpstan-disallowed-calls-4.9.2
Closed

Bump spaze/phpstan-disallowed-calls from 4.8.0 to 4.9.2#999
dependabot[bot] wants to merge 1 commit intomainfrom
dependabot/composer/spaze/phpstan-disallowed-calls-4.9.2

Conversation

@dependabot
Copy link
Copy Markdown
Contributor

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

Bumps spaze/phpstan-disallowed-calls from 4.8.0 to 4.9.2.

Release notes

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

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.

Built-in functions + definedIn fix

  • Short-cut "defined in" checks for built-in functions and methods (#384) (Now they're not flagged anymore)

Internal changes

  • Mention properties in README (#380) (Hmm, naming the extension "disallowed calls" wasn't as clever as I though back then)
  • Fix --prefer-lowest installs PHPStan 2.x instead of 1.x (#382, thanks @​Copilot) Tests are now again running on PHPStan 1.x as well

Can disallow properties

Naming is hard, so that's why this Disallowed Calls extension now supports disallowing instance and static properties, and enum properties with disallowProperties (#378)

Other (mostly) internal changes

  • Add generics to Generator (#372)
  • Handle all the include types in the switch (#373)
  • Upgrade Dead Code Detector (#375, thanks @​janedbal)
  • Make the disallowedSuperglobals docs more clear that it doesn't recommend $_REQUEST (#377)

Oh, a Friday 13th release! 👻

Commits
  • 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...
  • 382dd9b Short-cut "defined in" checks for built-in functions and methods (#384)
  • d721abc Short-cut "defined in" checks for built-in functions and methods
  • f70f46d Fix --prefer-lowest installs PHPStan 2.x instead of 1.x (#382)
  • 034639d Allow PHPStan 1.x testing by removing dead-code-detector in CI for --prefer-l...
  • 9f9ddf8 Mention properties in README (#380)
  • 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 1, 2026
@dependabot dependabot bot force-pushed the dependabot/composer/spaze/phpstan-disallowed-calls-4.9.2 branch from c4f1575 to 615b94c Compare April 2, 2026 05:30
Bumps [spaze/phpstan-disallowed-calls](https://github.com/spaze/phpstan-disallowed-calls) from 4.8.0 to 4.9.2.
- [Release notes](https://github.com/spaze/phpstan-disallowed-calls/releases)
- [Commits](spaze/phpstan-disallowed-calls@v4.8.0...v4.9.2)

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

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot force-pushed the dependabot/composer/spaze/phpstan-disallowed-calls-4.9.2 branch from 615b94c to a0c381a Compare April 2, 2026 05:31
@dependabot @github
Copy link
Copy Markdown
Contributor Author

dependabot bot commented on behalf of github Apr 7, 2026

Superseded by #1002.

@dependabot dependabot bot closed this Apr 7, 2026
@dependabot dependabot bot deleted the dependabot/composer/spaze/phpstan-disallowed-calls-4.9.2 branch April 7, 2026 01:22
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