Eloy Lafuente (stronk7)
4c2f8b3a91
MDL-81266 phpunit: Remove expect(Deprecation|Notice|Warning|Error)
...
PHPUnit 9.6 has deprecated all the expect(Deprecation|Notice|Warning|Error)
assertions, so we have to move away from them.
In core, we only had 2 cases, one easily fixed by getting rid of it,
because, for php >= 80 it's an assert-able exception.
And the other replaced with code that, temporarily, sets a custom
error handler that converts any specified E_ to an asset-able
exception.
Note that tests playing with error handlers should, always, be
run in separate process, to avoid problems or conflicts with
PHPUnit / Moodle own error handlers.
2024-03-25 16:21:53 +01:00
..
2024-03-21 12:45:55 +07:00
2024-02-28 23:33:26 +01:00
2024-03-18 09:19:35 +01:00
2024-03-22 11:07:55 +08:00
2024-03-21 15:01:18 +01:00
2024-03-10 21:15:00 +01:00
2024-03-10 21:15:00 +01:00
2024-02-28 23:47:47 +01:00
2024-03-21 09:44:15 +00:00
2024-03-10 21:15:00 +01:00
2024-02-28 23:47:47 +01:00
2024-03-10 21:15:00 +01:00
2024-03-11 17:08:40 +08:00
2024-03-25 16:21:45 +01:00
2024-02-28 23:47:47 +01:00
2024-03-22 14:03:42 +01:00
2024-03-06 08:44:07 +08:00
2024-02-28 23:33:26 +01:00
2024-03-09 22:09:47 +08:00
2024-03-12 11:02:32 +08:00
2024-03-11 11:03:32 +00:00
2024-03-25 16:21:53 +01:00
2024-02-28 23:47:47 +01:00
2024-03-21 14:24:42 +08:00
2024-03-08 08:00:41 +08:00
2024-03-25 16:21:53 +01:00
2024-02-28 23:33:26 +01:00
2024-03-25 16:21:45 +01:00
2024-02-28 23:33:26 +01:00
2024-02-29 13:56:46 +01:00
2024-02-12 16:56:37 +07:00
2024-03-08 11:15:16 +08:00
2024-03-08 10:06:56 +07:00
2024-02-28 23:33:26 +01:00
2024-03-11 13:26:18 +08:00
2024-02-28 23:47:47 +01:00
2024-03-08 08:00:41 +08:00
2024-02-15 18:44:42 +01:00
2024-02-28 23:33:26 +01:00
2024-03-08 08:00:41 +08:00
2024-02-28 23:33:26 +01:00
2024-03-18 13:25:39 +00:00
2024-02-28 23:47:47 +01:00
2024-02-28 23:47:47 +01:00
2024-02-13 15:28:05 +01:00
2024-03-20 14:58:16 +00:00
2024-03-19 08:53:49 +01:00
2024-02-28 23:33:26 +01:00
2024-03-21 10:52:39 +08:00
2024-02-29 12:48:56 +07:00
2024-03-08 08:00:41 +08:00
2024-02-22 16:51:39 +00:00
2024-02-23 11:08:08 +01:00
2024-03-11 13:26:18 +08:00
2024-03-18 09:42:06 +07:00
2024-02-19 15:10:32 +01:00
2024-03-21 15:40:24 +01:00
2024-03-22 11:07:55 +08:00
2024-03-21 10:46:01 +01:00
2024-02-28 23:47:47 +01:00
2024-03-21 11:03:25 +08:00
2024-02-28 23:33:26 +01:00