gomzyakov / php-cs-fixer-config

Use the same php-cs-fixer configuration across all of your projects
https://packagist.org/packages/gomzyakov/php-cs-fixer-config
MIT License
5 stars 3 forks source link

Update dependency phpstan/phpstan to v1.12.5 #219

Closed renovate[bot] closed 1 month ago

renovate[bot] commented 1 month ago

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
phpstan/phpstan 1.12.4 -> 1.12.5 age adoption passing 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 - "on friday" (UTC), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

β™» Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.

πŸ”• Ignore: Close this PR and you won't be reminded about this update again.



This PR was generated by Mend Renovate. View the repository job log.

codecov[bot] commented 1 month ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 100.00%. Comparing base (c896405) to head (80de5d7). Report is 1 commits behind head on main.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #219 +/- ## =========================================== Coverage 100.00% 100.00% Complexity 3 3 =========================================== Files 3 3 Lines 17 17 =========================================== Hits 17 17 ``` | [Flag](https://app.codecov.io/gh/gomzyakov/php-cs-fixer-config/pull/219/flags?src=pr&el=flags&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Alexander+Gomzyakov) | Coverage Ξ” | | |---|---|---| | [unittests](https://app.codecov.io/gh/gomzyakov/php-cs-fixer-config/pull/219/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Alexander+Gomzyakov) | `100.00% <ΓΈ> (ΓΈ)` | | Flags with carried forward coverage won't be shown. [Click here](https://docs.codecov.io/docs/carryforward-flags?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Alexander+Gomzyakov#carryforward-flags-in-the-pull-request-comment) to find out more.

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.