diff --git a/core/tests/Drupal/FunctionalTests/SetupDrupalTestScriptTest.php b/core/tests/Drupal/FunctionalTests/SetupDrupalTestScriptTest.php index 8a7c3267cb..3a0487092c 100644 --- a/core/tests/Drupal/FunctionalTests/SetupDrupalTestScriptTest.php +++ b/core/tests/Drupal/FunctionalTests/SetupDrupalTestScriptTest.php @@ -7,7 +7,7 @@ use Symfony\Component\Process\Process; /** - * Tests setup-drupal-test.php + * Tests setup-drupal-test.php. * * @group core */ @@ -16,7 +16,7 @@ class SetupDrupalTestScriptTest extends UnitTestCase { public function testInstallScript() { $php_executable_finder = new PhpExecutableFinder(); $php = $php_executable_finder->find(); - + $db_url = getenv('SIMPLETEST_DB'); $base_url = getenv('SIMPLETEST_BASE_URL'); $process = new Process("$php {$this->root}/core/scripts/setup-drupal-test.php --db_url={$db_url} --base_url={$base_url}"); diff --git a/core/tests/Drupal/Setup/Commands/TestInstallationSetupApplication.php b/core/tests/Drupal/Setup/Commands/TestInstallationSetupApplication.php index eaef9c8745..312d3db757 100644 --- a/core/tests/Drupal/Setup/Commands/TestInstallationSetupApplication.php +++ b/core/tests/Drupal/Setup/Commands/TestInstallationSetupApplication.php @@ -6,7 +6,8 @@ use Symfony\Component\Console\Input\InputInterface; /** - * Command + * Application wrapper for TestInstallationSetupCommand. + * * @internal */ class TestInstallationSetupApplication extends Application { @@ -34,4 +35,5 @@ protected function getDefaultCommands() { $default_commands[] = new TestInstallationSetupCommand(); return $default_commands; } + } diff --git a/core/tests/Drupal/Setup/Commands/TestInstallationSetupCommand.php b/core/tests/Drupal/Setup/Commands/TestInstallationSetupCommand.php index bb40013222..43704b1723 100644 --- a/core/tests/Drupal/Setup/Commands/TestInstallationSetupCommand.php +++ b/core/tests/Drupal/Setup/Commands/TestInstallationSetupCommand.php @@ -39,4 +39,5 @@ protected function execute(InputInterface $input, OutputInterface $output) { $output->writeln(drupal_generate_test_ua($test->getDatabasePrefix())); } + } diff --git a/core/tests/Drupal/Setup/ExampleTestSetup.php b/core/tests/Drupal/Setup/ExampleTestSetup.php index 9ee6c2d15d..ed94c18778 100644 --- a/core/tests/Drupal/Setup/ExampleTestSetup.php +++ b/core/tests/Drupal/Setup/ExampleTestSetup.php @@ -4,6 +4,9 @@ use Drupal\node\Entity\Node; +/** + * Example test setup file. + */ class ExampleTestSetup implements TestSetupInterface { /**