phpstan/phpstan
### [`v1.10.46`](https://togithub.com/phpstan/phpstan/releases/tag/1.10.46)
[Compare Source](https://togithub.com/phpstan/phpstan/compare/1.10.45...1.10.46)
# Improvements š§
- Improved `isset()` and ternary operator handling ([#2710](https://togithub.com/phpstan/phpstan-src/pull/2710)), [#3632](https://togithub.com/phpstan/phpstan/issues/3632), [#8190](https://togithub.com/phpstan/phpstan/issues/8190), [#8366](https://togithub.com/phpstan/phpstan/issues/8366), [#8659](https://togithub.com/phpstan/phpstan/issues/8659), [#9580](https://togithub.com/phpstan/phpstan/issues/9580), [#10064](https://togithub.com/phpstan/phpstan/issues/10064), [#10088](https://togithub.com/phpstan/phpstan/issues/10088), thanks [@staabm](https://togithub.com/staabm)!
- Optimize enums with many cases (https://github.com/phpstan/phpstan-src/commit/b17d5290766ca3a4d413dbfe9e020c9fef4700c3)
# Bugfixes š
- Fix namespace of named type in class constant native type by patching PHP-Parser (https://github.com/phpstan/phpstan-src/commit/8234dc0b34c0748f6caa3be4130411562fb03f2c), [#10212](https://togithub.com/phpstan/phpstan/issues/10212)
- Do not create conditional expression for the same variable (https://github.com/phpstan/phpstan-src/commit/aec04068119f765ed7181ea737c20cea6916591d)
- It's okay to have always-throwing expression in arrow function (https://github.com/phpstan/phpstan-src/commit/758e5f118ac5781d597707666104511258fcaf67), [#7890](https://togithub.com/phpstan/phpstan/issues/7890)
# Internals š
- Use dedicated Type methods over `isSuperTypeOf()` ([#2788](https://togithub.com/phpstan/phpstan-src/pull/2788)), 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.45
->1.10.46
Release Notes
phpstan/phpstan
### [`v1.10.46`](https://togithub.com/phpstan/phpstan/releases/tag/1.10.46) [Compare Source](https://togithub.com/phpstan/phpstan/compare/1.10.45...1.10.46) # Improvements š§ - Improved `isset()` and ternary operator handling ([#2710](https://togithub.com/phpstan/phpstan-src/pull/2710)), [#3632](https://togithub.com/phpstan/phpstan/issues/3632), [#8190](https://togithub.com/phpstan/phpstan/issues/8190), [#8366](https://togithub.com/phpstan/phpstan/issues/8366), [#8659](https://togithub.com/phpstan/phpstan/issues/8659), [#9580](https://togithub.com/phpstan/phpstan/issues/9580), [#10064](https://togithub.com/phpstan/phpstan/issues/10064), [#10088](https://togithub.com/phpstan/phpstan/issues/10088), thanks [@staabm](https://togithub.com/staabm)! - Optimize enums with many cases (https://github.com/phpstan/phpstan-src/commit/b17d5290766ca3a4d413dbfe9e020c9fef4700c3) # Bugfixes š - Fix namespace of named type in class constant native type by patching PHP-Parser (https://github.com/phpstan/phpstan-src/commit/8234dc0b34c0748f6caa3be4130411562fb03f2c), [#10212](https://togithub.com/phpstan/phpstan/issues/10212) - Do not create conditional expression for the same variable (https://github.com/phpstan/phpstan-src/commit/aec04068119f765ed7181ea737c20cea6916591d) - It's okay to have always-throwing expression in arrow function (https://github.com/phpstan/phpstan-src/commit/758e5f118ac5781d597707666104511258fcaf67), [#7890](https://togithub.com/phpstan/phpstan/issues/7890) # Internals š - Use dedicated Type methods over `isSuperTypeOf()` ([#2788](https://togithub.com/phpstan/phpstan-src/pull/2788)), 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.