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.6 (#784)
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), [#​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 ([#​3539](https://redirect.github.com/phpstan/phpstan-src/pull/3539)), [#​11802](https://redirect.github.com/phpstan/phpstan/issues/11802), thanks [@​staabm](https://redirect.github.com/staabm)! # Bugfixes 🐛 - Fixes for `lowercase-string` - Keep lowercase when trim ([#​3491](https://redirect.github.com/phpstan/phpstan-src/pull/3491)), thanks [@​VincentLanglet](https://redirect.github.com/VincentLanglet)! - Add support for str_repeat and str_pad for lowercase string ([#​3490](https://redirect.github.com/phpstan/phpstan-src/pull/3490)), thanks [@​VincentLanglet](https://redirect.github.com/VincentLanglet)! - Update ReplaceFunctionsDynamicReturnTypeExtension for lowercase-string ([#​3489](https://redirect.github.com/phpstan/phpstan-src/pull/3489)), thanks [@​VincentLanglet](https://redirect.github.com/VincentLanglet)! - Update parse_str for lowercase string ([#​3492](https://redirect.github.com/phpstan/phpstan-src/pull/3492)), thanks [@​VincentLanglet](https://redirect.github.com/VincentLanglet)! - More precise `IntegerRangeType::toString()` ([#​3475](https://redirect.github.com/phpstan/phpstan-src/pull/3475)), thanks [@​staabm](https://redirect.github.com/staabm)! - Add support for lowercase-string on parse_url() ([#​3493](https://redirect.github.com/phpstan/phpstan-src/pull/3493)), thanks [@​VincentLanglet](https://redirect.github.com/VincentLanglet)! - Improve Vsprintf inference ([#​3496](https://redirect.github.com/phpstan/phpstan-src/pull/3496), [#​3501](https://redirect.github.com/phpstan/phpstan-src/pull/3501)), thanks [@​VincentLanglet](https://redirect.github.com/VincentLanglet)! - Offset access on lowercase-string is lowercase-string ([#​3502](https://redirect.github.com/phpstan/phpstan-src/pull/3502)), thanks [@​staabm](https://redirect.github.com/staabm)! - IntegerType::toString() is lowercase ([#​3510](https://redirect.github.com/phpstan/phpstan-src/pull/3510)), thanks [@​VincentLanglet](https://redirect.github.com/VincentLanglet)! - Handle lowercase string in sprintf ([#​3498](https://redirect.github.com/phpstan/phpstan-src/pull/3498)), thanks [@​VincentLanglet](https://redirect.github.com/VincentLanglet)! - Update composer/pcre (phpstan/phpstan-src@3cdac94), [#​11786](https://redirect.github.com/phpstan/phpstan/issues/11786) - Fix a few regex class parsing usecases ([#​3488](https://redirect.github.com/phpstan/phpstan-src/pull/3488)), thanks [@​mvorisek](https://redirect.github.com/mvorisek)! - Fix preg_match_all with PREG_SET_ORDER does not see capture group as optional ([#​3506](https://redirect.github.com/phpstan/phpstan-src/pull/3506)), [#​11661](https://redirect.github.com/phpstan/phpstan/issues/11661), thanks [@​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 ([#​3509](https://redirect.github.com/phpstan/phpstan-src/pull/3509)), [#​11744](https://redirect.github.com/phpstan/phpstan/issues/11744), thanks [@​staabm](https://redirect.github.com/staabm)! # Function signature fixes 🤖 - functionMap: a bit more precise get_defined_constants ([#​3537](https://redirect.github.com/phpstan/phpstan-src/pull/3537)), thanks [@​janedbal](https://redirect.github.com/janedbal)! - token_name() returns non-empty-string ([#​3540](https://redirect.github.com/phpstan/phpstan-src/pull/3540)), thanks [@​staabm](https://redirect.github.com/staabm)! - curl_multi_getcontent() can return null ([#​3527](https://redirect.github.com/phpstan/phpstan-src/pull/3527)), thanks [@​staabm](https://redirect.github.com/staabm)! - Update SplFileInfo::getPathInfo return type ([#​3487](https://redirect.github.com/phpstan/phpstan-src/pull/3487)), thanks [@​DannyvdSluijs](https://redirect.github.com/DannyvdSluijs)! - Update return type of `spl_autoload_functions` on PHP8.0+ ([#​2810](https://redirect.github.com/phpstan/phpstan-src/pull/2810)), thanks [@​ManuelHu](https://redirect.github.com/ManuelHu)! # Internals 🔍 - Fix missing ltrim in regex parse ([#​3495](https://redirect.github.com/phpstan/phpstan-src/pull/3495)), thanks [@​mvorisek](https://redirect.github.com/mvorisek)! - Un-deprecate ConstantTypeHelper (phpstan/phpstan-src@3a83f6b) - Introduce `Scope::getMaybeDefinedVariables()` ([#​3521](https://redirect.github.com/phpstan/phpstan-src/pull/3521)), [#​11772](https://redirect.github.com/phpstan/phpstan/issues/11772), thanks [@​ruudk](https://redirect.github.com/ruudk)! - TypeInferenceTestCase: allow asserting array offset certainty ([#​3503](https://redirect.github.com/phpstan/phpstan-src/pull/3503)), thanks [@​ruudk](https://redirect.github.com/ruudk)! - Simplify preserveKeys TrinaryLogic creation in two extensions ([#​3516](https://redirect.github.com/phpstan/phpstan-src/pull/3516)), thanks [@​herndlm](https://redirect.github.com/herndlm)! - Add `Type::sliceArray()` ([#​3514](https://redirect.github.com/phpstan/phpstan/issues/3514)) ([#​3514](https://redirect.github.com/phpstan/phpstan-src/pull/3514)), thanks [@​herndlm](https://redirect.github.com/herndlm)! - Set normalized in BenevolentUnionType ([#​3522](https://redirect.github.com/phpstan/phpstan-src/pull/3522)), thanks [@​herndlm](https://redirect.github.com/herndlm)! - Refactor RegexGroupParser for more immutability and less pass-by-ref ([#​3508](https://redirect.github.com/phpstan/phpstan-src/pull/3508)), thanks [@​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