Skip to content

Commit

Permalink
chore(deps): update dependency phpstan/phpstan to v1.12.5 (#776)
Browse files Browse the repository at this point in the history
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`
([#&#8203;3438](https://redirect.github.com/phpstan/phpstan-src/pull/3438)),
thanks
[@&#8203;VincentLanglet](https://redirect.github.com/VincentLanglet)!
- More precise mixed-type subtraction in `toInteger()`
([#&#8203;3434](https://redirect.github.com/phpstan/phpstan-src/pull/3434)),
thanks [@&#8203;staabm](https://redirect.github.com/staabm)!
- More precise `MixedType::toString()` with subtracted type
([#&#8203;3420](https://redirect.github.com/phpstan/phpstan-src/pull/3420)),
thanks [@&#8203;staabm](https://redirect.github.com/staabm)!
- More precise `MixedType::toBoolean()` with subtracted type
([#&#8203;3471](https://redirect.github.com/phpstan/phpstan-src/pull/3471)),
thanks [@&#8203;staabm](https://redirect.github.com/staabm)!
- Improve loose comparison for integer ranges
([#&#8203;3465](https://redirect.github.com/phpstan/phpstan-src/pull/3465)),
[#&#8203;11694](https://redirect.github.com/phpstan/phpstan/issues/11694),
thanks
[@&#8203;VincentLanglet](https://redirect.github.com/VincentLanglet)!
- Truthy `isset($arr[$k])` should narrow `$k`
([#&#8203;3453](https://redirect.github.com/phpstan/phpstan-src/pull/3453)),
[#&#8203;11716](https://redirect.github.com/phpstan/phpstan/issues/11716),
[#&#8203;8559](https://redirect.github.com/phpstan/phpstan/issues/8559),
thanks [@&#8203;staabm](https://redirect.github.com/staabm)!
- `isset()` narrows string-key in int-keyed-array to numeric-string
([#&#8203;3472](https://redirect.github.com/phpstan/phpstan-src/pull/3472)),
thanks [@&#8203;staabm](https://redirect.github.com/staabm)!

# Bugfixes 🐛

- Add generic types for array_values
([#&#8203;3456](https://redirect.github.com/phpstan/phpstan-src/pull/3456)),
thanks [@&#8203;schlndh](https://redirect.github.com/schlndh)!
- Support IntegerRangeType in ConstantStringType offset-value-type
handling
([#&#8203;3462](https://redirect.github.com/phpstan/phpstan-src/pull/3462)),
thanks [@&#8203;staabm](https://redirect.github.com/staabm)!
- Fix bug with oversized array
([#&#8203;3461](https://redirect.github.com/phpstan/phpstan-src/pull/3461)),
[#&#8203;11703](https://redirect.github.com/phpstan/phpstan/issues/11703),
thanks
[@&#8203;VincentLanglet](https://redirect.github.com/VincentLanglet)!
- Fix ErrorType after ArrayDimFetch
([#&#8203;3460](https://redirect.github.com/phpstan/phpstan-src/pull/3460)),
thanks [@&#8203;staabm](https://redirect.github.com/staabm)!
- Implement ClosureType::getReferencedTemplateTypes()
([#&#8203;3458](https://redirect.github.com/phpstan/phpstan-src/pull/3458)),
[#&#8203;10609](https://redirect.github.com/phpstan/phpstan/issues/10609),
thanks [@&#8203;jiripudil](https://redirect.github.com/jiripudil)!
- Fix substracted union type describe
([#&#8203;3360](https://redirect.github.com/phpstan/phpstan-src/pull/3360)),
[#&#8203;10227](https://redirect.github.com/phpstan/phpstan/issues/10227),
thanks [@&#8203;mvorisek](https://redirect.github.com/mvorisek)!
- Fix including relative path
(phpstan/phpstan-src@098fb94),
[#&#8203;11738](https://redirect.github.com/phpstan/phpstan/issues/11738)
- Fix `sprintf()` inference for constant values with format-width in
pattern
([#&#8203;3474](https://redirect.github.com/phpstan/phpstan-src/pull/3474)),
thanks [@&#8203;staabm](https://redirect.github.com/staabm)!
- Drop wrong float comparison for `filter_var()`
([#&#8203;2656](https://redirect.github.com/phpstan/phpstan-src/pull/2656)),
thanks [@&#8203;mvorisek](https://redirect.github.com/mvorisek)!

# Function signature fixes 🤖

- Change `iptcparse` return type
([#&#8203;3483](https://redirect.github.com/phpstan/phpstan-src/pull/3483)),
thanks [@&#8203;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()`
([#&#8203;3408](https://redirect.github.com/phpstan/phpstan-src/pull/3408)),
thanks [@&#8203;herndlm](https://redirect.github.com/herndlm)!
- Add more mixed-type bool subtraction tests
([#&#8203;3421](https://redirect.github.com/phpstan/phpstan-src/pull/3421)),
thanks [@&#8203;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
([#&#8203;3479](https://redirect.github.com/phpstan/phpstan-src/pull/3479)),
thanks [@&#8203;staabm](https://redirect.github.com/staabm)!

</details>

---

### 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.

---

- [ ] <!-- 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/Lendable/aggregate).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOC45Ny4wIiwidXBkYXRlZEluVmVyIjoiMzguOTcuMCIsInRhcmdldEJyYW5jaCI6Im1haW4iLCJsYWJlbHMiOltdfQ==-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
  • Loading branch information
renovate[bot] authored Sep 26, 2024
1 parent 8c2cede commit f4227eb
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit f4227eb

Please sign in to comment.