Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump the phpstan group with 2 updates #141

Closed
wants to merge 1 commit into from

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Jan 8, 2024

Updates the requirements on phpstan/phpstan and spaze/phpstan-disallowed-calls to permit the latest version.
Updates phpstan/phpstan to 1.10.55

Release notes

Sourced from phpstan/phpstan's releases.

1.10.55

Improvements 🔧

Bugfixes 🐛

Internals 🔍

Commits
  • 9a88f9d PHPStan 1.10.55
  • 886aef0 Fix
  • 8b6260c Updated PHPStan to commit 8b6260c21bacbfd653d26b9a8abef7996fd3fe46
  • 9dac90d Updated PHPStan to commit 9dac90dfd5fc809dd84fdac0532ecd51c6ae66bf
  • 5c50118 Updated PHPStan to commit 5c5011842b5b278b4b40e2087312e1af195e2143
  • be279db Updated PHPStan to commit be279dba72759bc53d3c95b0c9cb56302688c154
  • 9be1376 Updated PHPStan to commit 9be137675ebc41be5c9c7c230f96cab4dbf1f08e
  • bbd9a68 Updated PHPStan to commit bbd9a68478abbc500b6398968cc85d0d1ae8d3eb
  • 72289d7 Updated PHPStan to commit 72289d7fa7de0217c5915007180795ff063962bc
  • 53a61dc Updated PHPStan to commit 53a61dc8674fe5c61fcc08efe08221e919661132
  • Additional commits viewable in compare view

Updates spaze/phpstan-disallowed-calls to 3.0.0

Release notes

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

Param values with PHPdoc typeString, attributes on properties and more reported, no "because reasons" in errors, more rules for the same call, few possible bw compat breaks

New major version because some major new features in this release, and some potential backwards compatibility breaks, if you use the extension in one way or another, all described below.

New features

  • Can specify params with a doctype in typeString config option (#234) You can now specify dis/allowed parameter values as PHPDoc string like typeString: 'foo'|'bar' or typeString: 'array{}' etc. instead of just value: scalar
  • Support more attribute targets: properties, class constants, params (#225) Disallowed attributes will now be also reported when used on/with those.

Changed

  • No "because reasons", because reasons (#221) (Possible backwards compatibility break, if you ignore error messages in your config) Previously, if there was no message key in the disallowed configuration, "because reasons" was added automatically. I thought it was funny back when this was an internal extension only, but maybe it's not anymore. So there's no "because reasons" anymore, and the error message will always end with a full stop ., unless it already ends with one, or unless it ends with ? or !.
  • Define extension parameters as a structure (#222, #231 and a follow-up in #229 thanks to @​francescolaffi) (Possible BC break, if you have a typo in your config, you may suddenly be alerted about it) Bye typos, at least some of them.
  • Can add more rules for the same call to have different messages for various params (#232) (Possible BC break if you for some reason relied on the order of the rules for the same function or method)
  • The allowExceptParamsInAllowed description in docs was flipped around (#235)

Internal test changes

  • Use the DI container in tests (#223, #228)
  • Merge test libs dir into src (#227)
  • Rename attribute tests and drop ClassWithAttributesAllow (#230)
Commits
  • 69935c9 The allowExceptParamsInAllowed description was flipped around (#235)
  • 8a94288 The allowExceptParamsInAllowed description was flipped around
  • 9e710ee Remove double newlines from test file, not needed here
  • 9118889 Remove test case comments that are no longer true
  • 048ad86 Can specify params with a doctype in typeString config option (#234)
  • 29a5955 Can specify params with a doctype in typeString config option
  • ee8ec5f Can add more rules for the same call to have different messages for various p...
  • a6056d8 Can add more rules for the same call to have different messages for various p...
  • 5d722f7 *AnyValue param configs have no value field (#231)
  • 1b0ee0b *AnyValue param configs have no value field
  • Additional commits viewable 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 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) and [spaze/phpstan-disallowed-calls](https://github.com/spaze/phpstan-disallowed-calls) to permit the latest version.

Updates `phpstan/phpstan` to 1.10.55
- [Release notes](https://github.com/phpstan/phpstan/releases)
- [Changelog](https://github.com/phpstan/phpstan/blob/1.11.x/CHANGELOG.md)
- [Commits](phpstan/phpstan@1.10.40...1.10.55)

Updates `spaze/phpstan-disallowed-calls` to 3.0.0
- [Release notes](https://github.com/spaze/phpstan-disallowed-calls/releases)
- [Commits](spaze/phpstan-disallowed-calls@v2.16.1...v3.0.0)

---
updated-dependencies:
- dependency-name: phpstan/phpstan
  dependency-type: direct:development
  dependency-group: phpstan
- dependency-name: spaze/phpstan-disallowed-calls
  dependency-type: direct:development
  dependency-group: phpstan
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file php Pull requests that update Php code labels Jan 8, 2024
@xificurk
Copy link
Contributor

xificurk commented Jan 8, 2024

@dependabot squash and merge

Copy link
Contributor Author

dependabot bot commented on behalf of github Jan 8, 2024

One of your CI runs failed on this pull request, so Dependabot won't merge it.

Dependabot will still automatically merge this pull request if you amend it and your tests pass.

Copy link
Contributor Author

dependabot bot commented on behalf of github Jan 8, 2024

Looks like these dependencies are updatable in another way, so this is no longer needed.

@dependabot dependabot bot closed this Jan 8, 2024
@dependabot dependabot bot deleted the dependabot/composer/phpstan-665347e090 branch January 8, 2024 22:04
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