By mondrake on
Change record status:
Published (View all published change records)
Project:
Introduced in branch:
11.5.x
Introduced in version:
11.5.0
Issue links:
Description:
The StubPDO class for testing database connections has been deprecated. Create PHPUnit stub objects from the PDO class directly instead.
Before:
$stub = $this->createStub(StubPDO::class);
After:
$stub = $this->createStub(\PDO::class);
Impacts:
Module developers