Commit d0262ec
committed
Editor: Ensure PHPUnit10 compatibility for ThemeJson unit test.
Expecting E_STRICT, E_NOTICE, and E_USER_NOTICE errors is deprecated in PHPUnit 10.
This updates the test to rely on an exception instead.
Props antonvlasenko.
Fixes #60305.
git-svn-id: https://develop.svn.wordpress.org/trunk@57332 602fd350-edb4-49c9-b593-d223f7449a821 parent 2e3b292 commit d0262ec
1 file changed
Lines changed: 11 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4281 | 4281 | | |
4282 | 4282 | | |
4283 | 4283 | | |
4284 | | - | |
4285 | | - | |
| 4284 | + | |
| 4285 | + | |
4286 | 4286 | | |
4287 | 4287 | | |
4288 | 4288 | | |
| |||
4295 | 4295 | | |
4296 | 4296 | | |
4297 | 4297 | | |
| 4298 | + | |
| 4299 | + | |
| 4300 | + | |
| 4301 | + | |
| 4302 | + | |
| 4303 | + | |
| 4304 | + | |
| 4305 | + | |
| 4306 | + | |
4298 | 4307 | | |
4299 | 4308 | | |
4300 | 4309 | | |
| |||
0 commit comments