mirror of https://github.com/FriendsOfTYPO3/tea.git synced 2024-09-20 01:56:12 +02:00

[CLEANUP] Drop closing PHP tags and do some more minor cleanup.

This commit is contained in:
Oliver Klee 2013-12-23 13:24:40 +01:00
parent 4f245f1944
commit f8a77f270f
23 changed files with 44 additions and 67 deletions

View file

@ -74,4 +74,3 @@ class TestimonialController extends ActionController {
$this->view = $view; $this->view = $view;
} }
} }
?>

View file

@ -53,4 +53,3 @@ class Addition extends \TYPO3\CMS\Extbase\DomainObject\AbstractValueObject {
$this->title = $title; $this->title = $title;
} }
} }
?>

View file

@ -180,6 +180,4 @@ class TeaBeverage extends \TYPO3\CMS\Extbase\DomainObject\AbstractEntity {
public function removeTestimonial(\OliverKlee\Tea\Domain\Model\Testimonial $testimonialToRemove) { public function removeTestimonial(\OliverKlee\Tea\Domain\Model\Testimonial $testimonialToRemove) {
$this->testimonials->detach($testimonialToRemove); $this->testimonials->detach($testimonialToRemove);
} }
} }
?>

View file

@ -81,4 +81,3 @@ class TeaType extends \TYPO3\CMS\Extbase\DomainObject\AbstractEntity {
return $this->getCaffeinated(); return $this->getCaffeinated();
} }
} }
?>

View file

@ -94,4 +94,3 @@ class Testimonial extends \TYPO3\CMS\Extbase\DomainObject\AbstractEntity {
$this->text = $text; $this->text = $text;
} }
} }
?>

View file

@ -32,4 +32,3 @@ namespace OliverKlee\Tea\Domain\Repository;
*/ */
class TeaBeverageRepository extends \TYPO3\CMS\Extbase\Persistence\Repository { class TeaBeverageRepository extends \TYPO3\CMS\Extbase\Persistence\Repository {
} }
?>

View file

@ -32,4 +32,3 @@ namespace OliverKlee\Tea\Domain\Repository;
*/ */
class TestimonialRepository extends \TYPO3\CMS\Extbase\Persistence\Repository { class TestimonialRepository extends \TYPO3\CMS\Extbase\Persistence\Repository {
} }
?>

View file

@ -104,4 +104,3 @@ $TCA['tx_tea_domain_model_addition'] = array(
), ),
), ),
); );
?>

View file

@ -167,4 +167,3 @@ $TCA['tx_tea_domain_model_teabeverage'] = array(
), ),
), ),
); );
?>

View file

@ -112,4 +112,3 @@ $TCA['tx_tea_domain_model_teatype'] = array(
), ),
), ),
); );
?>

View file

@ -131,4 +131,3 @@ $TCA['tx_tea_domain_model_testimonial'] = array(
), ),
), ),
); );
?>

View file

@ -40,7 +40,7 @@ class TestimonialControllerTest extends \TYPO3\CMS\Extbase\Tests\Unit\BaseTestCa
/** /**
* @var TestimonialController * @var TestimonialController
*/ */
protected $subject; protected $subject = NULL;
/** /**
* @var ViewInterface * @var ViewInterface
@ -88,4 +88,3 @@ class TestimonialControllerTest extends \TYPO3\CMS\Extbase\Tests\Unit\BaseTestCa
$this->subject->indexAction(); $this->subject->indexAction();
} }
} }
?>

View file

@ -1,7 +1,7 @@
<?php <?php
namespace OliverKlee\Tea\Tests; namespace OliverKlee\Tea\Tests;
/*************************************************************** /***************************************************************
* Copyright notice * Copyright notice
* *
* (c) 2013 Oliver Klee <typo3-coding@oliverklee.de>, oliverklee.de * (c) 2013 Oliver Klee <typo3-coding@oliverklee.de>, oliverklee.de
@ -66,4 +66,3 @@ class AdditionTest extends \TYPO3\CMS\Extbase\Tests\Unit\BaseTestCase {
); );
} }
} }
?>

View file

@ -196,4 +196,3 @@ class TeaBeverageTest extends \TYPO3\CMS\Extbase\Tests\Unit\BaseTestCase {
); );
} }
} }
?>

View file

@ -87,4 +87,3 @@ class TeaTypeTest extends \TYPO3\CMS\Extbase\Tests\Unit\BaseTestCase {
); );
} }
} }
?>

View file

@ -110,4 +110,3 @@ class TestimonialTest extends \TYPO3\CMS\Extbase\Tests\Unit\BaseTestCase {
); );
} }
} }
?>

View file

@ -60,4 +60,3 @@ class TeaBeverageRepositoryTest extends \TYPO3\CMS\Extbase\Tests\Unit\BaseTestCa
); );
} }
} }
?>

View file

@ -60,4 +60,3 @@ class TestimonialRepositoryTest extends \TYPO3\CMS\Extbase\Tests\Unit\BaseTestCa
); );
} }
} }
?>

View file

@ -40,5 +40,3 @@ $EM_CONF[$_EXTKEY] = array(
), ),
), ),
); );
?>

View file

@ -15,4 +15,3 @@ if (!defined('TYPO3_MODE')) {
'Testimonial' => 'index', 'Testimonial' => 'index',
) )
); );
?>

View file

@ -134,4 +134,3 @@ $TCA['tx_tea_domain_model_testimonial'] = array(
'iconfile' => \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::extRelPath($_EXTKEY) . 'Resources/Public/Icons/tx_tea_domain_model_testimonial.gif' 'iconfile' => \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::extRelPath($_EXTKEY) . 'Resources/Public/Icons/tx_tea_domain_model_testimonial.gif'
), ),
); );
?>