From: Wouter Wolters Date: Sun, 1 Feb 2015 12:24:40 +0000 (+0100) Subject: [FOLLOWUP][CLEANUP] Wrap the tests bootstrap code into classes X-Git-Tag: 7.1.0~156 X-Git-Url: http://git.typo3.org/Packages/TYPO3.CMS.git/commitdiff_plain/45e677f14e107bfabf7ec38309bfbada2bcb2c02 [FOLLOWUP][CLEANUP] Wrap the tests bootstrap code into classes Remove space too much from @param notation. Resolves: #64662 Releases: master Change-Id: I3886e356f985b89b890fbcdeb0e8baf565e03084 Reviewed-on: http://review.typo3.org/36568 Reviewed-by: Wouter Wolters Tested-by: Wouter Wolters --- diff --git a/typo3/sysext/core/Build/UnitTestsBootstrap.php b/typo3/sysext/core/Build/UnitTestsBootstrap.php index f6272145f97f..348d8cfc1c7c 100644 --- a/typo3/sysext/core/Build/UnitTestsBootstrap.php +++ b/typo3/sysext/core/Build/UnitTestsBootstrap.php @@ -36,6 +36,7 @@ use TYPO3\CMS\Core\Core\Bootstrap; * typo3/sysext/core/Tests/Uinit/DataHandling/DataHandlerTest.php */ class UnitTestsBootstrap { + /** * Bootstraps the system for unit tests. * @@ -101,7 +102,6 @@ class UnitTestsBootstrap { * Returns the absolute path the TYPO3 document root. * * @return string the TYPO3 document root using Unix path separators - * * @throws \RuntimeException */ protected function getWebRoot() { @@ -151,10 +151,8 @@ class UnitTestsBootstrap { * * If $directory already exists, this method is a no-op. * - * @param string $directory absolute path of the directory to be created - * + * @param string $directory absolute path of the directory to be created * @return void - * * @throws \RuntimeException */ protected function createDirectory($directory) {