larastan/larastan (larastan/larastan)
### [`v2.9.0`](https://togithub.com/larastan/larastan/releases/tag/v2.9.0): 2.9.0
[Compare Source](https://togithub.com/larastan/larastan/compare/v2.8.1...v2.9.0)
#### Added
- feat: return array shape from model only method by [@calebdw](https://togithub.com/calebdw) in [https://github.com/larastan/larastan/pull/1834](https://togithub.com/larastan/larastan/pull/1834)
- feat: detect usage of env() function outside of config folder by [@calebdw](https://togithub.com/calebdw) in [https://github.com/larastan/larastan/pull/1828](https://togithub.com/larastan/larastan/pull/1828)
- feat: infer nullable type information by filled/blank function calls by [@tpetry](https://togithub.com/tpetry) in [https://github.com/larastan/larastan/pull/1843](https://togithub.com/larastan/larastan/pull/1843)
- Add stub for Str::replace by [@besanek](https://togithub.com/besanek) in [https://github.com/larastan/larastan/pull/1840](https://togithub.com/larastan/larastan/pull/1840)
- Add stubs for Collection->pop and Collection->shift by [@simon-tma](https://togithub.com/simon-tma) in [https://github.com/larastan/larastan/pull/1827](https://togithub.com/larastan/larastan/pull/1827)
- Added `toRawSql`, `dumpRawSql` and `ddRawSql` to `QueryBuilder.stub` by [@eusonlito](https://togithub.com/eusonlito) in [https://github.com/larastan/larastan/pull/1823](https://togithub.com/larastan/larastan/pull/1823)
- Add missing typehints to query builder stub by [@lribi](https://togithub.com/lribi) in [https://github.com/larastan/larastan/pull/1821](https://togithub.com/larastan/larastan/pull/1821)
#### Fixed
- To avoid PHPUnit deprecations, add the 'static' keyword to the method by [@Hikaru-Giannis](https://togithub.com/Hikaru-Giannis) in [https://github.com/larastan/larastan/pull/1817](https://togithub.com/larastan/larastan/pull/1817)
- fix: add generics for `cursor` method by [@calebdw](https://togithub.com/calebdw) in [https://github.com/larastan/larastan/pull/1825](https://togithub.com/larastan/larastan/pull/1825)
- fix: check relation parent instead of string in name for many/morph by [@calebdw](https://togithub.com/calebdw) in [https://github.com/larastan/larastan/pull/1835](https://togithub.com/larastan/larastan/pull/1835)
- fix: infinite mixin recursion by [@calebdw](https://togithub.com/calebdw) in [https://github.com/larastan/larastan/pull/1839](https://togithub.com/larastan/larastan/pull/1839)
- fix: HasOneThrough relation being recognized as a collection by [@calebdw](https://togithub.com/calebdw) in [https://github.com/larastan/larastan/pull/1841](https://togithub.com/larastan/larastan/pull/1841)
- fix: model `first` not checking model properties by [@calebdw](https://togithub.com/calebdw) in [https://github.com/larastan/larastan/pull/1845](https://togithub.com/larastan/larastan/pull/1845)
#### Internal
- chore: add test for nullable collection cast by [@calebdw](https://togithub.com/calebdw) in [https://github.com/larastan/larastan/pull/1846](https://togithub.com/larastan/larastan/pull/1846)
- feat: add filament as e2e test and update others by [@canvural](https://togithub.com/canvural) in [https://github.com/larastan/larastan/pull/1847](https://togithub.com/larastan/larastan/pull/1847)
#### New Contributors
- [@Hikaru-Giannis](https://togithub.com/Hikaru-Giannis) made their first contribution in [https://github.com/larastan/larastan/pull/1817](https://togithub.com/larastan/larastan/pull/1817)
- [@eusonlito](https://togithub.com/eusonlito) made their first contribution in [https://github.com/larastan/larastan/pull/1823](https://togithub.com/larastan/larastan/pull/1823)
- [@simon-tma](https://togithub.com/simon-tma) made their first contribution in [https://github.com/larastan/larastan/pull/1827](https://togithub.com/larastan/larastan/pull/1827)
- [@lribi](https://togithub.com/lribi) made their first contribution in [https://github.com/larastan/larastan/pull/1821](https://togithub.com/larastan/larastan/pull/1821)
- [@besanek](https://togithub.com/besanek) made their first contribution in [https://github.com/larastan/larastan/pull/1840](https://togithub.com/larastan/larastan/pull/1840)
**Full Changelog**: https://github.com/larastan/larastan/compare/v2.8.1...v2.9.0
phpstan/phpstan (phpstan/phpstan)
### [`v1.10.58`](https://togithub.com/phpstan/phpstan/releases/tag/1.10.58)
[Compare Source](https://togithub.com/phpstan/phpstan/compare/1.10.57...1.10.58)
# Improvements 🔧
- Verify property type after `unset` (https://github.com/phpstan/phpstan-src/commit/aeadbe28e0b0a05a3a48723ac310cf6c0d852711), [#10506](https://togithub.com/phpstan/phpstan/issues/10506), [#6773](https://togithub.com/phpstan/phpstan/issues/6773)
# Bugfixes 🐛
- InvalidThrowsPhpDocValueRule: support `@phpstan-require-extends` ([#2890](https://togithub.com/phpstan/phpstan-src/pull/2890)), [#10475](https://togithub.com/phpstan/phpstan/issues/10475), thanks [@RobertMe](https://togithub.com/RobertMe)!
- `sort()`, `rsort()` and `usort()` convert an array to list ([#2891](https://togithub.com/phpstan/phpstan-src/pull/2891)), [#6467](https://togithub.com/phpstan/phpstan/issues/6467), [#10423](https://togithub.com/phpstan/phpstan/issues/10423), [#3312](https://togithub.com/phpstan/phpstan/issues/3312), thanks [@takaram](https://togithub.com/takaram)!
- Fix stale result cache with imported type aliases ([#2894](https://togithub.com/phpstan/phpstan-src/pull/2894)), [#10449](https://togithub.com/phpstan/phpstan/issues/10449), thanks [@staabm](https://togithub.com/staabm)!
- Avoid internal error with `T` where `T` bound consist of intersection type (https://github.com/phpstan/phpstan-src/commit/778b56999967ed2fb6630462fe26fdb1e022bba7), [#10509](https://togithub.com/phpstan/phpstan/issues/10509)
- Recognize `[1 => 'method', 0 => $obj]` as callable ([#2896](https://togithub.com/phpstan/phpstan-src/pull/2896)), [#10502](https://togithub.com/phpstan/phpstan/issues/10502), thanks [@staabm](https://togithub.com/staabm)!
- SprintfFunctionDynamicReturnTypeExtension - limit combinatorial explosion (https://github.com/phpstan/phpstan-src/commit/51cffd49dcf08e17f201f3fb70c29a589d94a234), [#10538](https://togithub.com/phpstan/phpstan/issues/10538)
- Fix implicit `@phpstan-assert` PHPDoc inheritance with generics ([#2909](https://togithub.com/phpstan/phpstan-src/pull/2909)), [#10037](https://togithub.com/phpstan/phpstan/issues/10037), [#9123](https://togithub.com/phpstan/phpstan/issues/9123), thanks [@RobertMe](https://togithub.com/RobertMe)!
# Internals 🔍
- Prevent unnecessary `isSuperTypeOf()` calls ([#2895](https://togithub.com/phpstan/phpstan-src/pull/2895)), thanks [@staabm](https://togithub.com/staabm)!
- Simplify `ClassPropertiesNode->getUninitializedProperties()` ([#2899](https://togithub.com/phpstan/phpstan-src/pull/2899)), thanks [@staabm](https://togithub.com/staabm)!
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.
👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.
[ ] 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:
2.8.1
->2.9.0
1.10.57
->1.10.58
Release Notes
larastan/larastan (larastan/larastan)
### [`v2.9.0`](https://togithub.com/larastan/larastan/releases/tag/v2.9.0): 2.9.0 [Compare Source](https://togithub.com/larastan/larastan/compare/v2.8.1...v2.9.0) #### Added - feat: return array shape from model only method by [@calebdw](https://togithub.com/calebdw) in [https://github.com/larastan/larastan/pull/1834](https://togithub.com/larastan/larastan/pull/1834) - feat: detect usage of env() function outside of config folder by [@calebdw](https://togithub.com/calebdw) in [https://github.com/larastan/larastan/pull/1828](https://togithub.com/larastan/larastan/pull/1828) - feat: infer nullable type information by filled/blank function calls by [@tpetry](https://togithub.com/tpetry) in [https://github.com/larastan/larastan/pull/1843](https://togithub.com/larastan/larastan/pull/1843) - Add stub for Str::replace by [@besanek](https://togithub.com/besanek) in [https://github.com/larastan/larastan/pull/1840](https://togithub.com/larastan/larastan/pull/1840) - Add stubs for Collection->pop and Collection->shift by [@simon-tma](https://togithub.com/simon-tma) in [https://github.com/larastan/larastan/pull/1827](https://togithub.com/larastan/larastan/pull/1827) - Added `toRawSql`, `dumpRawSql` and `ddRawSql` to `QueryBuilder.stub` by [@eusonlito](https://togithub.com/eusonlito) in [https://github.com/larastan/larastan/pull/1823](https://togithub.com/larastan/larastan/pull/1823) - Add missing typehints to query builder stub by [@lribi](https://togithub.com/lribi) in [https://github.com/larastan/larastan/pull/1821](https://togithub.com/larastan/larastan/pull/1821) #### Fixed - To avoid PHPUnit deprecations, add the 'static' keyword to the method by [@Hikaru-Giannis](https://togithub.com/Hikaru-Giannis) in [https://github.com/larastan/larastan/pull/1817](https://togithub.com/larastan/larastan/pull/1817) - fix: add generics for `cursor` method by [@calebdw](https://togithub.com/calebdw) in [https://github.com/larastan/larastan/pull/1825](https://togithub.com/larastan/larastan/pull/1825) - fix: check relation parent instead of string in name for many/morph by [@calebdw](https://togithub.com/calebdw) in [https://github.com/larastan/larastan/pull/1835](https://togithub.com/larastan/larastan/pull/1835) - fix: infinite mixin recursion by [@calebdw](https://togithub.com/calebdw) in [https://github.com/larastan/larastan/pull/1839](https://togithub.com/larastan/larastan/pull/1839) - fix: HasOneThrough relation being recognized as a collection by [@calebdw](https://togithub.com/calebdw) in [https://github.com/larastan/larastan/pull/1841](https://togithub.com/larastan/larastan/pull/1841) - fix: model `first` not checking model properties by [@calebdw](https://togithub.com/calebdw) in [https://github.com/larastan/larastan/pull/1845](https://togithub.com/larastan/larastan/pull/1845) #### Internal - chore: add test for nullable collection cast by [@calebdw](https://togithub.com/calebdw) in [https://github.com/larastan/larastan/pull/1846](https://togithub.com/larastan/larastan/pull/1846) - feat: add filament as e2e test and update others by [@canvural](https://togithub.com/canvural) in [https://github.com/larastan/larastan/pull/1847](https://togithub.com/larastan/larastan/pull/1847) #### New Contributors - [@Hikaru-Giannis](https://togithub.com/Hikaru-Giannis) made their first contribution in [https://github.com/larastan/larastan/pull/1817](https://togithub.com/larastan/larastan/pull/1817) - [@eusonlito](https://togithub.com/eusonlito) made their first contribution in [https://github.com/larastan/larastan/pull/1823](https://togithub.com/larastan/larastan/pull/1823) - [@simon-tma](https://togithub.com/simon-tma) made their first contribution in [https://github.com/larastan/larastan/pull/1827](https://togithub.com/larastan/larastan/pull/1827) - [@lribi](https://togithub.com/lribi) made their first contribution in [https://github.com/larastan/larastan/pull/1821](https://togithub.com/larastan/larastan/pull/1821) - [@besanek](https://togithub.com/besanek) made their first contribution in [https://github.com/larastan/larastan/pull/1840](https://togithub.com/larastan/larastan/pull/1840) **Full Changelog**: https://github.com/larastan/larastan/compare/v2.8.1...v2.9.0phpstan/phpstan (phpstan/phpstan)
### [`v1.10.58`](https://togithub.com/phpstan/phpstan/releases/tag/1.10.58) [Compare Source](https://togithub.com/phpstan/phpstan/compare/1.10.57...1.10.58) # Improvements 🔧 - Verify property type after `unset` (https://github.com/phpstan/phpstan-src/commit/aeadbe28e0b0a05a3a48723ac310cf6c0d852711), [#10506](https://togithub.com/phpstan/phpstan/issues/10506), [#6773](https://togithub.com/phpstan/phpstan/issues/6773) # Bugfixes 🐛 - InvalidThrowsPhpDocValueRule: support `@phpstan-require-extends` ([#2890](https://togithub.com/phpstan/phpstan-src/pull/2890)), [#10475](https://togithub.com/phpstan/phpstan/issues/10475), thanks [@RobertMe](https://togithub.com/RobertMe)! - `sort()`, `rsort()` and `usort()` convert an array to list ([#2891](https://togithub.com/phpstan/phpstan-src/pull/2891)), [#6467](https://togithub.com/phpstan/phpstan/issues/6467), [#10423](https://togithub.com/phpstan/phpstan/issues/10423), [#3312](https://togithub.com/phpstan/phpstan/issues/3312), thanks [@takaram](https://togithub.com/takaram)! - Fix stale result cache with imported type aliases ([#2894](https://togithub.com/phpstan/phpstan-src/pull/2894)), [#10449](https://togithub.com/phpstan/phpstan/issues/10449), thanks [@staabm](https://togithub.com/staabm)! - Avoid internal error with `TConfiguration
📅 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.
👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.
This PR has been generated by Mend Renovate. View repository job log here.