You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- Add `Reflect::getAllTraits()`, with optional recursion into parents
20
+
- Add `Reflect::isMethodInClass()`
21
+
22
+
### Changed
23
+
24
+
#### `PHPStan`
25
+
26
+
- Ignore static properties and properties `ImmutableTrait` methods cannot access in `ImmutableTraitReadWritePropertiesExtension`
27
+
- Improve array argument unpacking in `ArrExtendReturnTypeExtension`, `GetCoalesceReturnTypeExtension` and `StrCoalesceReturnTypeExtension`
28
+
29
+
#### `Utility`
30
+
31
+
- Optionally recurse into traits in `Reflect::getTraitMethod()`
32
+
33
+
### Fixed
34
+
35
+
#### `PHPStan`
36
+
37
+
- In `ImmutableTraitRule`:
38
+
- Fix issue where inaccessible properties may not be reported
39
+
- Fix issue where calls to `ImmutableTrait` methods are not detected when they override inherited methods or when `ImmutableTrait` is inserted by another trait
40
+
- Fix `ArrWhereNotNullReturnTypeExtension` and `ArrWhereNotEmptyReturnTypeExtension` issues where:
41
+
-`iterable` types may be returned
42
+
- invalid key types may be returned
43
+
- variadic arguments are not unpacked
44
+
- Fix `GetCoalesceRule` issue where calls to `Get::coalesce()` are matched case-sensitively
45
+
46
+
#### `Testing`
47
+
48
+
- Fix issue where `MockTarget::write()` may fail to write long messages to the (optional) underlying stream
49
+
13
50
## [v0.99.76] - 2025-02-26
14
51
15
52
### Added
@@ -4733,6 +4770,7 @@ This is the final release of `lkrms/util`. It is moving to [Salient](https://git
4733
4770
4734
4771
- Allow `CliOption` value names to contain arbitrary characters
0 commit comments