Verified Commit d7e0df28 authored by Dave Long's avatar Dave Long
Browse files

Issue #3407793 by mstrelan: Add declare(strict_types=1) to all miscellaneous test classes

parent 362a5f61
Loading
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -217,7 +217,7 @@ public function testNestedEntityFormEntityLevelValidation() {

    // Display the 'combined form'.
    $this->drupalGet("test-entity-constraints/nested/{$entity_1->id()}/{$entity_2->id()}");
    $assert_session->hiddenFieldValueEquals('entity_2[changed]', REQUEST_TIME);
    $assert_session->hiddenFieldValueEquals('entity_2[changed]', (string) REQUEST_TIME);

    // Submit the form and check that the entities are updated accordingly.
    $assert_session->hiddenFieldExists('entity_2[changed]')
+2 −0
Original line number Diff line number Diff line
<?php

declare(strict_types=1);

namespace Drupal\system\Tests\Routing;

use Drupal\path_alias\AliasManagerInterface;
+2 −0
Original line number Diff line number Diff line
<?php

declare(strict_types=1);

namespace Drupal\system\Tests\Routing;

use Symfony\Component\HttpFoundation\Request;
+2 −0
Original line number Diff line number Diff line
<?php

declare(strict_types=1);

namespace Drupal\TestSite\Commands;

use Drupal\Core\Config\ConfigImporter;
+2 −0
Original line number Diff line number Diff line
<?php

declare(strict_types=1);

namespace Drupal\TestSite\Commands;

use Drupal\Core\Test\TestDatabase;
Loading