phpstan/phpstan (phpstan/phpstan)
### [`v1.10.50`](https://togithub.com/phpstan/phpstan/releases/tag/1.10.50)
[Compare Source](https://togithub.com/phpstan/phpstan/compare/1.10.49...1.10.50)
# Improvements 🔧
- Update `nikic/php-parser` to 4.18.0 (https://github.com/phpstan/phpstan-src/commit/24f92cc2a69cbeecefb8e2093c6db41138cc9398)
# Bugfixes 🐛
- `VoidType` - accept `null` (https://github.com/phpstan/phpstan-src/commit/40c8fb2266f040158fb811ac13b21a3e179c022a), [#10291](https://togithub.com/phpstan/phpstan/issues/10291)
# Internals 🔍
- `InvalidPromotedPropertiesRule` - use `FunctionLike` as node type ([#2823](https://togithub.com/phpstan/phpstan-src/pull/2823)), thanks [@paulbalandan](https://togithub.com/paulbalandan)!
- Deduplicate inferred template type generalization logic (https://github.com/phpstan/phpstan-src/commit/39fe102d23c8aec32b8c21225152e2d835d224b2)
### [`v1.10.49`](https://togithub.com/phpstan/phpstan/releases/tag/1.10.49)
[Compare Source](https://togithub.com/phpstan/phpstan/compare/1.10.48...1.10.49)
# Bleeding edge 🔪
- Do not generalize template types, except when in `GenericObjectType` ([#2818](https://togithub.com/phpstan/phpstan-src/pull/2818), [#2821](https://togithub.com/phpstan/phpstan-src/pull/2821))
- This fixes following **17 issues**: [#8166](https://togithub.com/phpstan/phpstan/issues/8166), [#8127](https://togithub.com/phpstan/phpstan/issues/8127), [#7944](https://togithub.com/phpstan/phpstan/issues/7944), [#7283](https://togithub.com/phpstan/phpstan/issues/7283), [#6653](https://togithub.com/phpstan/phpstan/issues/6653), [#6196](https://togithub.com/phpstan/phpstan/issues/6196), [#9084](https://togithub.com/phpstan/phpstan/issues/9084), [#8683](https://togithub.com/phpstan/phpstan/issues/8683), [#8074](https://togithub.com/phpstan/phpstan/issues/8074), [#7984](https://togithub.com/phpstan/phpstan/issues/7984), [#7301](https://togithub.com/phpstan/phpstan/issues/7301), [#7087](https://togithub.com/phpstan/phpstan/issues/7087), [#5594](https://togithub.com/phpstan/phpstan/issues/5594), [#5592](https://togithub.com/phpstan/phpstan/issues/5592), [#9472](https://togithub.com/phpstan/phpstan/issues/9472), [#9764](https://togithub.com/phpstan/phpstan/issues/9764), [#10092](https://togithub.com/phpstan/phpstan/issues/10092)
*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 🔧
- Transform `void` return to `null` after call ([#2778](https://togithub.com/phpstan/phpstan-src/pull/2778)), [#6720](https://togithub.com/phpstan/phpstan/issues/6720), thanks [@herndlm](https://togithub.com/herndlm)!
# Bugfixes 🐛
- Fix `count(list)` regression ([#2813](https://togithub.com/phpstan/phpstan-src/pull/2813)), thanks [@staabm](https://togithub.com/staabm)!
- Make AcceptsResult reasons unique (https://github.com/phpstan/phpstan-src/commit/01aabcff33c9f8cb0f6a04469a75cb3c47a014a2)
# Function signature fixes 🤖
- Make `SimpleXMLElement` method return types benevolent (when they return `static|null`) (https://github.com/phpstan/phpstan-src/commit/fb76c9f7d324c854bd2da8bd542b2de6337410e4)
Configuration
📅 Schedule: Branch creation - "before 4pm on Wednesday except before 9am on Wednesday" in timezone America/New_York, Automerge - At any time (no schedule defined).
🚦 Automerge: Enabled.
♻ 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.
[ ] If you want to rebase/retry this PR, check this box
This PR has been generated by Mend Renovate. View repository job log here.
This PR contains the following updates:
1.10.48
->1.10.50
Release Notes
phpstan/phpstan (phpstan/phpstan)
### [`v1.10.50`](https://togithub.com/phpstan/phpstan/releases/tag/1.10.50) [Compare Source](https://togithub.com/phpstan/phpstan/compare/1.10.49...1.10.50) # Improvements 🔧 - Update `nikic/php-parser` to 4.18.0 (https://github.com/phpstan/phpstan-src/commit/24f92cc2a69cbeecefb8e2093c6db41138cc9398) # Bugfixes 🐛 - `VoidType` - accept `null` (https://github.com/phpstan/phpstan-src/commit/40c8fb2266f040158fb811ac13b21a3e179c022a), [#10291](https://togithub.com/phpstan/phpstan/issues/10291) # Internals 🔍 - `InvalidPromotedPropertiesRule` - use `FunctionLike` as node type ([#2823](https://togithub.com/phpstan/phpstan-src/pull/2823)), thanks [@paulbalandan](https://togithub.com/paulbalandan)! - Deduplicate inferred template type generalization logic (https://github.com/phpstan/phpstan-src/commit/39fe102d23c8aec32b8c21225152e2d835d224b2) ### [`v1.10.49`](https://togithub.com/phpstan/phpstan/releases/tag/1.10.49) [Compare Source](https://togithub.com/phpstan/phpstan/compare/1.10.48...1.10.49) # Bleeding edge 🔪 - Do not generalize template types, except when in `GenericObjectType` ([#2818](https://togithub.com/phpstan/phpstan-src/pull/2818), [#2821](https://togithub.com/phpstan/phpstan-src/pull/2821)) - This fixes following **17 issues**: [#8166](https://togithub.com/phpstan/phpstan/issues/8166), [#8127](https://togithub.com/phpstan/phpstan/issues/8127), [#7944](https://togithub.com/phpstan/phpstan/issues/7944), [#7283](https://togithub.com/phpstan/phpstan/issues/7283), [#6653](https://togithub.com/phpstan/phpstan/issues/6653), [#6196](https://togithub.com/phpstan/phpstan/issues/6196), [#9084](https://togithub.com/phpstan/phpstan/issues/9084), [#8683](https://togithub.com/phpstan/phpstan/issues/8683), [#8074](https://togithub.com/phpstan/phpstan/issues/8074), [#7984](https://togithub.com/phpstan/phpstan/issues/7984), [#7301](https://togithub.com/phpstan/phpstan/issues/7301), [#7087](https://togithub.com/phpstan/phpstan/issues/7087), [#5594](https://togithub.com/phpstan/phpstan/issues/5594), [#5592](https://togithub.com/phpstan/phpstan/issues/5592), [#9472](https://togithub.com/phpstan/phpstan/issues/9472), [#9764](https://togithub.com/phpstan/phpstan/issues/9764), [#10092](https://togithub.com/phpstan/phpstan/issues/10092) *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 🔧 - Transform `void` return to `null` after call ([#2778](https://togithub.com/phpstan/phpstan-src/pull/2778)), [#6720](https://togithub.com/phpstan/phpstan/issues/6720), thanks [@herndlm](https://togithub.com/herndlm)! # Bugfixes 🐛 - Fix `count(list)` regression ([#2813](https://togithub.com/phpstan/phpstan-src/pull/2813)), thanks [@staabm](https://togithub.com/staabm)! - Make AcceptsResult reasons unique (https://github.com/phpstan/phpstan-src/commit/01aabcff33c9f8cb0f6a04469a75cb3c47a014a2) # Function signature fixes 🤖 - Make `SimpleXMLElement` method return types benevolent (when they return `static|null`) (https://github.com/phpstan/phpstan-src/commit/fb76c9f7d324c854bd2da8bd542b2de6337410e4)Configuration
📅 Schedule: Branch creation - "before 4pm on Wednesday except before 9am on Wednesday" in timezone America/New_York, Automerge - At any time (no schedule defined).
🚦 Automerge: Enabled.
♻ 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 has been generated by Mend Renovate. View repository job log here.