phpstan/phpstan (phpstan/phpstan)
### [`v1.10.38`](https://togithub.com/phpstan/phpstan/releases/tag/1.10.38)
[Compare Source](https://togithub.com/phpstan/phpstan/compare/1.10.37...1.10.38)
# Improvements 🔧
- Remove function signatures that were removed in PHP 8.0 ([#2662](https://togithub.com/phpstan/phpstan-src/pull/2662)), [#9954](https://togithub.com/phpstan/phpstan/issues/9954), thanks [@Th3Cod3](https://togithub.com/Th3Cod3)!
# Bugfixes 🐛
- Update BetterReflection
- Fix for non-backed enums (https://github.com/ondrejmirtes/BetterReflection/commit/4dd0f2bb17810ab0ee8f2a77c63d6b02f7b6d0d4)
- Do not invalidate types passed by value (https://github.com/phpstan/phpstan-src/commit/0b8dca74e5345244a955535b54e9874beae76713), [https://github.com/phpstan/phpstan/discussions/9927](https://togithub.com/phpstan/phpstan/discussions/9927)
- Do not influence types of arguments before the function is called (https://github.com/phpstan/phpstan-src/commit/c45d42dd1d031016668099957d2b77706f208d67)
- Fixed collapsing of constant arrays (https://github.com/phpstan/phpstan-src/commit/746de74c5cdd339c9020cfb03784fb39229ed86a), [#9985](https://togithub.com/phpstan/phpstan/issues/9985)
# Internals 🔍
- Lazier type-resolving in `isset` checks ([#2664](https://togithub.com/phpstan/phpstan-src/pull/2664)), thanks [@staabm](https://togithub.com/staabm)!
- Refactor to invalidate args inside `processArgs` (https://github.com/phpstan/phpstan-src/commit/52eb6f8e5f19a41b8a00ca331ba67c7cba8aa952)
- Merge array types a bit later (https://github.com/phpstan/phpstan-src/commit/adbc35a1c72585df4586131f8e99b882bb64677d)
### [`v1.10.37`](https://togithub.com/phpstan/phpstan/releases/tag/1.10.37)
[Compare Source](https://togithub.com/phpstan/phpstan/compare/1.10.36...1.10.37)
# Bugfixes 🐛
- Support array shape covariance when the optional key is missing in the subtype ([#2655](https://togithub.com/phpstan/phpstan-src/pull/2655)), [#9905](https://togithub.com/phpstan/phpstan/issues/9905), [#5655](https://togithub.com/phpstan/phpstan/issues/5655), [#7273](https://togithub.com/phpstan/phpstan/issues/7273), thanks [@staabm](https://togithub.com/staabm)!
- Fix conditional types ([#2659](https://togithub.com/phpstan/phpstan-src/pull/2659)), [#9951](https://togithub.com/phpstan/phpstan/issues/9951), [#9963](https://togithub.com/phpstan/phpstan/issues/9963), thanks [@rvanvelzen](https://togithub.com/rvanvelzen)!
- Handle exception thrown from callable object's `__invoke` method ([#2502](https://togithub.com/phpstan/phpstan-src/pull/2502)), [#6233](https://togithub.com/phpstan/phpstan/issues/6233), thanks [@VincentLanglet](https://togithub.com/VincentLanglet)!
- Update BetterReflection
- ReflectionSourceStubber - fix enum as default function parameter value (https://github.com/ondrejmirtes/BetterReflection/commit/135a394e2fba447a788ac3a36818e4cde8b87ac4), [https://github.com/nunomaduro/larastan/issues/1749](https://togithub.com/nunomaduro/larastan/issues/1749)
Configuration
📅 Schedule: Branch creation - "before 4am on Monday" (UTC), 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, check this box
This PR has been generated by Mend Renovate. View repository job log here.
This PR contains the following updates:
1.10.36
->1.10.38
Release Notes
phpstan/phpstan (phpstan/phpstan)
### [`v1.10.38`](https://togithub.com/phpstan/phpstan/releases/tag/1.10.38) [Compare Source](https://togithub.com/phpstan/phpstan/compare/1.10.37...1.10.38) # Improvements 🔧 - Remove function signatures that were removed in PHP 8.0 ([#2662](https://togithub.com/phpstan/phpstan-src/pull/2662)), [#9954](https://togithub.com/phpstan/phpstan/issues/9954), thanks [@Th3Cod3](https://togithub.com/Th3Cod3)! # Bugfixes 🐛 - Update BetterReflection - Fix for non-backed enums (https://github.com/ondrejmirtes/BetterReflection/commit/4dd0f2bb17810ab0ee8f2a77c63d6b02f7b6d0d4) - Do not invalidate types passed by value (https://github.com/phpstan/phpstan-src/commit/0b8dca74e5345244a955535b54e9874beae76713), [https://github.com/phpstan/phpstan/discussions/9927](https://togithub.com/phpstan/phpstan/discussions/9927) - Do not influence types of arguments before the function is called (https://github.com/phpstan/phpstan-src/commit/c45d42dd1d031016668099957d2b77706f208d67) - Fixed collapsing of constant arrays (https://github.com/phpstan/phpstan-src/commit/746de74c5cdd339c9020cfb03784fb39229ed86a), [#9985](https://togithub.com/phpstan/phpstan/issues/9985) # Internals 🔍 - Lazier type-resolving in `isset` checks ([#2664](https://togithub.com/phpstan/phpstan-src/pull/2664)), thanks [@staabm](https://togithub.com/staabm)! - Refactor to invalidate args inside `processArgs` (https://github.com/phpstan/phpstan-src/commit/52eb6f8e5f19a41b8a00ca331ba67c7cba8aa952) - Merge array types a bit later (https://github.com/phpstan/phpstan-src/commit/adbc35a1c72585df4586131f8e99b882bb64677d) ### [`v1.10.37`](https://togithub.com/phpstan/phpstan/releases/tag/1.10.37) [Compare Source](https://togithub.com/phpstan/phpstan/compare/1.10.36...1.10.37) # Bugfixes 🐛 - Support array shape covariance when the optional key is missing in the subtype ([#2655](https://togithub.com/phpstan/phpstan-src/pull/2655)), [#9905](https://togithub.com/phpstan/phpstan/issues/9905), [#5655](https://togithub.com/phpstan/phpstan/issues/5655), [#7273](https://togithub.com/phpstan/phpstan/issues/7273), thanks [@staabm](https://togithub.com/staabm)! - Fix conditional types ([#2659](https://togithub.com/phpstan/phpstan-src/pull/2659)), [#9951](https://togithub.com/phpstan/phpstan/issues/9951), [#9963](https://togithub.com/phpstan/phpstan/issues/9963), thanks [@rvanvelzen](https://togithub.com/rvanvelzen)! - Handle exception thrown from callable object's `__invoke` method ([#2502](https://togithub.com/phpstan/phpstan-src/pull/2502)), [#6233](https://togithub.com/phpstan/phpstan/issues/6233), thanks [@VincentLanglet](https://togithub.com/VincentLanglet)! - Update BetterReflection - ReflectionSourceStubber - fix enum as default function parameter value (https://github.com/ondrejmirtes/BetterReflection/commit/135a394e2fba447a788ac3a36818e4cde8b87ac4), [https://github.com/nunomaduro/larastan/issues/1749](https://togithub.com/nunomaduro/larastan/issues/1749)Configuration
📅 Schedule: Branch creation - "before 4am on Monday" (UTC), 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 Mend Renovate. View repository job log here.