Skip to content

Commit 3ab8b11

Browse files
committed
Release v0.99.77
1 parent e6a64da commit 3ab8b11

File tree

1 file changed

+38
-0
lines changed

1 file changed

+38
-0
lines changed

CHANGELOG.md

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,43 @@ The format is based on [Keep a Changelog][], and this project adheres to [Semant
1010
[Keep a Changelog]: https://keepachangelog.com/en/1.1.0/
1111
[Semantic Versioning]: https://semver.org/spec/v2.0.0.html
1212

13+
## [v0.99.77] - 2025-03-04
14+
15+
### Added
16+
17+
#### `Utility`
18+
19+
- 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+
1350
## [v0.99.76] - 2025-02-26
1451

1552
### Added
@@ -4733,6 +4770,7 @@ This is the final release of `lkrms/util`. It is moving to [Salient](https://git
47334770

47344771
- Allow `CliOption` value names to contain arbitrary characters
47354772

4773+
[v0.99.77]: https://github.com/salient-labs/toolkit/compare/v0.99.76...v0.99.77
47364774
[v0.99.76]: https://github.com/salient-labs/toolkit/compare/v0.99.75...v0.99.76
47374775
[v0.99.75]: https://github.com/salient-labs/toolkit/compare/v0.99.74...v0.99.75
47384776
[v0.99.74]: https://github.com/salient-labs/toolkit/compare/v0.99.73...v0.99.74

0 commit comments

Comments
 (0)