File tree Expand file tree Collapse file tree 1 file changed +16
-2
lines changed Expand file tree Collapse file tree 1 file changed +16
-2
lines changed Original file line number Diff line number Diff line change @@ -3,6 +3,20 @@ Changelog
3
3
4
4
## UNRELEASED
5
5
6
+ ## 1.9.0
7
+
8
+ * added better Psalm support for ` all* ` & ` nullOr* ` methods
9
+ * These methods are now understood by Psalm through a mixin. You may need a newer version of Psalm in order to use this
10
+ * added ` @psalm-pure ` annotation to ` Assert::notFalse() `
11
+ * added more ` @psalm-assert ` annotations where appropriate
12
+
13
+ ## Changed
14
+
15
+ * the ` all* ` & ` nullOr* ` methods are now declared on an interface, instead of ` @method ` annotations.
16
+ This interface is linked to the ` Assert ` class with a ` @mixin ` annotation. Most IDE's have supported this
17
+ for a long time, and you should not lose any autocompletion capabilities. PHPStan has supported this since
18
+ version ` 0.12.20 ` . This package is marked incompatbible (with a composer conflict) with phpstan version prior to that.
19
+ If you do not use PHPStan than this does not matter.
6
20
7
21
## 1.8.0
8
22
@@ -52,8 +66,8 @@ If a non-empty variant is needed, use `isNonEmptyList` or `isNonEmptyMap`.
52
66
* [ #145 ] ( https://github.com/webmozart/assert/issues/145 )
53
67
* [ #146 ] ( https://github.com/webmozart/assert/pull/146 )
54
68
* [ #150 ] ( https://github.com/webmozart/assert/pull/150 )
55
- * If you use psalm , the minimum version needed is ` 3.6.0 ` . Which is enforced through a composer conflict.
56
- If you don't use psalm , then this has no impact.
69
+ * If you use Psalm , the minimum version needed is ` 3.6.0 ` . Which is enforced through a composer conflict.
70
+ If you don't use Psalm , then this has no impact.
57
71
58
72
## 1.5.0 (2019-08-24)
59
73
You can’t perform that action at this time.
0 commit comments