Skip to content

Conversation

dependabot[bot]
Copy link
Contributor

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

Updates the requirements on phpstan/phpstan, phpstan/phpstan-strict-rules, spaze/phpstan-disallowed-calls and shipmonk/phpstan-rules to permit the latest version.
Updates phpstan/phpstan to 2.1.11

Release notes

Sourced from phpstan/phpstan's releases.

2.1.11

Improvements 🔧

Bugfixes 🐛

Function signature fixes 🤖

Commits
  • 8ca5f79 PHPStan 2.1.11
  • f2f2ddf Updated PHPStan to commit f2f2ddf44425cc58b5b1537ddce7cd06a9bba074
  • a3ce38e Updated PHPStan to commit a3ce38e6f1489aab4ddc475802d70a9d5af231d6
  • dca2a16 Update playground-api
  • a3039ef Updated PHPStan to commit a3039ef58efe8b303e9618272e50dfe85e74ff53
  • 02eb0a8 Updated PHPStan to commit 02eb0a833897bfa5c0ea5d4d2566ef71f3d13ae2
  • d27602f Update playground-runner
  • 051a3b6 PHPStan 2.1.10
  • 72d2f3b Updated PHPStan to commit 72d2f3b5b10faf9f388ad68b8271ece94bb53bc5
  • e6a3b1f Updated PHPStan to commit e6a3b1faf6f957fba1ec8bee7199f147d97d2ee5
  • Additional commits viewable in compare view

Updates phpstan/phpstan-strict-rules to 2.0.4

Release notes

Sourced from phpstan/phpstan-strict-rules's releases.

2.0.4

Commits

Updates spaze/phpstan-disallowed-calls to 4.4.1

Release notes

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

Classes in method params can be allowed by method attributes

This is a follow-up to the allowInMethodsWithAttributes feature added in 4.3.1.

When you disallow the Event class (with disallowedClasses) and would like to allow it again in a method that has the Attr attribute (see the example code below), the Event class should be allowed even in the method signature. Previously, it was flagged as a disallowed usage (#315)

class Handler
{
    #[Attr]
    public function foo(Event $event) // should be allowed too
    {
        $event = new Event(); // allowed
    }
}
Commits
  • b24661b Can get method/function attributes for params of disallowed classes (#315)
  • f462528 Can get method/function attributes for params of disallowed classes
  • a1eec11 Exclude ClassConstantTypeHint because we support older PHPs too (#313)
  • 6a03b44 Exclude ClassConstantTypeHint because we support older PHPs too
  • See full diff in compare view

Updates shipmonk/phpstan-rules to 4.1.1

Release notes

Sourced from shipmonk/phpstan-rules's releases.

4.1.1

Fixes:

Dependencies

  • phpstan/phpstan requires ^2.1.8 (#296)
Commits

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 will merge this PR once CI passes on it, as requested by @xificurk.


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 merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @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 [phpstan/phpstan](https://github.com/phpstan/phpstan), [phpstan/phpstan-strict-rules](https://github.com/phpstan/phpstan-strict-rules), [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 `phpstan/phpstan` to 2.1.11
- [Release notes](https://github.com/phpstan/phpstan/releases)
- [Changelog](https://github.com/phpstan/phpstan/blob/2.1.x/CHANGELOG.md)
- [Commits](phpstan/phpstan@2.1.6...2.1.11)

Updates `phpstan/phpstan-strict-rules` to 2.0.4
- [Release notes](https://github.com/phpstan/phpstan-strict-rules/releases)
- [Commits](phpstan/phpstan-strict-rules@2.0.3...2.0.4)

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

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

---
updated-dependencies:
- dependency-name: phpstan/phpstan
  dependency-version: 2.1.11
  dependency-type: direct:development
  dependency-group: phpstan
- dependency-name: phpstan/phpstan-strict-rules
  dependency-version: 2.0.4
  dependency-type: direct:development
  dependency-group: phpstan
- dependency-name: spaze/phpstan-disallowed-calls
  dependency-version: 4.4.1
  dependency-type: direct:development
  dependency-group: phpstan
- dependency-name: shipmonk/phpstan-rules
  dependency-version: 4.1.1
  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 Apr 1, 2025
@xificurk
Copy link
Contributor

xificurk commented Apr 1, 2025

@dependabot squash and merge

@dependabot dependabot bot merged commit 254a3ff into master Apr 1, 2025
31 checks passed
@dependabot dependabot bot deleted the dependabot/composer/phpstan-ce57b6e6c9 branch April 1, 2025 04:39
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.

1 participant