mirror of
https://github.com/FriendsOfTYPO3/tea.git
synced 2024-11-22 18:56:14 +01:00
[CLEANUP] Drop closing PHP tags and do some more minor cleanup.
This commit is contained in:
parent
4f245f1944
commit
f8a77f270f
23 changed files with 44 additions and 67 deletions
|
@ -74,4 +74,3 @@ class TestimonialController extends ActionController {
|
||||||
$this->view = $view;
|
$this->view = $view;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
?>
|
|
|
@ -53,4 +53,3 @@ class Addition extends \TYPO3\CMS\Extbase\DomainObject\AbstractValueObject {
|
||||||
$this->title = $title;
|
$this->title = $title;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
?>
|
|
|
@ -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);
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
?>
|
|
|
@ -81,4 +81,3 @@ class TeaType extends \TYPO3\CMS\Extbase\DomainObject\AbstractEntity {
|
||||||
return $this->getCaffeinated();
|
return $this->getCaffeinated();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
?>
|
|
|
@ -94,4 +94,3 @@ class Testimonial extends \TYPO3\CMS\Extbase\DomainObject\AbstractEntity {
|
||||||
$this->text = $text;
|
$this->text = $text;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
?>
|
|
|
@ -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 {
|
||||||
}
|
}
|
||||||
?>
|
|
|
@ -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 {
|
||||||
}
|
}
|
||||||
?>
|
|
|
@ -104,4 +104,3 @@ $TCA['tx_tea_domain_model_addition'] = array(
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
);
|
);
|
||||||
?>
|
|
|
@ -167,4 +167,3 @@ $TCA['tx_tea_domain_model_teabeverage'] = array(
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
);
|
);
|
||||||
?>
|
|
|
@ -112,4 +112,3 @@ $TCA['tx_tea_domain_model_teatype'] = array(
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
);
|
);
|
||||||
?>
|
|
|
@ -131,4 +131,3 @@ $TCA['tx_tea_domain_model_testimonial'] = array(
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
);
|
);
|
||||||
?>
|
|
|
@ -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();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
?>
|
|
|
@ -1,29 +1,29 @@
|
||||||
<?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
|
||||||
*
|
*
|
||||||
* All rights reserved
|
* All rights reserved
|
||||||
*
|
*
|
||||||
* This script is part of the TYPO3 project. The TYPO3 project is
|
* This script is part of the TYPO3 project. The TYPO3 project is
|
||||||
* free software; you can redistribute it and/or modify
|
* free software; you can redistribute it and/or modify
|
||||||
* it under the terms of the GNU General Public License as published by
|
* it under the terms of the GNU General Public License as published by
|
||||||
* the Free Software Foundation; either version 2 of the License, or
|
* the Free Software Foundation; either version 2 of the License, or
|
||||||
* (at your option) any later version.
|
* (at your option) any later version.
|
||||||
*
|
*
|
||||||
* The GNU General Public License can be found at
|
* The GNU General Public License can be found at
|
||||||
* http://www.gnu.org/copyleft/gpl.html.
|
* http://www.gnu.org/copyleft/gpl.html.
|
||||||
*
|
*
|
||||||
* This script is distributed in the hope that it will be useful,
|
* This script is distributed in the hope that it will be useful,
|
||||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
* GNU General Public License for more details.
|
* GNU General Public License for more details.
|
||||||
*
|
*
|
||||||
* This copyright notice MUST APPEAR in all copies of the script!
|
* This copyright notice MUST APPEAR in all copies of the script!
|
||||||
***************************************************************/
|
***************************************************************/
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Test case.
|
* Test case.
|
||||||
|
@ -66,4 +66,3 @@ class AdditionTest extends \TYPO3\CMS\Extbase\Tests\Unit\BaseTestCase {
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
?>
|
|
|
@ -196,4 +196,3 @@ class TeaBeverageTest extends \TYPO3\CMS\Extbase\Tests\Unit\BaseTestCase {
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
?>
|
|
|
@ -87,4 +87,3 @@ class TeaTypeTest extends \TYPO3\CMS\Extbase\Tests\Unit\BaseTestCase {
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
?>
|
|
|
@ -110,4 +110,3 @@ class TestimonialTest extends \TYPO3\CMS\Extbase\Tests\Unit\BaseTestCase {
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
?>
|
|
|
@ -60,4 +60,3 @@ class TeaBeverageRepositoryTest extends \TYPO3\CMS\Extbase\Tests\Unit\BaseTestCa
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
?>
|
|
|
@ -60,4 +60,3 @@ class TestimonialRepositoryTest extends \TYPO3\CMS\Extbase\Tests\Unit\BaseTestCa
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
?>
|
|
|
@ -40,5 +40,3 @@ $EM_CONF[$_EXTKEY] = array(
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
);
|
);
|
||||||
|
|
||||||
?>
|
|
|
@ -15,4 +15,3 @@ if (!defined('TYPO3_MODE')) {
|
||||||
'Testimonial' => 'index',
|
'Testimonial' => 'index',
|
||||||
)
|
)
|
||||||
);
|
);
|
||||||
?>
|
|
|
@ -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'
|
||||||
),
|
),
|
||||||
);
|
);
|
||||||
?>
|
|
Loading…
Reference in a new issue