Skip to content

Commit 4c0b7ea

Browse files
committed
Merge remote-tracking branch 'origin/1.2.x' into 1.2-to-1.x
2 parents 12e1204 + b81bdf5 commit 4c0b7ea

File tree

3 files changed

+23
-1
lines changed

3 files changed

+23
-1
lines changed

CHANGELOG.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,14 @@
1010

1111
- Reverted generic annotations on promise - as `then` returns another promise, there seems no way to properly document this.
1212

13+
# 1.2.x
14+
15+
## 1.2.2
16+
17+
### Added - 2025-10-31
18+
19+
- Compatibility with PHP 8.4
20+
1321
## 1.2.1 - 2023-11-08
1422

1523
### Added

phpstan-baseline.neon

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
parameters:
2+
ignoreErrors:
3+
-
4+
message: '#^Method Http\\Promise\\FulfilledPromise\:\:then\(\) should return Http\\Promise\\Promise\<V\> but returns Http\\Promise\\RejectedPromise\<mixed\>\.$#'
5+
identifier: return.type
6+
count: 1
7+
path: src/FulfilledPromise.php
8+
9+
-
10+
message: '#^Method Http\\Promise\\RejectedPromise\:\:then\(\) should return Http\\Promise\\Promise\<V\> but returns Http\\Promise\\RejectedPromise\<mixed\>\.$#'
11+
identifier: return.type
12+
count: 1
13+
path: src/RejectedPromise.php

phpstan.neon.dist

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
parameters:
22
level: max
3-
checkMissingIterableValueType: false
43
treatPhpDocTypesAsCertain: false
54
paths:
65
- src
6+
includes:
7+
- phpstan-baseline.neon

0 commit comments

Comments
 (0)