By mondrake on
Change record status:
Published (View all published change records)
Project:
Introduced in branch:
9.3.x
Introduced in version:
9.3.0
Issue links:
Description:
Starting release 9.3.0, all tests methods that perform assertions must have a void return typehint, to align to PHPUnit practices. If a test requires a method to return a value, it should not begin with assert*. Even better, arguments should be typehinted too.
BEFORE
protected function assertEntity($id, $label, $type, $configuration) {
AFTER
protected function assertEntity(string $id, string $label, string $type, array $configuration): void {
Impacts:
Module developers