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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump the phpstan group with 3 updates #115

Merged
merged 1 commit into from Jan 1, 2024

Conversation

dependabot[bot]
Copy link
Contributor

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

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

Release notes

Sourced from phpstan/phpstan's releases.

1.10.50

Improvements 馃敡

Bugfixes 馃悰

Internals 馃攳

Commits
  • 06a9851 PHPStan 1.10.50
  • 39fe102 Updated PHPStan to commit 39fe102d23c8aec32b8c21225152e2d835d224b2
  • a532baf Updated PHPStan to commit a532baf63ebd292df1fcc5ccff27935917e6c285
  • 24f92cc Updated PHPStan to commit 24f92cc2a69cbeecefb8e2093c6db41138cc9398
  • ac7c75e Updated PHPStan to commit ac7c75e0581fbb35cae145609e2d06191677b52c
  • 40c8fb2 Updated PHPStan to commit 40c8fb2266f040158fb811ac13b21a3e179c022a
  • db1a52a WP CS in integration tests
  • 9367ba4 PHPStan 1.10.49
  • 71f6c4d Updated PHPStan to commit 71f6c4d5fc21b6e880412c67ce8f745367f24d3d
  • 7c83225 Updated PHPStan to commit 7c832255ba59922db3225ee763c109d6c1e29f7a
  • 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 @鈥媐rancescolaffi) (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

Updates shipmonk/phpstan-rules to 2.11.1

Release notes

Sourced from shipmonk/phpstan-rules's releases.

2.11.1

Fixes:

  • forbidEnumInFunctionArguments:
    • allow array_unique($enums, SORT_REGULAR) (#196)
    • deny also natcasesort (#197)
Commits
  • 3c286ce forbidEnumInFunctionArguments: deny also natcasesort (#197)
  • 0512340 forbidEnumInFunctionArguments: allow array_unique($enums, SORT_REGULAR) (#196)
  • baa841c ForbidNotNormalizedTypeRule: add testcase for never (#194)
  • 103bad2 forbidNotNormalizedType: fix config key (#193)
  • b11162b EnforceClosureParamNativeTypehintRule (#192)
  • 0630e81 ForbidNotNormalizedTypeRule (#185)
  • d5ec924 readme: link extra strictness section (#191)
  • 23089fe Assert all errors has proper identifier (#190)
  • deaf0c6 Enable more PHPStan's extra strictness (#187)
  • 6ff99cc Readme: add PHPStan extra strictness section (#188)
  • 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), [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 1.10.50
- [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.46...1.10.50)

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)

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

---
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
- dependency-name: shipmonk/phpstan-rules
  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 Jan 1, 2024
@xificurk
Copy link
Contributor

xificurk commented Jan 1, 2024

@dependabot squash and merge

@coveralls
Copy link

coveralls commented Jan 1, 2024

Pull Request Test Coverage Report for Build 7376323459

  • 0 of 0 changed or added relevant lines in 0 files are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage remained the same at 100.0%

Totals Coverage Status
Change from base Build 7058336882: 0.0%
Covered Lines: 27
Relevant Lines: 27

馃挍 - Coveralls

@dependabot dependabot bot merged commit ea2ab7a into master Jan 1, 2024
25 checks passed
@dependabot dependabot bot deleted the dependabot/composer/phpstan-cb6b4d37b6 branch January 1, 2024 09:18
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.

None yet

2 participants