Shorten long lines within tests to follow CGL

This commit is contained in:
Daniel Siepmann 2019-05-17 17:14:35 +02:00
parent 95e867488b
commit ff6e721158
Signed by: Daniel Siepmann
GPG key ID: 33D6629915560EF4
2 changed files with 15 additions and 5 deletions

View file

@ -33,7 +33,9 @@ class TcaRelationResolvingProcessorTest extends AbstractFunctionalTestCase
*/
public function resolveInlineRelation()
{
$this->importDataSet('EXT:search_core/Tests/Functional/Fixtures/Indexing/TcaIndexer/RelationResolver/InlineRelation.xml');
$this->importDataSet(
'EXT:search_core/Tests/Functional/Fixtures/Indexing/TcaIndexer/RelationResolver/InlineRelation.xml'
);
$objectManager = GeneralUtility::makeInstance(ObjectManager::class);
$table = 'sys_file';
@ -55,7 +57,9 @@ class TcaRelationResolvingProcessorTest extends AbstractFunctionalTestCase
*/
public function resolveStaticSelectItems()
{
$this->importDataSet('EXT:search_core/Tests/Functional/Fixtures/Indexing/TcaIndexer/RelationResolver/StaticSelectItems.xml');
$this->importDataSet(
'EXT:search_core/Tests/Functional/Fixtures/Indexing/TcaIndexer/RelationResolver/StaticSelectItems.xml'
);
$objectManager = GeneralUtility::makeInstance(ObjectManager::class);
$table = 'tt_content';
@ -74,7 +78,9 @@ class TcaRelationResolvingProcessorTest extends AbstractFunctionalTestCase
*/
public function resolveForeignDb()
{
$this->importDataSet('EXT:search_core/Tests/Functional/Fixtures/Indexing/TcaIndexer/RelationResolver/ForeignDb.xml');
$this->importDataSet(
'EXT:search_core/Tests/Functional/Fixtures/Indexing/TcaIndexer/RelationResolver/ForeignDb.xml'
);
$objectManager = GeneralUtility::makeInstance(ObjectManager::class);
$table = 'tt_content';
@ -96,7 +102,9 @@ class TcaRelationResolvingProcessorTest extends AbstractFunctionalTestCase
*/
public function resolveForeignMmSelect()
{
$this->importDataSet('EXT:search_core/Tests/Functional/Fixtures/Indexing/TcaIndexer/RelationResolver/ForeignMmSelect.xml');
$this->importDataSet(
'EXT:search_core/Tests/Functional/Fixtures/Indexing/TcaIndexer/RelationResolver/ForeignMmSelect.xml'
);
$objectManager = GeneralUtility::makeInstance(ObjectManager::class);
$table = 'tt_content';

View file

@ -43,7 +43,9 @@ class TcaIndexerTest extends AbstractFunctionalTestCase
*/
public function respectRootLineBlacklist()
{
$this->importDataSet('EXT:search_core/Tests/Functional/Fixtures/Indexing/TcaIndexer/RespectRootLineBlacklist.xml');
$this->importDataSet(
'EXT:search_core/Tests/Functional/Fixtures/Indexing/TcaIndexer/RespectRootLineBlacklist.xml'
);
$objectManager = \TYPO3\CMS\Core\Utility\GeneralUtility::makeInstance(ObjectManager::class);
$tableName = 'tt_content';
$tableService = $objectManager->get(