Skip to content
Snippets Groups Projects
Commit 4940879c authored by Liam Morland's avatar Liam Morland
Browse files

Issue #3139195: Add 'void' return type declarations to test setUp() methods

parent 56694239
No related branches found
No related tags found
No related merge requests found
Showing with 12 additions and 12 deletions
......@@ -29,7 +29,7 @@ class FillPdfFormDeleteFormTest extends BrowserTestBase {
/**
* {@inheritdoc}
*/
protected function setUp() {
protected function setUp(): void {
parent::setUp();
$this->configureFillPdf();
......
......@@ -29,7 +29,7 @@ class FillPdfFormDuplicateFormTest extends BrowserTestBase {
/**
* {@inheritdoc}
*/
protected function setUp() {
protected function setUp(): void {
parent::setUp();
$this->configureFillPdf();
......
......@@ -16,7 +16,7 @@ class FillPdfFormFormTest extends FillPdfUploadTestBase {
/**
* {@inheritdoc}
*/
protected function setUp() {
protected function setUp(): void {
parent::setUp();
$this->testNode = $this->createNode([
......
......@@ -27,7 +27,7 @@ class FillPdfFormImportFormTest extends BrowserTestBase {
/**
* {@inheritdoc}
*/
protected function setUp() {
protected function setUp(): void {
parent::setUp();
$this->configureFillPdf();
......
......@@ -35,7 +35,7 @@ class FillPdfSettingsFormTest extends BrowserTestBase {
/**
* {@inheritdoc}
*/
protected function setUp() {
protected function setUp(): void {
parent::setUp();
$this->initializeUser();
......
......@@ -94,7 +94,7 @@ abstract class FillPdfTestBase extends FileFieldTestBase {
/**
* {@inheritdoc}
*/
protected function setUp() {
protected function setUp(): void {
parent::setUp();
// Grant additional permissions to the logged-in admin user.
......
......@@ -21,7 +21,7 @@ class HandlePdfControllerTest extends FillPdfUploadTestBase {
/**
* {@inheritdoc}
*/
protected function setUp() {
protected function setUp(): void {
parent::setUp();
$this->testNodes[1] = $this->createNode([
......
......@@ -37,7 +37,7 @@ class LinkManipulatorTest extends BrowserTestBase {
/**
* {@inheritdoc}
*/
protected function setUp() {
protected function setUp(): void {
parent::setUp();
$this->configureFillPdf();
......
......@@ -49,7 +49,7 @@ class PdfPopulationTest extends FillPdfTestBase {
/**
* {@inheritdoc}
*/
protected function setUp() {
protected function setUp(): void {
parent::setUp();
// Grant additional permissions to the logged-in admin user.
......
......@@ -42,7 +42,7 @@ class PdfWebformPopulationTest extends FillPdfTestBase {
/**
* {@inheritdoc}
*/
protected function setUp() {
protected function setUp(): void {
// @todo: Stop skipping this test when Webform has Drupal 9 support.
if (version_compare(substr(\Drupal::VERSION, 0, 1), 9, '>=')) {
$this->markTestSkipped('Webform is not yet compatible with Drupal 9, so skipping these tests.');
......
......@@ -35,7 +35,7 @@ class UninstallTest extends BrowserTestBase {
/**
* {@inheritdoc}
*/
protected function setUp() {
protected function setUp(): void {
parent::setUp();
$this->configureFillPdf();
......
......@@ -29,7 +29,7 @@ abstract class FillPdfKernelTestBase extends EntityKernelTestBase {
/**
* {@inheritdoc}
*/
protected function setUp() {
protected function setUp(): void {
parent::setUp();
$this->installEntitySchema('fillpdf_form');
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment