phpstan/phpstan
### [`v0.12.90`](https://togithub.com/phpstan/phpstan/releases/0.12.90)
[Compare Source](https://togithub.com/phpstan/phpstan/compare/0.12.89...0.12.90)
# Improvements 🔧
- Allow empty array shape (https://github.com/phpstan/phpstan-src/commit/d36852a25b531eb0f56e215d1a239ad1e01aa2cc), [#5159](https://togithub.com/phpstan/phpstan/issues/5159)
- ClassReflection: option to make `getTraits()` recursive ([#557](https://togithub.com/phpstan/phpstan-src/pull/557)), thanks [@IAmRGroot](https://togithub.com/IAmRGroot)!
- Update BetterReflection with some performance optimizations (https://github.com/phpstan/phpstan-src/commit/dce3c85e5e6137809aee3ded3f519fe0d80482ea)
# Bleeding edge 🔪
- Array functions stubs ([#555](https://togithub.com/phpstan/phpstan-src/pull/555)), thanks [@BackEndTea](https://togithub.com/BackEndTea)!
*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)*
# Bugfixes 🐛
- Revert "InstalledVersions.php no longer needs to be whitelisted" (https://github.com/phpstan/phpstan-src/commit/b902c38565dd1e7e4272b36a40c22f8c4cd1b0f2), [#5157](https://togithub.com/phpstan/phpstan/issues/5157)
- Fix evaluating match arm conditions (https://github.com/phpstan/phpstan-src/commit/7acf7ca6e4278690687720e471da133c2654e1c8), [#5161](https://togithub.com/phpstan/phpstan/issues/5161)
- `never` return type in PHPDoc wins over native type (https://github.com/phpstan/phpstan-src/commit/2c976fb167fd80af1d6be6b48407dd93639a7af2), [#5089](https://togithub.com/phpstan/phpstan/issues/5089)
- `ClosureType` typeOnly description is just `Closure` (https://github.com/phpstan/phpstan-src/commit/476520d6c325f9968c32de21464462df068d0565), [#5164](https://togithub.com/phpstan/phpstan/issues/5164)
- NonexistentOffsetInArrayDimFetchCheck - be less strict about `BenevolentUnionType` (https://github.com/phpstan/phpstan-src/commit/2abb92e2588808b3a8dd5cc3206041b7afa9891d), [#5169](https://togithub.com/phpstan/phpstan/issues/5169)
- ClosureType and CallableType - infer template types from callable parameters properly (https://github.com/phpstan/phpstan-src/commit/efa6aa60535eccc59e1e8e5816d339267eaf757a, https://github.com/phpstan/phpstan-src/commit/01f99c18c56f3909d7bfbf0a6c14303c8b1f1316), [#3158](https://togithub.com/phpstan/phpstan/issues/3158)
# Function signature fixes 🤖
- Allow `null` for `file_put_contents()` `$context` argument ([#558](https://togithub.com/phpstan/phpstan-src/pull/558)), thanks [@steevanb](https://togithub.com/steevanb)!
Configuration
📅 Schedule: 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 contains the following updates:
0.12.89
->0.12.90
Release Notes
phpstan/phpstan
### [`v0.12.90`](https://togithub.com/phpstan/phpstan/releases/0.12.90) [Compare Source](https://togithub.com/phpstan/phpstan/compare/0.12.89...0.12.90) # Improvements 🔧 - Allow empty array shape (https://github.com/phpstan/phpstan-src/commit/d36852a25b531eb0f56e215d1a239ad1e01aa2cc), [#5159](https://togithub.com/phpstan/phpstan/issues/5159) - ClassReflection: option to make `getTraits()` recursive ([#557](https://togithub.com/phpstan/phpstan-src/pull/557)), thanks [@IAmRGroot](https://togithub.com/IAmRGroot)! - Update BetterReflection with some performance optimizations (https://github.com/phpstan/phpstan-src/commit/dce3c85e5e6137809aee3ded3f519fe0d80482ea) # Bleeding edge 🔪 - Array functions stubs ([#555](https://togithub.com/phpstan/phpstan-src/pull/555)), thanks [@BackEndTea](https://togithub.com/BackEndTea)! *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)* # Bugfixes 🐛 - Revert "InstalledVersions.php no longer needs to be whitelisted" (https://github.com/phpstan/phpstan-src/commit/b902c38565dd1e7e4272b36a40c22f8c4cd1b0f2), [#5157](https://togithub.com/phpstan/phpstan/issues/5157) - Fix evaluating match arm conditions (https://github.com/phpstan/phpstan-src/commit/7acf7ca6e4278690687720e471da133c2654e1c8), [#5161](https://togithub.com/phpstan/phpstan/issues/5161) - `never` return type in PHPDoc wins over native type (https://github.com/phpstan/phpstan-src/commit/2c976fb167fd80af1d6be6b48407dd93639a7af2), [#5089](https://togithub.com/phpstan/phpstan/issues/5089) - `ClosureType` typeOnly description is just `Closure` (https://github.com/phpstan/phpstan-src/commit/476520d6c325f9968c32de21464462df068d0565), [#5164](https://togithub.com/phpstan/phpstan/issues/5164) - NonexistentOffsetInArrayDimFetchCheck - be less strict about `BenevolentUnionType` (https://github.com/phpstan/phpstan-src/commit/2abb92e2588808b3a8dd5cc3206041b7afa9891d), [#5169](https://togithub.com/phpstan/phpstan/issues/5169) - ClosureType and CallableType - infer template types from callable parameters properly (https://github.com/phpstan/phpstan-src/commit/efa6aa60535eccc59e1e8e5816d339267eaf757a, https://github.com/phpstan/phpstan-src/commit/01f99c18c56f3909d7bfbf0a6c14303c8b1f1316), [#3158](https://togithub.com/phpstan/phpstan/issues/3158) # Function signature fixes 🤖 - Allow `null` for `file_put_contents()` `$context` argument ([#558](https://togithub.com/phpstan/phpstan-src/pull/558)), thanks [@steevanb](https://togithub.com/steevanb)!Configuration
📅 Schedule: 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 WhiteSource Renovate. View repository job log here.