Commit f29cce8
Resolve some deprecations and remove igorw/get-in dependency (#1257)
* Remove `igorw/get-in` dependency to simplify code
* Fix phpunit deprecation
* Simplify phpunit's `->will($this->returnValue())` with `->willReturn()`
* Simplify phpunit's `->will($this->returnCallback())` with `->willReturnCallback()`
* Fix deprecated mock builder `setMethds` with `createPartialMock`
* Remove deprecated phpstan `checkGenericClassInNonGenericObjectType` option
* Bump phpunit to 9.6
---------
Co-authored-by: Jonathan Beliën <[email protected]>1 parent 0fffb47 commit f29cce8
2 files changed
+3
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
86 | 86 | | |
87 | 87 | | |
88 | 88 | | |
89 | | - | |
90 | | - | |
| 89 | + | |
| 90 | + | |
91 | 91 | | |
92 | 92 | | |
93 | 93 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
17 | | - | |
18 | 17 | | |
19 | 18 | | |
20 | 19 | | |
| |||
23 | 22 | | |
24 | 23 | | |
25 | 24 | | |
26 | | - | |
| 25 | + | |
27 | 26 | | |
28 | 27 | | |
29 | 28 | | |
| |||
0 commit comments