Update phpstan to v1.6.1#107
Merged
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
1.5.7->1.6.11.1.0->1.2.0Release Notes
phpstan/phpstan
v1.6.1Compare Source
Bugfixes 🐛
BackedEnum::from()andtryFrom()methods (phpstan/phpstan-src@e97439c), #7096array_push/array_unshiftwith unpacked non-constant array types (#1247), #7115, thanks @herndlm!v1.6.0Compare Source
Read the article about PHPStan 1.6.0 »
Major new features 🚀
@return ($i is positive-int ? non-empty-array : array)(don't forget the parentheses!)@templatetags:@return (T is positive-int ? non-empty-array : array)int-mask<...>andint-mask-of<...>types (#1166), thanks @rvanvelzen!php-8-stubsto know about PHP 8.1 function signature changes, #7017, #6448isset()and null-coalesce (??) operators consistent with each other (#1223), thanks @rajyan!checkDynamicPropertiesto restore the original stricter behaviour (#1234), thanks @rajyan!Bleeding edge 🔪
'parent','next', and'previous'node attributes. Learn more »__construct()(level 2) (#1208), #7022, thanks @muno92!checkMissingIterableValueType: falseno 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: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 🐛
isset()with multiple arguments (#1240), #3601, thanks @rajyan!isset()fix (phpstan/phpstan-src@3c7d9c8), #7095Function signature fixes 🤖
json_decodeerror return type (#1235), thanks @herndlm!mb_strlen(#1211), thanks @fluffycondor!db2_last_insert_idmay return NULL (#1214), thanks @morozov!SimpleXMLElement::addChildsignature (#1215), thanks @szepeviktor!SimpleXMLElement::children()(phpstan/phpstan-src@3a2f105)phpstan/phpstan-strict-rules
v1.2.0Compare Source
--no-suggestConfiguration
📅 Schedule: "before 4am every weekday" (UTC).
🚦 Automerge: Enabled.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about these updates again.
This PR has been generated by WhiteSource Renovate. View repository job log here.