Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore(deps): Update dependency phpstan/phpstan to v1.12.5 (#102)
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 <details> <summary>phpstan/phpstan (phpstan/phpstan)</summary> ### [`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()` (phpstan/phpstan-src@23c53a2) - 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 (phpstan/phpstan-src@098fb94), [#​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 (phpstan/phpstan-src@0e2587f) - PhpFunctionFromParserNodeReflection becomes ParametersAcceptorWithPhpDocs (phpstan/phpstan-src@1bea5c7) - Use methods directly on PhpFunctionFromParserNodeReflection instead of `selectSingle()` when analysing function body in rules (phpstan/phpstan-src@41916ba) - Use methods directly on PhpFunctionFromParserNodeReflection instead of `selectSingle()` in MutatingScope (phpstan/phpstan-src@865c618) - Use `ParametersAcceptorSelector::selectFromArgs()` instead of `selectSingle()` wherever possible (phpstan/phpstan-src@e283d3a) - Use PhpFunctionFromParserNodeReflection as ParametersAcceptor in DependencyResolver (phpstan/phpstan-src@7e216a2) - Use methods directly on PhpFunctionFromParserNodeReflection instead of `selectSingle()` in ParametersAcceptorSelector (phpstan/phpstan-src@1322aaf) - Introduce `@internal` `getOnlyVariant()` method on FunctionReflection/ExtendedMethodReflection to use instead of `selectSingle()` (phpstan/phpstan-src@714877b) - 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 (phpstan/phpstan-src@5677025) - 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)! </details> --- ### Configuration 📅 **Schedule**: Branch creation - "before 4am on Monday" (UTC), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **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. --- - [ ] <!-- rebase-check -->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/cerbos/cerbos-sdk-php). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOC45Ny4wIiwidXBkYXRlZEluVmVyIjoiMzguOTcuMCIsInRhcmdldEJyYW5jaCI6Im1haW4iLCJsYWJlbHMiOlsiYXJlYS9kZXBzIiwiYm90cyIsImtpbmQvY2hvcmUiXX0=--> --------- Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Signed-off-by: Oğuzhan Durgun <[email protected]> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Oğuzhan Durgun <[email protected]>
- Loading branch information