Skip to content

Commit

Permalink
chore(deps): update dependency phpstan/phpstan to v1.12.6 (#784)
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.5` -> `1.12.6` |
[![age](https://developer.mend.io/api/mc/badges/age/packagist/phpstan%2fphpstan/1.12.6?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/packagist/phpstan%2fphpstan/1.12.6?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/packagist/phpstan%2fphpstan/1.12.5/1.12.6?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/packagist/phpstan%2fphpstan/1.12.5/1.12.6?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Release Notes

<details>
<summary>phpstan/phpstan (phpstan/phpstan)</summary>

###
[`v1.12.6`](https://redirect.github.com/phpstan/phpstan/releases/tag/1.12.6)

[Compare
Source](https://redirect.github.com/phpstan/phpstan/compare/1.12.5...1.12.6)

# Bleeding edge 🔪

- Added absent type checks about `@phpstan-assert` PHPDoc tags
(phpstan/phpstan-src@ca0a7e9),
[#&#8203;11780](https://redirect.github.com/phpstan/phpstan/issues/11780)

*If you want to see the shape of things to come and adopt bleeding edge
features early, you can include this config file in your project's
`phpstan.neon`:*

    includes:
    	- vendor/phpstan/phpstan/conf/bleedingEdge.neon

*Of course, there are no backwards compatibility guarantees when you
include this file. The behaviour and reported errors can change in minor
versions with this file included. [Learn
more](https://phpstan.org/blog/what-is-bleeding-edge)*

# Improvements 🔧

- Update nikic/php-parser to v4.19.4
(phpstan/phpstan-src@0b9ce98)
- Process `ClassConstFetch::$class` when it's a Name node
(phpstan/phpstan-src@712c33e)
- Process `ClassConstFetch::$name`
(phpstan/phpstan-src@b38c852)
- Fix unused private property is not sometimes detected
([#&#8203;3539](https://redirect.github.com/phpstan/phpstan-src/pull/3539)),
[#&#8203;11802](https://redirect.github.com/phpstan/phpstan/issues/11802),
thanks [@&#8203;staabm](https://redirect.github.com/staabm)!

# Bugfixes 🐛

-   Fixes for `lowercase-string`
- Keep lowercase when trim
([#&#8203;3491](https://redirect.github.com/phpstan/phpstan-src/pull/3491)),
thanks
[@&#8203;VincentLanglet](https://redirect.github.com/VincentLanglet)!
- Add support for str_repeat and str_pad for lowercase string
([#&#8203;3490](https://redirect.github.com/phpstan/phpstan-src/pull/3490)),
thanks
[@&#8203;VincentLanglet](https://redirect.github.com/VincentLanglet)!
- Update ReplaceFunctionsDynamicReturnTypeExtension for lowercase-string
([#&#8203;3489](https://redirect.github.com/phpstan/phpstan-src/pull/3489)),
thanks
[@&#8203;VincentLanglet](https://redirect.github.com/VincentLanglet)!
- Update parse_str for lowercase string
([#&#8203;3492](https://redirect.github.com/phpstan/phpstan-src/pull/3492)),
thanks
[@&#8203;VincentLanglet](https://redirect.github.com/VincentLanglet)!
- More precise `IntegerRangeType::toString()`
([#&#8203;3475](https://redirect.github.com/phpstan/phpstan-src/pull/3475)),
thanks [@&#8203;staabm](https://redirect.github.com/staabm)!
- Add support for lowercase-string on parse_url()
([#&#8203;3493](https://redirect.github.com/phpstan/phpstan-src/pull/3493)),
thanks
[@&#8203;VincentLanglet](https://redirect.github.com/VincentLanglet)!
- Improve Vsprintf inference
([#&#8203;3496](https://redirect.github.com/phpstan/phpstan-src/pull/3496),
[#&#8203;3501](https://redirect.github.com/phpstan/phpstan-src/pull/3501)),
thanks
[@&#8203;VincentLanglet](https://redirect.github.com/VincentLanglet)!
- Offset access on lowercase-string is lowercase-string
([#&#8203;3502](https://redirect.github.com/phpstan/phpstan-src/pull/3502)),
thanks [@&#8203;staabm](https://redirect.github.com/staabm)!
- IntegerType::toString() is lowercase
([#&#8203;3510](https://redirect.github.com/phpstan/phpstan-src/pull/3510)),
thanks
[@&#8203;VincentLanglet](https://redirect.github.com/VincentLanglet)!
- Handle lowercase string in sprintf
([#&#8203;3498](https://redirect.github.com/phpstan/phpstan-src/pull/3498)),
thanks
[@&#8203;VincentLanglet](https://redirect.github.com/VincentLanglet)!
- Update composer/pcre
(phpstan/phpstan-src@3cdac94),
[#&#8203;11786](https://redirect.github.com/phpstan/phpstan/issues/11786)
- Fix a few regex class parsing usecases
([#&#8203;3488](https://redirect.github.com/phpstan/phpstan-src/pull/3488)),
thanks [@&#8203;mvorisek](https://redirect.github.com/mvorisek)!
- Fix preg_match_all with PREG_SET_ORDER does not see capture group as
optional
([#&#8203;3506](https://redirect.github.com/phpstan/phpstan-src/pull/3506)),
[#&#8203;11661](https://redirect.github.com/phpstan/phpstan/issues/11661),
thanks [@&#8203;staabm](https://redirect.github.com/staabm)!
- Fix false-positive with preg_match(): Strict comparison using ===
between '' and non-falsy-string…ween '' and non-falsy-string
([#&#8203;3509](https://redirect.github.com/phpstan/phpstan-src/pull/3509)),
[#&#8203;11744](https://redirect.github.com/phpstan/phpstan/issues/11744),
thanks [@&#8203;staabm](https://redirect.github.com/staabm)!

# Function signature fixes 🤖

- functionMap: a bit more precise get_defined_constants
([#&#8203;3537](https://redirect.github.com/phpstan/phpstan-src/pull/3537)),
thanks [@&#8203;janedbal](https://redirect.github.com/janedbal)!
- token_name() returns non-empty-string
([#&#8203;3540](https://redirect.github.com/phpstan/phpstan-src/pull/3540)),
thanks [@&#8203;staabm](https://redirect.github.com/staabm)!
- curl_multi_getcontent() can return null
([#&#8203;3527](https://redirect.github.com/phpstan/phpstan-src/pull/3527)),
thanks [@&#8203;staabm](https://redirect.github.com/staabm)!
- Update SplFileInfo::getPathInfo return type
([#&#8203;3487](https://redirect.github.com/phpstan/phpstan-src/pull/3487)),
thanks
[@&#8203;DannyvdSluijs](https://redirect.github.com/DannyvdSluijs)!
- Update return type of `spl_autoload_functions` on PHP8.0+
([#&#8203;2810](https://redirect.github.com/phpstan/phpstan-src/pull/2810)),
thanks [@&#8203;ManuelHu](https://redirect.github.com/ManuelHu)!

# Internals 🔍

- Fix missing ltrim in regex parse
([#&#8203;3495](https://redirect.github.com/phpstan/phpstan-src/pull/3495)),
thanks [@&#8203;mvorisek](https://redirect.github.com/mvorisek)!
- Un-deprecate ConstantTypeHelper
(phpstan/phpstan-src@3a83f6b)
- Introduce `Scope::getMaybeDefinedVariables()`
([#&#8203;3521](https://redirect.github.com/phpstan/phpstan-src/pull/3521)),
[#&#8203;11772](https://redirect.github.com/phpstan/phpstan/issues/11772),
thanks [@&#8203;ruudk](https://redirect.github.com/ruudk)!
- TypeInferenceTestCase: allow asserting array offset certainty
([#&#8203;3503](https://redirect.github.com/phpstan/phpstan-src/pull/3503)),
thanks [@&#8203;ruudk](https://redirect.github.com/ruudk)!
- Simplify preserveKeys TrinaryLogic creation in two extensions
([#&#8203;3516](https://redirect.github.com/phpstan/phpstan-src/pull/3516)),
thanks [@&#8203;herndlm](https://redirect.github.com/herndlm)!
- Add `Type::sliceArray()`
([#&#8203;3514](https://redirect.github.com/phpstan/phpstan/issues/3514))
([#&#8203;3514](https://redirect.github.com/phpstan/phpstan-src/pull/3514)),
thanks [@&#8203;herndlm](https://redirect.github.com/herndlm)!
- Set normalized in BenevolentUnionType
([#&#8203;3522](https://redirect.github.com/phpstan/phpstan-src/pull/3522)),
thanks [@&#8203;herndlm](https://redirect.github.com/herndlm)!
- Refactor RegexGroupParser for more immutability and less pass-by-ref
([#&#8203;3508](https://redirect.github.com/phpstan/phpstan-src/pull/3508)),
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 Oct 6, 2024
1 parent 31df785 commit a0c2d20
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 a0c2d20

Please sign in to comment.