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 spaze/phpstan-disallowed-calls from 2.15.1 to 2.16.0 #547

Merged

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Jul 27, 2023

Bumps spaze/phpstan-disallowed-calls from 2.15.1 to 2.16.0.

Release notes

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

Detect disallowed interface methods, docs update

Method calls from interface implementations are now detected (#212, @​enumag wrote the test, thanks)

So you can disallow Interface::method() and Implementation::method() will also be detected. It already worked for constructors so makes sense to support it generally.

Attributes in config can be specified like #[\Foo()], not just like Foo (#207)

Make copy/pasting attribute names more straightforward. Similar already works for method calls etc.

Split the README into multiple smaller files (#209 + #210)

The README file was getting way too big already, making it shorter also gives better overview of what the extension does.

Internal changes

  • Specify all required test files explicitly in given order and test all libs loaded (#213) And write a test to test that all test files are actually required because I don't trust anyone (=me) to not forget to add that file. Autoloading them seemed fine but the order could be more or less random which could break some tests, and it did.
  • Use more precise list<type> instead of type[] where possible (#214)
Commits
  • c7a80cc Use more precise list\<type> instead of type[] where possible (#214)
  • 65fb9e8 Use more precise list<type> instead of type[] where possible
  • adf917d Detect disallowed interface methods (#212)
  • 4005114 Detect disallowed interface methods
  • afff2e3 Add test for detecting disallowed interface methods
  • 9acab79 Specify all required files explicitly in given order and test all libs loaded...
  • 3816596 Specify all required files explicitly in given order and test all libs loaded
  • 5e92127 Document custom rulesets (#210)
  • 9e7ce96 Document custom rulesets
  • 2e8626c Split the README into multiple smaller files (#209)
  • Additional commits viewable in compare view

Dependabot compatibility score

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 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 ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

@dependabot dependabot bot added the dependencies Pull requests that update a dependency file label Jul 27, 2023
@dependabot dependabot bot force-pushed the dependabot/composer/spaze/phpstan-disallowed-calls-2.16.0 branch 2 times, most recently from 54b967a to 3163182 Compare July 28, 2023 20:36
Bumps [spaze/phpstan-disallowed-calls](https://github.com/spaze/phpstan-disallowed-calls) from 2.15.1 to 2.16.0.
- [Release notes](https://github.com/spaze/phpstan-disallowed-calls/releases)
- [Commits](spaze/phpstan-disallowed-calls@v2.15.1...v2.16.0)

---
updated-dependencies:
- dependency-name: spaze/phpstan-disallowed-calls
  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-2.16.0 branch from 3163182 to da8b3f4 Compare July 28, 2023 20:37
@staabm staabm enabled auto-merge (squash) July 28, 2023 20:38
@staabm staabm merged commit d39d392 into main Jul 28, 2023
5 checks passed
@staabm staabm deleted the dependabot/composer/spaze/phpstan-disallowed-calls-2.16.0 branch July 28, 2023 20:38
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
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant