mirror of
https://github.com/FriendsOfTYPO3/tea.git
synced 2024-11-10 00:16:13 +01:00
parent
691229fb2a
commit
29bf7ccae5
15 changed files with 27 additions and 26 deletions
|
@ -15,6 +15,7 @@ This project adheres to [Semantic Versioning](https://semver.org/).
|
|||
- Composer script for PHP linting
|
||||
|
||||
### Changed
|
||||
- Convert the PHP namespaces to "TTN" (#8)
|
||||
- Update the contact email in the CoC document (#6)
|
||||
- Switch to the `TTN` PHP vendor namespace (#1, #5)
|
||||
- Sort the Composer dependencies
|
||||
|
|
|
@ -1,10 +1,10 @@
|
|||
<?php
|
||||
declare(strict_types=1);
|
||||
|
||||
namespace OliverKlee\Tea\Controller;
|
||||
namespace TTN\Tea\Controller;
|
||||
|
||||
use OliverKlee\Tea\Domain\Model\Product\Tea;
|
||||
use OliverKlee\Tea\Domain\Repository\Product\TeaRepository;
|
||||
use TTN\Tea\Domain\Model\Product\Tea;
|
||||
use TTN\Tea\Domain\Repository\Product\TeaRepository;
|
||||
use TYPO3\CMS\Extbase\Mvc\Controller\ActionController;
|
||||
|
||||
/**
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
<?php
|
||||
declare(strict_types=1);
|
||||
|
||||
namespace OliverKlee\Tea\Domain\Model\Product;
|
||||
namespace TTN\Tea\Domain\Model\Product;
|
||||
|
||||
use TYPO3\CMS\Extbase\Annotation\ORM\Lazy;
|
||||
use TYPO3\CMS\Extbase\Domain\Model\FileReference;
|
||||
|
|
|
@ -1,9 +1,9 @@
|
|||
<?php
|
||||
declare(strict_types=1);
|
||||
|
||||
namespace OliverKlee\Tea\Domain\Repository\Product;
|
||||
namespace TTN\Tea\Domain\Repository\Product;
|
||||
|
||||
use OliverKlee\Tea\Domain\Repository\Traits\StoragePageAgnosticTrait;
|
||||
use TTN\Tea\Domain\Repository\Traits\StoragePageAgnosticTrait;
|
||||
use TYPO3\CMS\Extbase\Persistence\QueryInterface;
|
||||
use TYPO3\CMS\Extbase\Persistence\Repository;
|
||||
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
<?php
|
||||
declare(strict_types=1);
|
||||
|
||||
namespace OliverKlee\Tea\Domain\Repository\Traits;
|
||||
namespace TTN\Tea\Domain\Repository\Traits;
|
||||
|
||||
use TYPO3\CMS\Extbase\Object\ObjectManagerInterface;
|
||||
use TYPO3\CMS\Extbase\Persistence\Generic\QuerySettingsInterface;
|
||||
|
|
|
@ -4,7 +4,7 @@ defined('TYPO3_MODE') or die();
|
|||
// This makes the plugin selectable in the BE.
|
||||
\TYPO3\CMS\Extbase\Utility\ExtensionUtility::registerPlugin(
|
||||
// extension name, exactly matching the PHP namespaces (vendor and product)
|
||||
'OliverKlee.Tea',
|
||||
'TTN.Tea',
|
||||
// arbitrary, but unique plugin name (not visible in the BE)
|
||||
'Tea',
|
||||
// plugin title, as visible in the drop-down in the BE
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
<?php
|
||||
declare(strict_types=1);
|
||||
|
||||
namespace OliverKlee\Tea\Tests\Acceptance;
|
||||
namespace TTN\Tea\Tests\Acceptance;
|
||||
|
||||
/**
|
||||
* Test case.
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
<?php
|
||||
declare(strict_types=1);
|
||||
|
||||
namespace OliverKlee\Tea\Tests\Functional\Controller;
|
||||
namespace TTN\Tea\Tests\Functional\Controller;
|
||||
|
||||
use Nimut\TestingFramework\TestCase\FunctionalTestCase;
|
||||
|
||||
|
|
|
@ -1,11 +1,11 @@
|
|||
<?php
|
||||
declare(strict_types=1);
|
||||
|
||||
namespace OliverKlee\Tea\Tests\Functional\Domain\Repository\Product;
|
||||
namespace TTN\Tea\Tests\Functional\Domain\Repository\Product;
|
||||
|
||||
use Nimut\TestingFramework\TestCase\FunctionalTestCase;
|
||||
use OliverKlee\Tea\Domain\Model\Product\Tea;
|
||||
use OliverKlee\Tea\Domain\Repository\Product\TeaRepository;
|
||||
use TTN\Tea\Domain\Model\Product\Tea;
|
||||
use TTN\Tea\Domain\Repository\Product\TeaRepository;
|
||||
use TYPO3\CMS\Core\Utility\GeneralUtility;
|
||||
use TYPO3\CMS\Extbase\Domain\Model\FileReference;
|
||||
use TYPO3\CMS\Extbase\Object\ObjectManager;
|
||||
|
|
|
@ -1,12 +1,12 @@
|
|||
<?php
|
||||
declare(strict_types=1);
|
||||
|
||||
namespace OliverKlee\Tea\Tests\Unit\Controller;
|
||||
namespace TTN\Tea\Tests\Unit\Controller;
|
||||
|
||||
use Nimut\TestingFramework\TestCase\UnitTestCase;
|
||||
use OliverKlee\Tea\Controller\TeaController;
|
||||
use OliverKlee\Tea\Domain\Model\Product\Tea;
|
||||
use OliverKlee\Tea\Domain\Repository\Product\TeaRepository;
|
||||
use TTN\Tea\Controller\TeaController;
|
||||
use TTN\Tea\Domain\Model\Product\Tea;
|
||||
use TTN\Tea\Domain\Repository\Product\TeaRepository;
|
||||
use Prophecy\Prophecy\ObjectProphecy;
|
||||
use Prophecy\Prophecy\ProphecySubjectInterface;
|
||||
use TYPO3\CMS\Extbase\Mvc\Controller\ActionController;
|
||||
|
|
|
@ -1,10 +1,10 @@
|
|||
<?php
|
||||
declare(strict_types=1);
|
||||
|
||||
namespace OliverKlee\Tea\Tests\Unit\Domain\Model\Product;
|
||||
namespace TTN\Tea\Tests\Unit\Domain\Model\Product;
|
||||
|
||||
use Nimut\TestingFramework\TestCase\UnitTestCase;
|
||||
use OliverKlee\Tea\Domain\Model\Product\Tea;
|
||||
use TTN\Tea\Domain\Model\Product\Tea;
|
||||
use TYPO3\CMS\Extbase\Domain\Model\FileReference;
|
||||
use TYPO3\CMS\Extbase\DomainObject\AbstractEntity;
|
||||
|
||||
|
|
|
@ -1,10 +1,10 @@
|
|||
<?php
|
||||
declare(strict_types=1);
|
||||
|
||||
namespace OliverKlee\Tea\Tests\Unit\Domain\Repository\Product;
|
||||
namespace TTN\Tea\Tests\Unit\Domain\Repository\Product;
|
||||
|
||||
use Nimut\TestingFramework\TestCase\UnitTestCase;
|
||||
use OliverKlee\Tea\Domain\Repository\Product\TeaRepository;
|
||||
use TTN\Tea\Domain\Repository\Product\TeaRepository;
|
||||
use Prophecy\Prophecy\ProphecySubjectInterface;
|
||||
use TYPO3\CMS\Extbase\Object\ObjectManagerInterface;
|
||||
use TYPO3\CMS\Extbase\Persistence\Repository;
|
||||
|
|
|
@ -46,12 +46,12 @@
|
|||
},
|
||||
"autoload": {
|
||||
"psr-4": {
|
||||
"OliverKlee\\Tea\\": "Classes/"
|
||||
"TTN\\Tea\\": "Classes/"
|
||||
}
|
||||
},
|
||||
"autoload-dev": {
|
||||
"psr-4": {
|
||||
"OliverKlee\\Tea\\Tests\\": "Tests/"
|
||||
"TTN\\Tea\\Tests\\": "Tests/"
|
||||
}
|
||||
},
|
||||
"prefer-stable": true,
|
||||
|
|
|
@ -18,12 +18,12 @@ $EM_CONF[$_EXTKEY] = [
|
|||
'author_company' => 'TYPO3 Trainer Network',
|
||||
'autoload' => [
|
||||
'psr-4' => [
|
||||
'OliverKlee\\Tea\\' => 'Classes/',
|
||||
'TTN\\Tea\\' => 'Classes/',
|
||||
],
|
||||
],
|
||||
'autoload-dev' => [
|
||||
'psr-4' => [
|
||||
'OliverKlee\\Tea\\Tests\\' => 'Tests/',
|
||||
'TTN\\Tea\\Tests\\' => 'Tests/',
|
||||
],
|
||||
],
|
||||
];
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
// This makes the plugin available for front-end rendering.
|
||||
\TYPO3\CMS\Extbase\Utility\ExtensionUtility::configurePlugin(
|
||||
// extension name, exactly matching the PHP namespaces (vendor and product)
|
||||
'OliverKlee.Tea',
|
||||
'TTN.Tea',
|
||||
// arbitrary, but unique plugin name (not visible in the BE)
|
||||
'Tea',
|
||||
// all actions
|
||||
|
|
Loading…
Reference in a new issue