phpstan/phpstan
### [`v1.10.57`](https://togithub.com/phpstan/phpstan/releases/tag/1.10.57)
[Compare Source](https://togithub.com/phpstan/phpstan/compare/1.10.56...1.10.57)
# Bleeding edge πͺ
- Fix checking generic `mixed` type based on config ([#2885](https://togithub.com/phpstan/phpstan-src/pull/2885)), thanks [@schlndh](https://togithub.com/schlndh)!
*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 `ClassReflection::getConstant()` return type (https://github.com/phpstan/phpstan-src/commit/8d4ea60a5710bff1b95c918c2a3ee948fc35bae7)
- Cover `ClassConstantReflection` with BC promise (https://github.com/phpstan/phpstan-src/commit/8f82b799c5e65424d85a79ffdc60b3ea14d95731)
# Bugfixes π
- Preserve TemplateTypeArray when merging array types (https://github.com/phpstan/phpstan-src/commit/8342785e39da26631f5f2d972de1fe39f3aeafeb), [#10445](https://togithub.com/phpstan/phpstan/issues/10445)
- Fix `array_filter` callback return type (https://github.com/phpstan/phpstan-src/commit/59ae706f1333da5de88224a04bfec71a1a8d6acd)
- Fix undefined XMLReader properties with local phpstorm-stubs patch (https://github.com/phpstan/phpstan-src/commit/2d364d781c551002ed2a648447b04401744b4b6f), [#8629](https://togithub.com/phpstan/phpstan/issues/8629)
- Fix spaceship operator for large constant unions ([#2886](https://togithub.com/phpstan/phpstan-src/pull/2886)), thanks [@schlndh](https://togithub.com/schlndh)!
- MissingClassConstantTypehintRule should not apply to native types (https://github.com/phpstan/phpstan-src/commit/6363932c56678f5d49a960f65b09fb2c11cd7dd3)
- Do not generalize class-level `@template` type in method call (https://github.com/phpstan/phpstan-src/commit/11268e5eebb2b147007fdc4902d91a3418175594), [#10473](https://togithub.com/phpstan/phpstan/issues/10473)
# Function signature fixes π€
- `curl_multi_init()` cannot return false ([#2882](https://togithub.com/phpstan/phpstan-src/pull/2882)), thanks [@staabm](https://togithub.com/staabm)!
- `error_log()` is impure ([#2884](https://togithub.com/phpstan/phpstan-src/pull/2884)), thanks [@staabm](https://togithub.com/staabm)!
Configuration
π Schedule: Branch creation - At any time (no schedule defined), 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.
[ ] If you want to rebase/retry this PR, click this checkbox.
This PR contains the following updates:
1.10.56
->1.10.57
Release Notes
phpstan/phpstan
### [`v1.10.57`](https://togithub.com/phpstan/phpstan/releases/tag/1.10.57) [Compare Source](https://togithub.com/phpstan/phpstan/compare/1.10.56...1.10.57) # Bleeding edge πͺ - Fix checking generic `mixed` type based on config ([#2885](https://togithub.com/phpstan/phpstan-src/pull/2885)), thanks [@schlndh](https://togithub.com/schlndh)! *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 `ClassReflection::getConstant()` return type (https://github.com/phpstan/phpstan-src/commit/8d4ea60a5710bff1b95c918c2a3ee948fc35bae7) - Cover `ClassConstantReflection` with BC promise (https://github.com/phpstan/phpstan-src/commit/8f82b799c5e65424d85a79ffdc60b3ea14d95731) # Bugfixes π - Preserve TemplateTypeArray when merging array types (https://github.com/phpstan/phpstan-src/commit/8342785e39da26631f5f2d972de1fe39f3aeafeb), [#10445](https://togithub.com/phpstan/phpstan/issues/10445) - Fix `array_filter` callback return type (https://github.com/phpstan/phpstan-src/commit/59ae706f1333da5de88224a04bfec71a1a8d6acd) - Fix undefined XMLReader properties with local phpstorm-stubs patch (https://github.com/phpstan/phpstan-src/commit/2d364d781c551002ed2a648447b04401744b4b6f), [#8629](https://togithub.com/phpstan/phpstan/issues/8629) - Fix spaceship operator for large constant unions ([#2886](https://togithub.com/phpstan/phpstan-src/pull/2886)), thanks [@schlndh](https://togithub.com/schlndh)! - MissingClassConstantTypehintRule should not apply to native types (https://github.com/phpstan/phpstan-src/commit/6363932c56678f5d49a960f65b09fb2c11cd7dd3) - Do not generalize class-level `@template` type in method call (https://github.com/phpstan/phpstan-src/commit/11268e5eebb2b147007fdc4902d91a3418175594), [#10473](https://togithub.com/phpstan/phpstan/issues/10473) # Function signature fixes π€ - `curl_multi_init()` cannot return false ([#2882](https://togithub.com/phpstan/phpstan-src/pull/2882)), thanks [@staabm](https://togithub.com/staabm)! - `error_log()` is impure ([#2884](https://togithub.com/phpstan/phpstan-src/pull/2884)), thanks [@staabm](https://togithub.com/staabm)!Configuration
π Schedule: Branch creation - At any time (no schedule defined), 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.
This PR has been generated by Renovate Bot.