Commit bf45f11
committed
[8.x ]Refactor setMethods to onlyMethods and addMethods
`MockBuilder::setMethods` is soft deprecated as of PHPUnit 9
So I refactor the test.
Please merge laravel#35474 after merging
sebastianbergmann/phpunit#36871 parent b89363b commit bf45f11
File tree
2 files changed
+2
-2
lines changed- tests
- Database
- Validation
2 files changed
+2
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
62 | 62 | | |
63 | 63 | | |
64 | 64 | | |
65 | | - | |
| 65 | + | |
66 | 66 | | |
67 | 67 | | |
68 | 68 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2872 | 2872 | | |
2873 | 2873 | | |
2874 | 2874 | | |
2875 | | - | |
| 2875 | + | |
2876 | 2876 | | |
2877 | 2877 | | |
2878 | 2878 | | |
| |||
0 commit comments