From f4227eb43a2c0e10e249fe2990e974975854ac92 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Fri, 27 Sep 2024 01:24:45 +0200 Subject: [PATCH] chore(deps): update dependency phpstan/phpstan to v1.12.5 (#776) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [phpstan/phpstan](https://redirect.github.com/phpstan/phpstan) | `1.12.4` -> `1.12.5` | [![age](https://developer.mend.io/api/mc/badges/age/packagist/phpstan%2fphpstan/1.12.5?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/packagist/phpstan%2fphpstan/1.12.5?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/packagist/phpstan%2fphpstan/1.12.4/1.12.5?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/packagist/phpstan%2fphpstan/1.12.4/1.12.5?slim=true)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes
phpstan/phpstan (phpstan/phpstan) ### [`v1.12.5`](https://redirect.github.com/phpstan/phpstan/releases/tag/1.12.5) [Compare Source](https://redirect.github.com/phpstan/phpstan/compare/1.12.4...1.12.5) # Improvements 🔧 - Deprecate `ParametersAcceptorSelector::selectSingle()` (https://github.com/phpstan/phpstan-src/commit/23c53a2210b715f672ad3087dd476faf34bdec6e) - See: https://github.com/phpstan/phpstan/blob/2.0.x/UPGRADING.md#removed-deprecated-parametersacceptorselectorselectsingle - Introduce `lowercase-string` ([#​3438](https://redirect.github.com/phpstan/phpstan-src/pull/3438)), thanks [@​VincentLanglet](https://redirect.github.com/VincentLanglet)! - More precise mixed-type subtraction in `toInteger()` ([#​3434](https://redirect.github.com/phpstan/phpstan-src/pull/3434)), thanks [@​staabm](https://redirect.github.com/staabm)! - More precise `MixedType::toString()` with subtracted type ([#​3420](https://redirect.github.com/phpstan/phpstan-src/pull/3420)), thanks [@​staabm](https://redirect.github.com/staabm)! - More precise `MixedType::toBoolean()` with subtracted type ([#​3471](https://redirect.github.com/phpstan/phpstan-src/pull/3471)), thanks [@​staabm](https://redirect.github.com/staabm)! - Improve loose comparison for integer ranges ([#​3465](https://redirect.github.com/phpstan/phpstan-src/pull/3465)), [#​11694](https://redirect.github.com/phpstan/phpstan/issues/11694), thanks [@​VincentLanglet](https://redirect.github.com/VincentLanglet)! - Truthy `isset($arr[$k])` should narrow `$k` ([#​3453](https://redirect.github.com/phpstan/phpstan-src/pull/3453)), [#​11716](https://redirect.github.com/phpstan/phpstan/issues/11716), [#​8559](https://redirect.github.com/phpstan/phpstan/issues/8559), thanks [@​staabm](https://redirect.github.com/staabm)! - `isset()` narrows string-key in int-keyed-array to numeric-string ([#​3472](https://redirect.github.com/phpstan/phpstan-src/pull/3472)), thanks [@​staabm](https://redirect.github.com/staabm)! # Bugfixes 🐛 - Add generic types for array_values ([#​3456](https://redirect.github.com/phpstan/phpstan-src/pull/3456)), thanks [@​schlndh](https://redirect.github.com/schlndh)! - Support IntegerRangeType in ConstantStringType offset-value-type handling ([#​3462](https://redirect.github.com/phpstan/phpstan-src/pull/3462)), thanks [@​staabm](https://redirect.github.com/staabm)! - Fix bug with oversized array ([#​3461](https://redirect.github.com/phpstan/phpstan-src/pull/3461)), [#​11703](https://redirect.github.com/phpstan/phpstan/issues/11703), thanks [@​VincentLanglet](https://redirect.github.com/VincentLanglet)! - Fix ErrorType after ArrayDimFetch ([#​3460](https://redirect.github.com/phpstan/phpstan-src/pull/3460)), thanks [@​staabm](https://redirect.github.com/staabm)! - Implement ClosureType::getReferencedTemplateTypes() ([#​3458](https://redirect.github.com/phpstan/phpstan-src/pull/3458)), [#​10609](https://redirect.github.com/phpstan/phpstan/issues/10609), thanks [@​jiripudil](https://redirect.github.com/jiripudil)! - Fix substracted union type describe ([#​3360](https://redirect.github.com/phpstan/phpstan-src/pull/3360)), [#​10227](https://redirect.github.com/phpstan/phpstan/issues/10227), thanks [@​mvorisek](https://redirect.github.com/mvorisek)! - Fix including relative path (https://github.com/phpstan/phpstan-src/commit/098fb9416779240fab9b2dea1ee730da69668014), [#​11738](https://redirect.github.com/phpstan/phpstan/issues/11738) - Fix `sprintf()` inference for constant values with format-width in pattern ([#​3474](https://redirect.github.com/phpstan/phpstan-src/pull/3474)), thanks [@​staabm](https://redirect.github.com/staabm)! - Drop wrong float comparison for `filter_var()` ([#​2656](https://redirect.github.com/phpstan/phpstan-src/pull/2656)), thanks [@​mvorisek](https://redirect.github.com/mvorisek)! # Function signature fixes 🤖 - Change `iptcparse` return type ([#​3483](https://redirect.github.com/phpstan/phpstan-src/pull/3483)), thanks [@​ManuelHu](https://redirect.github.com/ManuelHu)! # Internals 🔍 - More specific return type for methods used to analyse currently entered function or method (https://github.com/phpstan/phpstan-src/commit/0e2587fae6e65be54ecbd47d33277d3f529d44d1) - PhpFunctionFromParserNodeReflection becomes ParametersAcceptorWithPhpDocs (https://github.com/phpstan/phpstan-src/commit/1bea5c79d53e06f6cdd481decba73b504fb4bec0) - Use methods directly on PhpFunctionFromParserNodeReflection instead of `selectSingle()` when analysing function body in rules (https://github.com/phpstan/phpstan-src/commit/41916ba39d429d096d5234acedcfe75f22025785) - Use methods directly on PhpFunctionFromParserNodeReflection instead of `selectSingle()` in MutatingScope (https://github.com/phpstan/phpstan-src/commit/865c618f82030cbc2e915c6da6bd424bc9b8aa41) - Use `ParametersAcceptorSelector::selectFromArgs()` instead of `selectSingle()` wherever possible (https://github.com/phpstan/phpstan-src/commit/e283d3a6df7df502f3c3e70bc086dd2018dc965b) - Use PhpFunctionFromParserNodeReflection as ParametersAcceptor in DependencyResolver (https://github.com/phpstan/phpstan-src/commit/7e216a274f00bf0a77a72628c884fdd4cb6c24c6) - Use methods directly on PhpFunctionFromParserNodeReflection instead of `selectSingle()` in ParametersAcceptorSelector (https://github.com/phpstan/phpstan-src/commit/1322aaf1d029c8db49c4c72742cb3d46f56be132) - Introduce `@internal` `getOnlyVariant()` method on FunctionReflection/ExtendedMethodReflection to use instead of `selectSingle()` (https://github.com/phpstan/phpstan-src/commit/714877be8cafc1ba08610929e4dcb0d43273cc8d) - Add `Type::chunkArray()` ([#​3408](https://redirect.github.com/phpstan/phpstan-src/pull/3408)), thanks [@​herndlm](https://redirect.github.com/herndlm)! - Add more mixed-type bool subtraction tests ([#​3421](https://redirect.github.com/phpstan/phpstan-src/pull/3421)), thanks [@​staabm](https://redirect.github.com/staabm)! - Made IssetExpr part of BC promise (https://github.com/phpstan/phpstan-src/commit/5677025877c6a8aef51b500cd461e8dbda6dab8c) - Refactor RegexGroupParser for more immutability and less pass-by-ref ([#​3479](https://redirect.github.com/phpstan/phpstan-src/pull/3479)), thanks [@​staabm](https://redirect.github.com/staabm)!
--- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **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 this update again. --- - [ ] If you want to rebase/retry this PR, check this box --- This PR was generated by [Mend Renovate](https://mend.io/renovate/). View the [repository job log](https://developer.mend.io/github/Lendable/aggregate). Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> --- composer.lock | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/composer.lock b/composer.lock index 7202abb..c2e8cc5 100644 --- a/composer.lock +++ b/composer.lock @@ -1259,16 +1259,16 @@ }, { "name": "phpstan/phpstan", - "version": "1.12.4", + "version": "1.12.5", "source": { "type": "git", "url": "https://github.com/phpstan/phpstan.git", - "reference": "ffa517cb918591b93acc9b95c0bebdcd0e4538bd" + "reference": "7e6c6cb7cecb0a6254009a1a8a7d54ec99812b17" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/phpstan/phpstan/zipball/ffa517cb918591b93acc9b95c0bebdcd0e4538bd", - "reference": "ffa517cb918591b93acc9b95c0bebdcd0e4538bd", + "url": "https://api.github.com/repos/phpstan/phpstan/zipball/7e6c6cb7cecb0a6254009a1a8a7d54ec99812b17", + "reference": "7e6c6cb7cecb0a6254009a1a8a7d54ec99812b17", "shasum": "" }, "require": { @@ -1313,7 +1313,7 @@ "type": "github" } ], - "time": "2024-09-19T07:58:01+00:00" + "time": "2024-09-26T12:45:22+00:00" }, { "name": "phpstan/phpstan-deprecation-rules",