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

Update phpstan/phpstan requirement from 1.5.7 to 1.6.0 #63

Closed
wants to merge 1 commit into from

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Apr 26, 2022

Updates the requirements on phpstan/phpstan to permit the latest version.

Release notes

Sourced from phpstan/phpstan's releases.

1.6.0

Read the article about PHPStan 1.6.0 »

Major new features 🚀

  • Conditonal return types (pull requests), #3853, big thanks to @​rvanvelzen!
    • Allows return types in the form of @return ($i is positive-int ? non-empty-array : array) (don't forget the parentheses!)
    • Another possible form is with generic @template tags: @return (T is positive-int ? non-empty-array : array)
  • int-mask<...> and int-mask-of<...> types (#1166), thanks @​rvanvelzen!
  • Allow global constants as PHPDoc types (#1163), thanks @​rvanvelzen!
  • Update php-8-stubs to know about PHP 8.1 function signature changes, #7017, #6448
  • Make isset() and null-coalesce (??) operators consistent with each other (#1223), thanks @​rajyan!
    • New option checkDynamicProperties to restore the original stricter behaviour (#1234), thanks @​rajyan!

Bleeding edge 🔪

  • Fully static reflection engine
    • After feedback is gathered and processed, this will be enabled for everyone later in PHPStan 1.x release cycle.
  • Lower memory consumption thanks to breaking up of reference cycles
    • This is a BC break for rules that use 'parent', 'next', and 'previous' node attributes. Learn more »
    • In testing the memory consumption was reduced by 50–70 %.
  • ArrayUnpackingRule (level 3) (#856), thanks @​canvural!
  • Rules for checking direct calls to __construct() (level 2) (#1208), #7022, thanks @​muno92!
  • checkMissingIterableValueType: false no longer does anything (phpstan/phpstan-src@50d0c8e)

If you want to see the shape of things to come and adopt bleeding edge features early, you can include this config file in your project's phpstan.neon:

includes:
	- vendor/phpstan/phpstan/conf/bleedingEdge.neon

Of course, there are no backwards compatibility guarantees when you include this file. The behaviour and reported errors can change in minor versions with this file included. Learn more

Improvements 🔧

Bugfixes 🐛

... (truncated)

Commits
  • b480ba2 PHPStan 1.6.0
  • 458a77a Updated PHPStan to commit 831469c9c406f18e537dd8c46b8b9b28a3897450
  • 9cca184 Updated PHPStan to commit a8d9628f2187b1d8a68eb75f5bb1f3dec2334854
  • 77d6be0 Updated PHPStan to commit d2bb725c61f44bf27907bbafd037e3d5940be532
  • 2e065bf Update Composer baseline
  • 1f1e656 Updated PHPStan to commit 867e655e75c755b919ed2013aa34e02736d48f57
  • 9521f5a Updated PHPStan to commit 3c7d9c8dcf6a01a2dc5c9b606577dcf87fb8ad65
  • 50cadaa Updated PHPStan to commit 1ffed9b90db23e69b306107db302e3a4b8418b83
  • f7a95c0 Updated PHPStan to commit 84f64f0af98665004d16f80d3cfbf8c062774650
  • 3bb3f73 Updated PHPStan to commit 201cc08f045aa6b382588f028a7870b9eeef2830
  • 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 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)

Updates the requirements on [phpstan/phpstan](https://github.com/phpstan/phpstan) to permit the latest version.
- [Release notes](https://github.com/phpstan/phpstan/releases)
- [Changelog](https://github.com/phpstan/phpstan/blob/1.6.x/CHANGELOG.md)
- [Commits](phpstan/phpstan@1.5.7...1.6.0)

---
updated-dependencies:
- dependency-name: phpstan/phpstan
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added the dependencies Pull requests that update a dependency file label Apr 26, 2022
@dktapps
Copy link
Member

dktapps commented Apr 26, 2022

@dependabot recreate

@dependabot @github
Copy link
Contributor Author

dependabot bot commented on behalf of github Apr 26, 2022

Superseded by #64.

@dependabot dependabot bot closed this Apr 26, 2022
@dependabot dependabot bot deleted the dependabot/composer/phpstan/phpstan-1.6.0 branch April 26, 2022 23:58
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