E_DEPRECATED were previously hidden on the whole test infra.
But after PHPUnit update (N°3091) we restored them.
On legacy builds we are still using PHPUnit 6 and mocks which are generating such notices. So we are now hiding them only where necessary !