mirror of https://github.com/FriendsOfTYPO3/tea.git synced 2024-11-10 00:36:13 +01: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;
}
}
?>

View file

@ -53,4 +53,3 @@ class Addition extends \TYPO3\CMS\Extbase\DomainObject\AbstractValueObject {
$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) {
$this->testimonials->detach($testimonialToRemove);
}
}
?>

View file

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

View file

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

View file

@ -32,4 +32,3 @@ namespace OliverKlee\Tea\Domain\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 {
}
?>

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

View file

@ -1,29 +1,29 @@
<?php
namespace OliverKlee\Tea\Tests;
/***************************************************************
* Copyright notice
*
* (c) 2013 Oliver Klee <typo3-coding@oliverklee.de>, oliverklee.de
*
* All rights reserved
*
* This script is part of the TYPO3 project. The TYPO3 project is
* free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
* The GNU General Public License can be found at
* http://www.gnu.org/copyleft/gpl.html.
*
* This script is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* This copyright notice MUST APPEAR in all copies of the script!
***************************************************************/
/***************************************************************
* Copyright notice
*
* (c) 2013 Oliver Klee <typo3-coding@oliverklee.de>, oliverklee.de
*
* All rights reserved
*
* This script is part of the TYPO3 project. The TYPO3 project is
* free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
* The GNU General Public License can be found at
* http://www.gnu.org/copyleft/gpl.html.
*
* This script is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* This copyright notice MUST APPEAR in all copies of the script!
***************************************************************/
/**
* Test case.
@ -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',
)
);
?>

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'
),
);
?>