Issue #3131402 by longwave, jungle, Berdir: Remove return type hints from abstract test classes
parent
bd64783975
commit
9632fb98a1
|
@ -52,7 +52,7 @@ abstract class LocaleUpdateBase extends BrowserTestBase {
|
|||
/**
|
||||
* {@inheritdoc}
|
||||
*/
|
||||
protected function setUp(): void {
|
||||
protected function setUp() {
|
||||
parent::setUp();
|
||||
|
||||
// Setup timestamps to identify old and new translation sources.
|
||||
|
|
|
@ -56,7 +56,7 @@ trait MediaFunctionalTestTrait {
|
|||
/**
|
||||
* {@inheritdoc}
|
||||
*/
|
||||
protected function setUp(): void {
|
||||
protected function setUp() {
|
||||
parent::setUp();
|
||||
|
||||
// Have two users ready to be used in tests.
|
||||
|
|
|
@ -14,7 +14,7 @@ abstract class MediaSourceTestBase extends MediaJavascriptTestBase {
|
|||
/**
|
||||
* {@inheritdoc}
|
||||
*/
|
||||
protected function setUp(): void {
|
||||
protected function setUp() {
|
||||
parent::setUp();
|
||||
|
||||
// Let's set the canonical flag in the base class of the source tests,
|
||||
|
|
|
@ -24,7 +24,7 @@ abstract class MigrateProcessTestCase extends MigrateTestCase {
|
|||
/**
|
||||
* {@inheritdoc}
|
||||
*/
|
||||
protected function setUp(): void {
|
||||
protected function setUp() {
|
||||
$this->row = $this->getMockBuilder('Drupal\migrate\Row')
|
||||
->disableOriginalConstructor()
|
||||
->getMock();
|
||||
|
|
|
@ -28,7 +28,7 @@ abstract class MigrationLookupTestCase extends MigrateProcessTestCase {
|
|||
/**
|
||||
* {@inheritdoc}
|
||||
*/
|
||||
protected function setUp(): void {
|
||||
protected function setUp() {
|
||||
parent::setUp();
|
||||
$this->migrateStub = $this->prophesize(MigrateStub::class);
|
||||
$this->migrateLookup = $this->prophesize(MigrateLookupInterface::class);
|
||||
|
|
|
@ -39,7 +39,7 @@ abstract class TourTestBasic extends TourTestBase {
|
|||
*/
|
||||
protected $permissions = ['access tour'];
|
||||
|
||||
protected function setUp(): void {
|
||||
protected function setUp() {
|
||||
parent::setUp();
|
||||
|
||||
// Make sure we are using distinct default and administrative themes for
|
||||
|
|
|
@ -37,7 +37,7 @@ abstract class MTimeProtectedFileStorageBase extends PhpStorageTestBase {
|
|||
/**
|
||||
* {@inheritdoc}
|
||||
*/
|
||||
protected function setUp(): void {
|
||||
protected function setUp() {
|
||||
parent::setUp();
|
||||
|
||||
// Random generator.
|
||||
|
|
Loading…
Reference in New Issue