Skip to content

Bump the phpstan group with 2 updates#112

Merged
github-actions[bot] merged 1 commit into
masterfrom
dependabot/composer/phpstan-933b551932
May 2, 2026
Merged

Bump the phpstan group with 2 updates#112
github-actions[bot] merged 1 commit into
masterfrom
dependabot/composer/phpstan-933b551932

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github May 2, 2026

Copy link
Copy Markdown
Contributor

Updates the requirements on spaze/phpstan-disallowed-calls and shipmonk/phpstan-rules to permit the latest version.
Updates spaze/phpstan-disallowed-calls 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

Updates shipmonk/phpstan-rules to 4.3.7

Release notes

Sourced from shipmonk/phpstan-rules's releases.

4.3.7

Fixes:

  • forbidVariableTypeOverwriting: fix false positive with fluent $this returns (#350)
  • forbidUnusedException & forbidUnusedMatchResult support remaining edge cases like string concat (#353)
  • forbidUselessNullableReturn: fix false positive with property hooks (shipmonk-rnd/phpstan-rules#355)
Commits
  • a46689f forbidUselessNullableReturn: fix false positive with property hooks (#355)
  • a4fb1a2 UnusedVisitors: use Stmt\Expression instead of long allowlists (#353)
  • 5004b35 forbidVariableTypeOverwriting: fix false positive with fluent $this returns...
  • See full diff in compare view

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 <dependency name> major version will close this group update PR and stop Dependabot creating any more for the specific dependency's major version (unless you unignore this specific dependency's major version or upgrade to it yourself)
  • @dependabot ignore <dependency name> minor version will close this group update PR and stop Dependabot creating any more for the specific dependency's minor version (unless you unignore this specific dependency's minor version or upgrade to it yourself)
  • @dependabot ignore <dependency name> will close this group update PR and stop Dependabot creating any more for the specific dependency (unless you unignore this specific dependency or upgrade to it yourself)
  • @dependabot unignore <dependency name> will remove all of the ignore conditions of the specified dependency
  • @dependabot unignore <dependency name> <ignore condition> will remove the ignore condition of the specified dependency and ignore conditions

Updates the requirements on [spaze/phpstan-disallowed-calls](https://github.com/spaze/phpstan-disallowed-calls) and [shipmonk/phpstan-rules](https://github.com/shipmonk-rnd/phpstan-rules) to permit the latest version.

Updates `spaze/phpstan-disallowed-calls` to 4.12.0
- [Release notes](https://github.com/spaze/phpstan-disallowed-calls/releases)
- [Commits](spaze/phpstan-disallowed-calls@v4.9.2...v4.12.0)

Updates `shipmonk/phpstan-rules` to 4.3.7
- [Release notes](https://github.com/shipmonk-rnd/phpstan-rules/releases)
- [Commits](shipmonk-rnd/phpstan-rules@4.3.6...4.3.7)

---
updated-dependencies:
- dependency-name: spaze/phpstan-disallowed-calls
  dependency-version: 4.12.0
  dependency-type: direct:development
  dependency-group: phpstan
- dependency-name: shipmonk/phpstan-rules
  dependency-version: 4.3.7
  dependency-type: direct:development
  dependency-group: phpstan
...

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 May 2, 2026
@github-actions
github-actions Bot merged commit a3f0332 into master May 2, 2026
34 checks passed
@dependabot
dependabot Bot deleted the dependabot/composer/phpstan-933b551932 branch May 2, 2026 01:57
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