Update dependency phpstan/phpstan to v1 - abandoned#33
Open
renovate[bot] wants to merge 2 commits intomasterfrom
Open
Update dependency phpstan/phpstan to v1 - abandoned#33renovate[bot] wants to merge 2 commits intomasterfrom
renovate[bot] wants to merge 2 commits intomasterfrom
Conversation
Author
Autoclosing SkippedThis PR has been flagged for autoclosing. However, it is being skipped due to the branch being already modified. Please close/delete it manually or report a bug if you think this is in error. |
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:
0.12.14->1.4.8Release Notes
phpstan/phpstan
v1.4.8Compare Source
Improvements 🔧
ignoreErrorsregexes during DIC compilation (save time in each run) (phpstan/phpstan-src@692158c), #6693parametersSchemaonly during DIC compilation (phpstan/phpstan-src@50f25e9)==and===expression (#1046), thanks @herndlm!strtotime()with constant strings (#1045), thanks @Seldaek!Bugfixes 🐛
is_subclass_ofwith same class (#1044), #6305, thanks @herndlm!ArrayType::traverse()- create emptyConstantArrayTypein case ofnever(phpstan/phpstan-src@8c1dfc1)v1.4.7Compare Source
This release fixes 43 issues! 🎉
Improvements 🔧
phpstan.dist.neonas a config file (#1006), #6561, thanks @b1rdex!str_repeat(#1030), #6679, thanks @staabm!TypeUtils::generalizeType()(phpstan/phpstan-src@2674577)Bugfixes 🐛
sizeof()when usingunset()(#971), #6488, thanks @staabm!TemplateType::isSubTypeOf()andTemplateType::isAcceptedBy()(#1001), #6589, thanks @arnaud-lb!non-empty-stringandstringshould error (#1011), #6624, thanks @staabm!TypeSpecifyingExtensionuses$overwrite=true(#1011), #6620, thanks @staabm!@templateabove a property (phpstan/phpstan-src@53563e9)SpecifiedTypesforcount()andstrlen()in===expressions (#1021), thanks @herndlm!class-stringduring template type inference (#1038), #6505, #6699, thanks @arnaud-lb!class-string$classparameter inis_subclass_of()(#1039), #6698, #5369, thanks @arnaud-lb!EnumCaseObjectType(phpstan/phpstan-src@9e42896), #6695, #6433is_subclass_of()foris_a()(#1040), #6704, thanks @herndlm!ArrayType::castToArrayKeyType()for booleans (#1033), thanks @jlherren!ArrayColumnFunctionReturnTypeExtensionproducing array key types (#1033), #6682, thanks @jlherren!in_array()for arrays with union value type (phpstan/phpstan-src@4321374), #6705, #5668, #5759, #3314, #5496, #4666, #3892, #5354, #2870Function signature fixes 🤖
set_error_handler(). (#1008), #6619, thanks @johnbillion!PDOStatement::fetchAllno longer returns false on PHP8 (#1014), thanks @xPaw!mb_*fatal errors on php8 with invalid encoding (#969), thanks @staabm!$readofstream_selectto be nullable (#1031), thanks @niconoe-!PDOException::getCode()return type (#1018), #6651, thanks @VincentLanglet!0|positive-int(bleeding edge) (#1027), thanks @staabm!substr()return type on PHP < 8 - use benevolent union type (#1036), thanks @Seldaek!\SplFileInfo(#1034), #6680, thanks @siganushka!setFetchModesignature withfetch_class(#1043), thanks @Seldaek!preg_filterreturn type extension (#1024), #6664, thanks @staabm!preg_match_allreturn type on PHP 8 (#1023), thanks @staabm!v1.4.6Compare Source
Improvements 🔧
implode()function (#991), thanks @staabm!Bugfixes 🐛
TypeCombinator::remove()toType::tryRemove()(#994), #6438, thanks @arnaud-lb!@varright aboveforeach(phpstan/phpstan-src@b6bbbaf), #6564:(phpstan/phpstan-src@5162bcf), https://github.com/composer/composer/issues/10498Function signature fixes 🤖
md5()always returnnon-empty-string(#987), thanks @janbarasek!Iterator. (#988), thanks @johnbillion!round()/ceil()/floor()(#729), thanks @johnbillion!SplFileObject::fstat()(#996), thanks @johnbillion!v1.4.5Compare Source
Improvements 🔧
--generate-baseline(-b) (#980), thanks @Seldaek!array_filter()return type via string callable (#938), #6417, thanks @herndlm!Bugfixes 🐛
NeverType::toBoolean()(phpstan/phpstan-src@fe3a341), #6258DatePeriodconstructor extension in subclasses (phpstan/phpstan-src@0c82b3a), #6500Function signature fixes 🤖
array_chunksignature (#709), thanks @staabm!preg_replace_callback()callable. (#758), thanks @johnbillion!array_splice()argument$replacement(#901), #6288, thanks @spawnia!stream_bucket_newreturns an object (#968), thanks @mind-bending-forks!mb_*functions (#717), thanks @staabm!array_column()withnullas$column_key(#970), thanks @jlherren!v1.4.4Compare Source
Improvements 🔧
array_column()(#948), thanks @jlherren!DatePeriod+ constructor dynamic return type extension (#958), #5953, thanks @Alban-io!Bugfixes 🐛
array_filter()flags for narrowing down types (#941), thanks @herndlm!isset()(phpstan/phpstan-src@f05e8eb), #4926isset(),empty()and null coalesce operator (??) (phpstan/phpstan-src@3b17acc), #4592, #4903, #2420, #2718, #3126, #4586, #4887Function signature fixes 🤖
Throwable::getTrace()method (#914), thanks @ste93cry!v1.4.3Compare Source
Improvements 🔧
--memory-limitCLI option inclear-result-cachecommand (phpstan/phpstan-src@156700b), #6432.memory_limitfile (phpstan/phpstan-src@daf7d55), https://twitter.com/timacdonald87/status/1484804225658146823Bugfixes 🐛
#[ReturnTypeWillChange]on PHP 7.1-7.4 (ondrejmirtes/BetterReflection@bf36244, phpstan/phpstan-src@639a055), #6414array_filterwith callback that always evaluates to false (#939), thanks @herndlm!Function signature fixes 🤖
Ds\Set::reduce()to stubs (#942), thanks @ZebulanStanphill!*strlen()return type to exclude negative integers (#945), thanks @staabm!DatePeriod::getEndDatedeclaration (#951), thanks @nyamsprod!v1.4.2Compare Source
PHP_VERSION_ID(phpstan/phpstan-src@433511a), #6386, https://github.com/api-platform/core/issues/4614, https://github.com/api-platform/api-platform/issues/2101ObjectType::equals()when compared toEnumCaseObjectType(phpstan/phpstan-src@ab0245c), #6394v1.4.1Compare Source
Improvements 🔧
==operator for the same types on both sides (phpstan/phpstan-src@e40eff0), #6370, #4413ClassReflection::getBackedEnumType()method (phpstan/phpstan-src@a0ed2d3)BenevolentUnionTypereturn type without dynamic return type extension (phpstan/phpstan-src@723dfc5), https://github.com/phpstan/phpstan/discussions/6391Bugfixes 🐛
__unserialize(#929), thanks @ruudk!UnitEnumandBackedEnum(phpstan/phpstan-src@67d3a88), #6385ConstantArrayTypeBuilder- fix for potential performance problems (phpstan/phpstan-src@86b9306), #6375Function signature fixes 🤖
Set::map()method to functionMap (#923), thanks @simPod!gnupg_verify()accepts false fot its signature param (#925), thanks @spaze!random_bytes()(#926), thanks @staabm!count_chars()mode-param (#927), thanks @staabm!getdate()return type (#928), thanks @staabm!v1.4.0Compare Source
This release fixes 25 issues! 🎉
Major new features 🚀
readonlyproperties (RFC)Improvements 🔧
ParametersAcceptorSelector- message forShouldNotHappenException(phpstan/phpstan-src@d3c3483), #6328BenevolentUnionTypeis covered by BC promise (phpstan/phpstan-src@8f28dc8)Bugfixes 🐛
requirestatement (phpstan/phpstan-src@b5a2c8f), #6348ClosureType(#921), thanks @canvural!random_int()without args crash (phpstan/phpstan-src@6d7ba0f), #6361Thanks to some internal refactorings listed below, the following issues have been fixed: #5337, #4910, #5316, #5607, #3766, #3858, #3310, #3264, #2806, #5328, #3044, #6184, #3339, #5656, #5362, #3867, #5707
ConstantArrayTypeafter setting new offset (phpstan/phpstan-src@ec117fa)ConstantArrayTypeBuilder- preserveConstantArrayTypefor integer range offsets (phpstan/phpstan-src@3eab462)ConstantIntegerTypein Scope (phpstan/phpstan-src@d6c7595)Function signature fixes 🤖
gmp_div(#915), thanks @danielmarschall!PDO::prepare()might returnfalse(#916, phpstan/phpstan-src@a9881e3), thanks @staabm!preg_match*return type signatures (#918), thanks @staabm!v1.3.3Compare Source
Improvements 🔧
@methodtag forgetCode()method above child Exception classes (phpstan/phpstan-src@e04cc8d)phpstan/phpstan-srcnow uses promoted properties (https://github.com/phpstan/phpstan-src/pull/910)v1.3.2Compare Source
Improvements
Bugfixes 🐛
Function signature fixes 🤖
falsesince PHP 5.4 (#907), thanks @johnbillion!Exception::getCode()type (phpstan/phpstan-src@1181717)v1.3.1Compare Source
Bugfixes 🐛
mixedtype not considered nullable (phpstan/phpstan-src@c0aad86), #6293, #6158PDO::pgsqlGetNotify()call (phpstan/phpstan-src@3624bbb), #6255#!shebang (phpstan/phpstan-src@c87284a), #6252@mixinextensions (phpstan/phpstan-src@9ab4e6f), #6300Function signature fixes 🤖
SessionHandler::gc()(#899), thanks @Khartir!preg_quoteto NonEmptyStringFunctionsReturnTypeExtension (#881), thanks @staabm!v1.3.0Compare Source
Major new features 🚀
phpstan/phpstan-srcis now PHP 8.0+ only, while the distribution packagephpstan/phpstanstill supports PHP 7.1+.Improvements 🔧
nikic/php-parserto 4.13.2 (phpstan/phpstan-src@8939964)--allow-empty-baselineto allow generating empty baseline (#776), thanks @Lctrs!@phpstan-property,@phpstan-property-read, and@phpstan-property-write(#775), thanks @mad-briller!key-of<...>andvalue-of<...>types (#800), thanks @ste93cry!ErrorFormatter(#854), thanks @ruudk!Bugfixes 🐛
echoisn't callable either. (#777), thanks @johnbillion!$object::classwith Identical (#745), thanks @marmichalski!hasClass()as case-sensitive (phpstan/phpstan-src@792ce0a), #6096@operator should use& $errnocheck (#889), thanks @samsonasik!Function signature fixes 🤖
trigger_error(#766), thanks @staabm!array_count_values()can never contain a zero. (#773), thanks @johnbillion!date_parseanddate_parse_from_formatfunctions (#807), thanks @ste93cry!get_resources()(#837), thanks @MidnightDesign!restore_error_handlerandrestore_exception_handleralways return booleantrue. (#850), thanks @johnbillion!DateTimeZonemethods (#857), thanks @johnbillion!Set::map()method toext-dsstub (#855), thanks @simPod!preg_split(phpstan/phpstan-src@a16c7ae), thanks @clxmstaab!v1.2.0Compare Source
Improvements 🔧
newin initializers - RFC (phpstan/phpstan-src@1a102fe)array_is_list()- RFC (#770), thanks @canvural!literal-stringwith encapsed strings (#768), thanks @craigfrancis!rulesconfig section by their class name (phpstan/phpstan-src@50cb90d)Bugfixes 🐛
::classis always considered a classname (phpstan/phpstan-src@da34d3f), #5979@vartags (phpstan/phpstan-src@2652f2d), #5921Function signature fixes 🤖
v1.1.2Compare Source
Bugfixes 🐛
=&) too (phpstan/phpstan-src@74787be), #5935self::(phpstan/phpstan-src@b5e44f7), #5951pecl_http(ondrejmirtes/BetterReflection@9f2b6eb, ondrejmirtes/BetterReflection@bdd2523), #5460, thanks @kukulich!Function signature fixes 🤖
v1.1.1Compare Source
Bugfixes 🐛
/** @​phpstan-ignore-line */and/** @​phpstan-ignore-next-line */annotations sometimes not working because of AST (phpstan/phpstan-src@9474696), #4750, #4759, #3834, #3563, #4250, #4798function_exists()check (phpstan/phpstan-src@28e8c11), #3576function_exists()similar tois_callable()(phpstan/phpstan-src@4a98863), #1849v1.1.0Compare Source
Improvements 🔧
nikic/php-parserto 4.13.1 (phpstan/phpstan-src@6a64c8a), #5458jetbrains/phpstorm-stubs(phpstan/phpstan-src@546e87c), #5833PhpStormStubsElementAvailableattribute injetbrains/phpstorm-stubs(phpstan/phpstan-src@e41e66a)neverreturn type - RFC (phpstan/phpstan-src@59be92f)Bugfixes 🐛
Function signature fixes 🤖
get_loaded_extensions()(#754), thanks @dktapps!call_user_func_array()support named arguments (#727), thanks @mglaman!phpversion()does not return false when no arguments are given (#753), thanks @dktapps!v1.0.2Compare Source
Bugfixes 🐛
Composernamespace only with static reflection, some classes in PHAR are unprefixed (phpstan/phpstan-src@95754d1), https://github.com/composer/composer/pull/10253Function signature fixes 🤖
array_mapparameter (phpstan/phpstan-src@9433345)connection_aborted()signature (#715), thanks @staabm!str_split()signature (#718), thanks @staabm!DateFunctionReturnTypeExtension: support more precise single-char date-formats (#721), thanks @staabm!$preserve_keysargument foriterator_to_array()(#748), thanks [@RConfiguration
📅 Schedule: At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Renovate will not automatically rebase this PR, because other commits have been found.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by WhiteSource Renovate. View repository job log here.