BREAKING: Change of vendor/namespace (#43)

The vendor was renamed from `wrm` to `werkraummedia`.
And the namespace vendor was renamed from `Wrm` to `WerkraumMedia`.

That way all references to PHP classes as well as the package name
itself need to be adjusted.
This commit is contained in:
Daniel Siepmann 2023-11-09 10:27:43 +01:00 committed by GitHub
parent 8259ac40af
commit a9f3f108e3
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
118 changed files with 325 additions and 294 deletions

View file

@ -2,7 +2,7 @@
declare(strict_types=1); declare(strict_types=1);
namespace Wrm\Events\Backports\V12\Pagination; namespace WerkraumMedia\Events\Backports\V12\Pagination;
// Original source: https://github.com/TYPO3/typo3/blob/b60cf59fbe7875aff5ee1ba4c56155301694d6b8/typo3/sysext/core/Classes/Pagination/SlidingWindowPagination.php // Original source: https://github.com/TYPO3/typo3/blob/b60cf59fbe7875aff5ee1ba4c56155301694d6b8/typo3/sysext/core/Classes/Pagination/SlidingWindowPagination.php
// Remove once we have v12 as minimum version. // Remove once we have v12 as minimum version.

View file

@ -21,7 +21,7 @@ declare(strict_types=1);
* 02110-1301, USA. * 02110-1301, USA.
*/ */
namespace Wrm\Events\Caching; namespace WerkraumMedia\Events\Caching;
use TYPO3\CMS\Core\Cache\CacheManager as Typo3CacheManager; use TYPO3\CMS\Core\Cache\CacheManager as Typo3CacheManager;
use TYPO3\CMS\Frontend\ContentObject\ContentObjectRenderer; use TYPO3\CMS\Frontend\ContentObject\ContentObjectRenderer;

View file

@ -21,7 +21,7 @@ declare(strict_types=1);
* 02110-1301, USA. * 02110-1301, USA.
*/ */
namespace Wrm\Events\Caching; namespace WerkraumMedia\Events\Caching;
use DateTime; use DateTime;
use DateTimeImmutable; use DateTimeImmutable;
@ -30,8 +30,8 @@ use TYPO3\CMS\Core\Cache\CacheManager;
use TYPO3\CMS\Core\Cache\Frontend\FrontendInterface; use TYPO3\CMS\Core\Cache\Frontend\FrontendInterface;
use TYPO3\CMS\Core\Context\Context; use TYPO3\CMS\Core\Context\Context;
use TYPO3\CMS\Core\SingletonInterface; use TYPO3\CMS\Core\SingletonInterface;
use Wrm\Events\Domain\Model\Date; use WerkraumMedia\Events\Domain\Model\Date;
use Wrm\Events\Events\Controller\DateListVariables; use WerkraumMedia\Events\Events\Controller\DateListVariables;
/** /**
* Teaches TYPO3 to set proper timeout for page cache. * Teaches TYPO3 to set proper timeout for page cache.

View file

@ -1,13 +1,13 @@
<?php <?php
namespace Wrm\Events\Command; namespace WerkraumMedia\Events\Command;
use Symfony\Component\Console\Command\Command; use Symfony\Component\Console\Command\Command;
use Symfony\Component\Console\Input\InputInterface; use Symfony\Component\Console\Input\InputInterface;
use Symfony\Component\Console\Output\OutputInterface; use Symfony\Component\Console\Output\OutputInterface;
use TYPO3\CMS\Core\Core\Bootstrap; use TYPO3\CMS\Core\Core\Bootstrap;
use Wrm\Events\Domain\DestinationData\ImportFactory; use WerkraumMedia\Events\Domain\DestinationData\ImportFactory;
use Wrm\Events\Service\DestinationDataImportService; use WerkraumMedia\Events\Service\DestinationDataImportService;
class ImportDestinationDataViaAllConfigruationsCommand extends Command class ImportDestinationDataViaAllConfigruationsCommand extends Command
{ {

View file

@ -1,14 +1,14 @@
<?php <?php
namespace Wrm\Events\Command; namespace WerkraumMedia\Events\Command;
use Symfony\Component\Console\Command\Command; use Symfony\Component\Console\Command\Command;
use Symfony\Component\Console\Input\InputArgument; use Symfony\Component\Console\Input\InputArgument;
use Symfony\Component\Console\Input\InputInterface; use Symfony\Component\Console\Input\InputInterface;
use Symfony\Component\Console\Output\OutputInterface; use Symfony\Component\Console\Output\OutputInterface;
use TYPO3\CMS\Core\Core\Bootstrap; use TYPO3\CMS\Core\Core\Bootstrap;
use Wrm\Events\Domain\DestinationData\ImportFactory; use WerkraumMedia\Events\Domain\DestinationData\ImportFactory;
use Wrm\Events\Service\DestinationDataImportService; use WerkraumMedia\Events\Service\DestinationDataImportService;
class ImportDestinationDataViaConfigruationCommand extends Command class ImportDestinationDataViaConfigruationCommand extends Command
{ {

View file

@ -1,12 +1,12 @@
<?php <?php
namespace Wrm\Events\Command; namespace WerkraumMedia\Events\Command;
use Symfony\Component\Console\Command\Command; use Symfony\Component\Console\Command\Command;
use Symfony\Component\Console\Input\InputInterface; use Symfony\Component\Console\Input\InputInterface;
use Symfony\Component\Console\Output\OutputInterface; use Symfony\Component\Console\Output\OutputInterface;
use TYPO3\CMS\Core\Core\Bootstrap; use TYPO3\CMS\Core\Core\Bootstrap;
use Wrm\Events\Service\CleanupService; use WerkraumMedia\Events\Service\CleanupService;
class RemoveAllCommand extends Command class RemoveAllCommand extends Command
{ {

View file

@ -1,12 +1,12 @@
<?php <?php
namespace Wrm\Events\Command; namespace WerkraumMedia\Events\Command;
use Symfony\Component\Console\Command\Command; use Symfony\Component\Console\Command\Command;
use Symfony\Component\Console\Input\InputInterface; use Symfony\Component\Console\Input\InputInterface;
use Symfony\Component\Console\Output\OutputInterface; use Symfony\Component\Console\Output\OutputInterface;
use TYPO3\CMS\Core\Core\Bootstrap; use TYPO3\CMS\Core\Core\Bootstrap;
use Wrm\Events\Service\CleanupService; use WerkraumMedia\Events\Service\CleanupService;
class RemovePastCommand extends Command class RemovePastCommand extends Command
{ {

View file

@ -1,6 +1,6 @@
<?php <?php
namespace Wrm\Events\Controller; namespace WerkraumMedia\Events\Controller;
/* /*
* Copyright (C) 2021 Daniel Siepmann <coding@daniel-siepmann.de> * Copyright (C) 2021 Daniel Siepmann <coding@daniel-siepmann.de>
@ -21,14 +21,13 @@ namespace Wrm\Events\Controller;
* 02110-1301, USA. * 02110-1301, USA.
*/ */
use TYPO3\CMS\Core\Exception\Page\PageNotFoundException;
use TYPO3\CMS\Core\Http\ImmediateResponseException; use TYPO3\CMS\Core\Http\ImmediateResponseException;
use TYPO3\CMS\Core\Http\PropagateResponseException; use TYPO3\CMS\Core\Http\PropagateResponseException;
use TYPO3\CMS\Core\Utility\GeneralUtility; use TYPO3\CMS\Core\Utility\GeneralUtility;
use TYPO3\CMS\Extbase\Mvc\Controller\ActionController; use TYPO3\CMS\Extbase\Mvc\Controller\ActionController;
use TYPO3\CMS\Frontend\ContentObject\ContentObjectRenderer; use TYPO3\CMS\Frontend\ContentObject\ContentObjectRenderer;
use TYPO3\CMS\Frontend\Controller\ErrorController; use TYPO3\CMS\Frontend\Controller\ErrorController;
use Wrm\Events\Caching\CacheManager; use WerkraumMedia\Events\Caching\CacheManager;
class AbstractController extends ActionController class AbstractController extends ActionController
{ {

View file

@ -1,20 +1,20 @@
<?php <?php
namespace Wrm\Events\Controller; namespace WerkraumMedia\Events\Controller;
use Throwable;
use TYPO3\CMS\Core\EventDispatcher\EventDispatcher; use TYPO3\CMS\Core\EventDispatcher\EventDispatcher;
use TYPO3\CMS\Extbase\Annotation as Extbase; use TYPO3\CMS\Extbase\Annotation as Extbase;
use TYPO3\CMS\Extbase\Service\ExtensionService; use TYPO3\CMS\Extbase\Service\ExtensionService;
use Throwable; use WerkraumMedia\Events\Domain\Model\Date;
use Wrm\Events\Domain\Model\Date; use WerkraumMedia\Events\Domain\Model\Dto\DateDemandFactory;
use Wrm\Events\Domain\Model\Dto\DateDemandFactory; use WerkraumMedia\Events\Domain\Repository\CategoryRepository;
use Wrm\Events\Domain\Repository\CategoryRepository; use WerkraumMedia\Events\Domain\Repository\DateRepository;
use Wrm\Events\Domain\Repository\DateRepository; use WerkraumMedia\Events\Domain\Repository\RegionRepository;
use Wrm\Events\Domain\Repository\RegionRepository; use WerkraumMedia\Events\Events\Controller\DateListVariables;
use Wrm\Events\Events\Controller\DateListVariables; use WerkraumMedia\Events\Events\Controller\DateSearchVariables;
use Wrm\Events\Events\Controller\DateSearchVariables; use WerkraumMedia\Events\Pagination\Factory;
use Wrm\Events\Pagination\Factory; use WerkraumMedia\Events\Service\DataProcessingForModels;
use Wrm\Events\Service\DataProcessingForModels;
class DateController extends AbstractController class DateController extends AbstractController
{ {

View file

@ -1,12 +1,12 @@
<?php <?php
namespace Wrm\Events\Controller; namespace WerkraumMedia\Events\Controller;
use TYPO3\CMS\Extbase\Annotation as Extbase; use TYPO3\CMS\Extbase\Annotation as Extbase;
use Wrm\Events\Domain\Model\Dto\EventDemandFactory; use WerkraumMedia\Events\Domain\Model\Dto\EventDemandFactory;
use Wrm\Events\Domain\Model\Event; use WerkraumMedia\Events\Domain\Model\Event;
use Wrm\Events\Domain\Repository\EventRepository; use WerkraumMedia\Events\Domain\Repository\EventRepository;
use Wrm\Events\Service\DataProcessingForModels; use WerkraumMedia\Events\Service\DataProcessingForModels;
class EventController extends AbstractController class EventController extends AbstractController
{ {

View file

@ -1,13 +1,13 @@
<?php <?php
namespace Wrm\Events\Domain\DestinationData; namespace WerkraumMedia\Events\Domain\DestinationData;
use TYPO3\CMS\Core\Database\ConnectionPool; use TYPO3\CMS\Core\Database\ConnectionPool;
use TYPO3\CMS\Core\Resource\Folder; use TYPO3\CMS\Core\Resource\Folder;
use TYPO3\CMS\Core\Resource\ResourceFactory; use TYPO3\CMS\Core\Resource\ResourceFactory;
use TYPO3\CMS\Extbase\Persistence\Generic\Mapper\DataMapper; use TYPO3\CMS\Extbase\Persistence\Generic\Mapper\DataMapper;
use TYPO3\CMS\Extbase\Persistence\Generic\Session; use TYPO3\CMS\Extbase\Persistence\Generic\Session;
use Wrm\Events\Domain\Model\Import; use WerkraumMedia\Events\Domain\Model\Import;
class ImportFactory class ImportFactory
{ {

View file

@ -1,6 +1,6 @@
<?php <?php
namespace Wrm\Events\Domain\Model; namespace WerkraumMedia\Events\Domain\Model;
use TYPO3\CMS\Extbase\Annotation as Extbase; use TYPO3\CMS\Extbase\Annotation as Extbase;
use TYPO3\CMS\Extbase\DomainObject\AbstractEntity; use TYPO3\CMS\Extbase\DomainObject\AbstractEntity;

View file

@ -1,6 +1,6 @@
<?php <?php
namespace Wrm\Events\Domain\Model; namespace WerkraumMedia\Events\Domain\Model;
use TYPO3\CMS\Extbase\DomainObject\AbstractEntity; use TYPO3\CMS\Extbase\DomainObject\AbstractEntity;
@ -35,7 +35,7 @@ class Date extends AbstractEntity
protected $originalDate; protected $originalDate;
/** /**
* @var \Wrm\Events\Domain\Model\Event * @var \WerkraumMedia\Events\Domain\Model\Event
*/ */
protected $event; protected $event;

View file

@ -1,6 +1,6 @@
<?php <?php
namespace Wrm\Events\Domain\Model\Dto; namespace WerkraumMedia\Events\Domain\Model\Dto;
use TYPO3\CMS\Core\Utility\GeneralUtility; use TYPO3\CMS\Core\Utility\GeneralUtility;

View file

@ -1,6 +1,6 @@
<?php <?php
namespace Wrm\Events\Domain\Model\Dto; namespace WerkraumMedia\Events\Domain\Model\Dto;
/* /*
* Copyright (C) 2021 Daniel Siepmann <coding@daniel-siepmann.de> * Copyright (C) 2021 Daniel Siepmann <coding@daniel-siepmann.de>

View file

@ -1,6 +1,6 @@
<?php <?php
namespace Wrm\Events\Domain\Model\Dto; namespace WerkraumMedia\Events\Domain\Model\Dto;
class EventDemand class EventDemand
{ {

View file

@ -1,6 +1,6 @@
<?php <?php
namespace Wrm\Events\Domain\Model\Dto; namespace WerkraumMedia\Events\Domain\Model\Dto;
/* /*
* Copyright (C) 2021 Daniel Siepmann <coding@daniel-siepmann.de> * Copyright (C) 2021 Daniel Siepmann <coding@daniel-siepmann.de>

View file

@ -1,12 +1,12 @@
<?php <?php
namespace Wrm\Events\Domain\Model; namespace WerkraumMedia\Events\Domain\Model;
use TYPO3\CMS\Extbase\Annotation as Extbase; use TYPO3\CMS\Extbase\Annotation as Extbase;
use TYPO3\CMS\Extbase\Domain\Model\FileReference; use TYPO3\CMS\Extbase\Domain\Model\FileReference;
use TYPO3\CMS\Extbase\DomainObject\AbstractEntity; use TYPO3\CMS\Extbase\DomainObject\AbstractEntity;
use TYPO3\CMS\Extbase\Persistence\ObjectStorage; use TYPO3\CMS\Extbase\Persistence\ObjectStorage;
use Wrm\Events\Service\DataProcessingForModels; use WerkraumMedia\Events\Service\DataProcessingForModels;
class Event extends AbstractEntity class Event extends AbstractEntity
{ {

View file

@ -1,6 +1,6 @@
<?php <?php
namespace Wrm\Events\Domain\Model; namespace WerkraumMedia\Events\Domain\Model;
use TYPO3\CMS\Core\Resource\Folder; use TYPO3\CMS\Core\Resource\Folder;
use TYPO3\CMS\Extbase\DomainObject\AbstractDomainObject; use TYPO3\CMS\Extbase\DomainObject\AbstractDomainObject;

View file

@ -1,6 +1,6 @@
<?php <?php
namespace Wrm\Events\Domain\Model; namespace WerkraumMedia\Events\Domain\Model;
use TYPO3\CMS\Extbase\DomainObject\AbstractEntity; use TYPO3\CMS\Extbase\DomainObject\AbstractEntity;

View file

@ -1,6 +1,6 @@
<?php <?php
namespace Wrm\Events\Domain\Model; namespace WerkraumMedia\Events\Domain\Model;
/* /*
* *

View file

@ -1,6 +1,6 @@
<?php <?php
namespace Wrm\Events\Domain\Model; namespace WerkraumMedia\Events\Domain\Model;
/* /*
* Copyright (C) 2021 Daniel Siepmann <coding@daniel-siepmann.de> * Copyright (C) 2021 Daniel Siepmann <coding@daniel-siepmann.de>

View file

@ -1,6 +1,6 @@
<?php <?php
namespace Wrm\Events\Domain\Model; namespace WerkraumMedia\Events\Domain\Model;
/* /*
* *

View file

@ -2,7 +2,7 @@
declare(strict_types=1); declare(strict_types=1);
namespace Wrm\Events\Domain\Repository; namespace WerkraumMedia\Events\Domain\Repository;
/* /*
* Copyright (C) 2021 Daniel Siepmann <coding@daniel-siepmann.de> * Copyright (C) 2021 Daniel Siepmann <coding@daniel-siepmann.de>
@ -26,7 +26,7 @@ namespace Wrm\Events\Domain\Repository;
use TYPO3\CMS\Core\Database\ConnectionPool; use TYPO3\CMS\Core\Database\ConnectionPool;
use TYPO3\CMS\Extbase\Persistence\Generic\Mapper\DataMapper; use TYPO3\CMS\Extbase\Persistence\Generic\Mapper\DataMapper;
use TYPO3\CMS\Extbase\Persistence\Repository; use TYPO3\CMS\Extbase\Persistence\Repository;
use Wrm\Events\Domain\Model\Category; use WerkraumMedia\Events\Domain\Model\Category;
class CategoryRepository extends Repository class CategoryRepository extends Repository
{ {

View file

@ -1,6 +1,6 @@
<?php <?php
namespace Wrm\Events\Domain\Repository; namespace WerkraumMedia\Events\Domain\Repository;
use DateTimeImmutable; use DateTimeImmutable;
use DateTimeZone; use DateTimeZone;
@ -12,8 +12,8 @@ use TYPO3\CMS\Extbase\Persistence\Generic\QueryResult;
use TYPO3\CMS\Extbase\Persistence\QueryInterface; use TYPO3\CMS\Extbase\Persistence\QueryInterface;
use TYPO3\CMS\Extbase\Persistence\Repository; use TYPO3\CMS\Extbase\Persistence\Repository;
use UnexpectedValueException; use UnexpectedValueException;
use Wrm\Events\Domain\Model\Dto\DateDemand; use WerkraumMedia\Events\Domain\Model\Dto\DateDemand;
use Wrm\Events\Service\CategoryService; use WerkraumMedia\Events\Service\CategoryService;
class DateRepository extends Repository class DateRepository extends Repository
{ {

View file

@ -1,6 +1,6 @@
<?php <?php
namespace Wrm\Events\Domain\Repository; namespace WerkraumMedia\Events\Domain\Repository;
/* /*
* This file is part of the TYPO3 CMS project. * This file is part of the TYPO3 CMS project.
@ -20,9 +20,9 @@ use TYPO3\CMS\Extbase\Persistence\Generic\Qom\ConstraintInterface;
use TYPO3\CMS\Extbase\Persistence\Generic\QueryResult; use TYPO3\CMS\Extbase\Persistence\Generic\QueryResult;
use TYPO3\CMS\Extbase\Persistence\QueryInterface; use TYPO3\CMS\Extbase\Persistence\QueryInterface;
use TYPO3\CMS\Extbase\Persistence\Repository; use TYPO3\CMS\Extbase\Persistence\Repository;
use Wrm\Events\Domain\Model\Dto\EventDemand; use WerkraumMedia\Events\Domain\Model\Dto\EventDemand;
use Wrm\Events\Domain\Model\Event; use WerkraumMedia\Events\Domain\Model\Event;
use Wrm\Events\Service\CategoryService; use WerkraumMedia\Events\Service\CategoryService;
class EventRepository extends Repository class EventRepository extends Repository
{ {

View file

@ -1,9 +1,9 @@
<?php <?php
namespace Wrm\Events\Domain\Repository; namespace WerkraumMedia\Events\Domain\Repository;
use TYPO3\CMS\Extbase\Persistence\Repository; use TYPO3\CMS\Extbase\Persistence\Repository;
use Wrm\Events\Domain\Model\Location; use WerkraumMedia\Events\Domain\Model\Location;
class LocationRepository extends Repository class LocationRepository extends Repository
{ {

View file

@ -1,6 +1,6 @@
<?php <?php
namespace Wrm\Events\Domain\Repository; namespace WerkraumMedia\Events\Domain\Repository;
/* /*
* This file is part of the TYPO3 CMS project. * This file is part of the TYPO3 CMS project.

View file

@ -1,6 +1,6 @@
<?php <?php
namespace Wrm\Events\Domain\Repository; namespace WerkraumMedia\Events\Domain\Repository;
/* /*
* This file is part of the TYPO3 CMS project. * This file is part of the TYPO3 CMS project.

View file

@ -1,11 +1,11 @@
<?php <?php
namespace Wrm\Events\Events\Controller; namespace WerkraumMedia\Events\Events\Controller;
use TYPO3\CMS\Core\Pagination\PaginationInterface; use TYPO3\CMS\Core\Pagination\PaginationInterface;
use TYPO3\CMS\Extbase\Persistence\Generic\QueryResult; use TYPO3\CMS\Extbase\Persistence\Generic\QueryResult;
use Wrm\Events\Domain\Model\Date; use WerkraumMedia\Events\Domain\Model\Date;
use Wrm\Events\Domain\Model\Dto\DateDemand; use WerkraumMedia\Events\Domain\Model\Dto\DateDemand;
final class DateListVariables final class DateListVariables
{ {

View file

@ -1,11 +1,11 @@
<?php <?php
namespace Wrm\Events\Events\Controller; namespace WerkraumMedia\Events\Events\Controller;
use TYPO3\CMS\Extbase\Domain\Model\Category; use TYPO3\CMS\Extbase\Domain\Model\Category;
use TYPO3\CMS\Extbase\Persistence\QueryResultInterface; use TYPO3\CMS\Extbase\Persistence\QueryResultInterface;
use Wrm\Events\Domain\Model\Dto\DateDemand; use WerkraumMedia\Events\Domain\Model\Dto\DateDemand;
use Wrm\Events\Domain\Model\Region; use WerkraumMedia\Events\Domain\Model\Region;
class DateSearchVariables class DateSearchVariables
{ {

View file

@ -1,6 +1,6 @@
<?php <?php
namespace Wrm\Events\Extbase; namespace WerkraumMedia\Events\Extbase;
/* /*
* Copyright (C) 2021 Daniel Siepmann <coding@daniel-siepmann.de> * Copyright (C) 2021 Daniel Siepmann <coding@daniel-siepmann.de>
@ -24,7 +24,7 @@ namespace Wrm\Events\Extbase;
use TYPO3\CMS\Core\Database\ConnectionPool; use TYPO3\CMS\Core\Database\ConnectionPool;
use TYPO3\CMS\Extbase\Event\Persistence\AfterObjectThawedEvent; use TYPO3\CMS\Extbase\Event\Persistence\AfterObjectThawedEvent;
use TYPO3\CMS\Extbase\Persistence\Generic\Mapper\DataMapper; use TYPO3\CMS\Extbase\Persistence\Generic\Mapper\DataMapper;
use Wrm\Events\Domain\Model\Date; use WerkraumMedia\Events\Domain\Model\Date;
class AddSpecialProperties class AddSpecialProperties
{ {

View file

@ -2,12 +2,12 @@
declare(strict_types=1); declare(strict_types=1);
namespace Wrm\Events\Pagination; namespace WerkraumMedia\Events\Pagination;
use TYPO3\CMS\Core\Pagination\PaginationInterface; use TYPO3\CMS\Core\Pagination\PaginationInterface;
use TYPO3\CMS\Extbase\Pagination\QueryResultPaginator; use TYPO3\CMS\Extbase\Pagination\QueryResultPaginator;
use TYPO3\CMS\Extbase\Persistence\QueryResultInterface; use TYPO3\CMS\Extbase\Persistence\QueryResultInterface;
use Wrm\Events\Backports\V12\Pagination\SlidingWindowPagination; use WerkraumMedia\Events\Backports\V12\Pagination\SlidingWindowPagination;
class Factory class Factory
{ {

View file

@ -1,6 +1,6 @@
<?php <?php
namespace Wrm\Events\Service; namespace WerkraumMedia\Events\Service;
use TYPO3\CMS\Core\Cache\CacheManager; use TYPO3\CMS\Core\Cache\CacheManager;
use TYPO3\CMS\Core\Cache\Frontend\FrontendInterface; use TYPO3\CMS\Core\Cache\Frontend\FrontendInterface;

View file

@ -1,6 +1,6 @@
<?php <?php
namespace Wrm\Events\Service\Cleanup; namespace WerkraumMedia\Events\Service\Cleanup;
/* /*
* Copyright (C) 2019 Daniel Siepmann <coding@daniel-siepmann.de> * Copyright (C) 2019 Daniel Siepmann <coding@daniel-siepmann.de>

View file

@ -1,6 +1,6 @@
<?php <?php
namespace Wrm\Events\Service\Cleanup; namespace WerkraumMedia\Events\Service\Cleanup;
/* /*
* Copyright (C) 2019 Daniel Siepmann <coding@daniel-siepmann.de> * Copyright (C) 2019 Daniel Siepmann <coding@daniel-siepmann.de>

View file

@ -1,9 +1,9 @@
<?php <?php
namespace Wrm\Events\Service; namespace WerkraumMedia\Events\Service;
use Wrm\Events\Service\Cleanup\Database; use WerkraumMedia\Events\Service\Cleanup\Database;
use Wrm\Events\Service\Cleanup\Files; use WerkraumMedia\Events\Service\Cleanup\Files;
class CleanupService class CleanupService
{ {

View file

@ -1,6 +1,6 @@
<?php <?php
namespace Wrm\Events\Service; namespace WerkraumMedia\Events\Service;
/* /*
* Copyright (C) 2021 Daniel Siepmann <coding@daniel-siepmann.de> * Copyright (C) 2021 Daniel Siepmann <coding@daniel-siepmann.de>
@ -46,7 +46,7 @@ use TYPO3\CMS\Frontend\ContentObject\ContentObjectRenderer;
* plugin.tx_events { * plugin.tx_events {
* settings { * settings {
* dataProcessing { * dataProcessing {
* Wrm\Events\Domain\Model\Event { * WerkraumMedia\Events\Domain\Model\Event {
* 10 = TYPO3\CMS\Frontend\DataProcessing\MenuProcessor * 10 = TYPO3\CMS\Frontend\DataProcessing\MenuProcessor
* 10 { * 10 {
* special = list * special = list

View file

@ -1,6 +1,6 @@
<?php <?php
namespace Wrm\Events\Service; namespace WerkraumMedia\Events\Service;
use Exception; use Exception;
use TYPO3\CMS\Core\EventDispatcher\EventDispatcher; use TYPO3\CMS\Core\EventDispatcher\EventDispatcher;
@ -11,25 +11,25 @@ use TYPO3\CMS\Extbase\Configuration\ConfigurationManager;
use TYPO3\CMS\Extbase\Configuration\ConfigurationManagerInterface; use TYPO3\CMS\Extbase\Configuration\ConfigurationManagerInterface;
use TYPO3\CMS\Extbase\Object\ObjectManager; use TYPO3\CMS\Extbase\Object\ObjectManager;
use TYPO3\CMS\Extbase\Persistence\Generic\PersistenceManager; use TYPO3\CMS\Extbase\Persistence\Generic\PersistenceManager;
use Wrm\Events\Caching\CacheManager; use WerkraumMedia\Events\Caching\CacheManager;
use Wrm\Events\Domain\Model\Event; use WerkraumMedia\Events\Domain\Model\Event;
use Wrm\Events\Domain\Model\Import; use WerkraumMedia\Events\Domain\Model\Import;
use Wrm\Events\Domain\Model\Organizer; use WerkraumMedia\Events\Domain\Model\Organizer;
use Wrm\Events\Domain\Model\Region; use WerkraumMedia\Events\Domain\Model\Region;
use Wrm\Events\Domain\Repository\DateRepository; use WerkraumMedia\Events\Domain\Repository\DateRepository;
use Wrm\Events\Domain\Repository\EventRepository; use WerkraumMedia\Events\Domain\Repository\EventRepository;
use Wrm\Events\Domain\Repository\OrganizerRepository; use WerkraumMedia\Events\Domain\Repository\OrganizerRepository;
use Wrm\Events\Service\DestinationDataImportService\CategoriesAssignment; use WerkraumMedia\Events\Service\DestinationDataImportService\CategoriesAssignment;
use Wrm\Events\Service\DestinationDataImportService\CategoriesAssignment\Import as CategoryImport; use WerkraumMedia\Events\Service\DestinationDataImportService\CategoriesAssignment\Import as CategoryImport;
use Wrm\Events\Service\DestinationDataImportService\DataFetcher; use WerkraumMedia\Events\Service\DestinationDataImportService\DataFetcher;
use Wrm\Events\Service\DestinationDataImportService\DataHandler; use WerkraumMedia\Events\Service\DestinationDataImportService\DataHandler;
use Wrm\Events\Service\DestinationDataImportService\DataHandler\Assignment; use WerkraumMedia\Events\Service\DestinationDataImportService\DataHandler\Assignment;
use Wrm\Events\Service\DestinationDataImportService\DatesFactory; use WerkraumMedia\Events\Service\DestinationDataImportService\DatesFactory;
use Wrm\Events\Service\DestinationDataImportService\Events\CategoriesAssignEvent; use WerkraumMedia\Events\Service\DestinationDataImportService\Events\CategoriesAssignEvent;
use Wrm\Events\Service\DestinationDataImportService\Events\EventImportEvent; use WerkraumMedia\Events\Service\DestinationDataImportService\Events\EventImportEvent;
use Wrm\Events\Service\DestinationDataImportService\FilesAssignment; use WerkraumMedia\Events\Service\DestinationDataImportService\FilesAssignment;
use Wrm\Events\Service\DestinationDataImportService\LocationAssignment; use WerkraumMedia\Events\Service\DestinationDataImportService\LocationAssignment;
use Wrm\Events\Service\DestinationDataImportService\Slugger; use WerkraumMedia\Events\Service\DestinationDataImportService\Slugger;
class DestinationDataImportService class DestinationDataImportService
{ {

View file

@ -1,12 +1,12 @@
<?php <?php
namespace Wrm\Events\Service\DestinationDataImportService; namespace WerkraumMedia\Events\Service\DestinationDataImportService;
use TYPO3\CMS\Extbase\Persistence\Generic\PersistenceManager; use TYPO3\CMS\Extbase\Persistence\Generic\PersistenceManager;
use TYPO3\CMS\Extbase\Persistence\ObjectStorage; use TYPO3\CMS\Extbase\Persistence\ObjectStorage;
use Wrm\Events\Domain\Model\Category; use WerkraumMedia\Events\Domain\Model\Category;
use Wrm\Events\Domain\Repository\CategoryRepository; use WerkraumMedia\Events\Domain\Repository\CategoryRepository;
use Wrm\Events\Service\DestinationDataImportService\CategoriesAssignment\Import; use WerkraumMedia\Events\Service\DestinationDataImportService\CategoriesAssignment\Import;
/** /**
* Provides APIs to work with categories that will be assigned to events during import. * Provides APIs to work with categories that will be assigned to events during import.

View file

@ -1,8 +1,8 @@
<?php <?php
namespace Wrm\Events\Service\DestinationDataImportService\CategoriesAssignment; namespace WerkraumMedia\Events\Service\DestinationDataImportService\CategoriesAssignment;
use Wrm\Events\Domain\Model\Category; use WerkraumMedia\Events\Domain\Model\Category;
class Import class Import
{ {

View file

@ -1,6 +1,6 @@
<?php <?php
namespace Wrm\Events\Service\DestinationDataImportService; namespace WerkraumMedia\Events\Service\DestinationDataImportService;
use GuzzleHttp\ClientInterface as GuzzleClientInterface; use GuzzleHttp\ClientInterface as GuzzleClientInterface;
use Psr\Http\Client\ClientInterface; use Psr\Http\Client\ClientInterface;
@ -8,7 +8,7 @@ use Psr\Http\Message\RequestFactoryInterface;
use Psr\Http\Message\ResponseInterface; use Psr\Http\Message\ResponseInterface;
use TYPO3\CMS\Core\Log\Logger; use TYPO3\CMS\Core\Log\Logger;
use TYPO3\CMS\Core\Log\LogManager; use TYPO3\CMS\Core\Log\LogManager;
use Wrm\Events\Domain\Model\Import; use WerkraumMedia\Events\Domain\Model\Import;
/** /**
* Provides API to fetch data from remote. * Provides API to fetch data from remote.

View file

@ -21,13 +21,13 @@ declare(strict_types=1);
* 02110-1301, USA. * 02110-1301, USA.
*/ */
namespace Wrm\Events\Service\DestinationDataImportService; namespace WerkraumMedia\Events\Service\DestinationDataImportService;
use TYPO3\CMS\Core\DataHandling\DataHandler as Typo3DataHandler; use TYPO3\CMS\Core\DataHandling\DataHandler as Typo3DataHandler;
use TYPO3\CMS\Core\Log\Logger; use TYPO3\CMS\Core\Log\Logger;
use TYPO3\CMS\Core\Log\LogManager; use TYPO3\CMS\Core\Log\LogManager;
use TYPO3\CMS\Core\Utility\GeneralUtility; use TYPO3\CMS\Core\Utility\GeneralUtility;
use Wrm\Events\Service\DestinationDataImportService\DataHandler\Assignment; use WerkraumMedia\Events\Service\DestinationDataImportService\DataHandler\Assignment;
final class DataHandler final class DataHandler
{ {

View file

@ -21,7 +21,7 @@ declare(strict_types=1);
* 02110-1301, USA. * 02110-1301, USA.
*/ */
namespace Wrm\Events\Service\DestinationDataImportService\DataHandler; namespace WerkraumMedia\Events\Service\DestinationDataImportService\DataHandler;
use InvalidArgumentException; use InvalidArgumentException;
use TYPO3\CMS\Extbase\DomainObject\AbstractDomainObject; use TYPO3\CMS\Extbase\DomainObject\AbstractDomainObject;

View file

@ -1,12 +1,12 @@
<?php <?php
namespace Wrm\Events\Service\DestinationDataImportService; namespace WerkraumMedia\Events\Service\DestinationDataImportService;
use TYPO3\CMS\Core\Context\Context; use TYPO3\CMS\Core\Context\Context;
use TYPO3\CMS\Core\Log\Logger; use TYPO3\CMS\Core\Log\Logger;
use TYPO3\CMS\Core\Log\LogManager; use TYPO3\CMS\Core\Log\LogManager;
use TYPO3\CMS\Extbase\Configuration\ConfigurationManager; use TYPO3\CMS\Extbase\Configuration\ConfigurationManager;
use Wrm\Events\Domain\Model\Date; use WerkraumMedia\Events\Domain\Model\Date;
class DatesFactory class DatesFactory
{ {

View file

@ -21,11 +21,11 @@ declare(strict_types=1);
* 02110-1301, USA. * 02110-1301, USA.
*/ */
namespace Wrm\Events\Service\DestinationDataImportService\Events; namespace WerkraumMedia\Events\Service\DestinationDataImportService\Events;
use TYPO3\CMS\Extbase\Persistence\ObjectStorage; use TYPO3\CMS\Extbase\Persistence\ObjectStorage;
use Wrm\Events\Domain\Model\Category; use WerkraumMedia\Events\Domain\Model\Category;
use Wrm\Events\Domain\Model\Event; use WerkraumMedia\Events\Domain\Model\Event;
final class CategoriesAssignEvent final class CategoriesAssignEvent
{ {

View file

@ -21,9 +21,9 @@ declare(strict_types=1);
* 02110-1301, USA. * 02110-1301, USA.
*/ */
namespace Wrm\Events\Service\DestinationDataImportService\Events; namespace WerkraumMedia\Events\Service\DestinationDataImportService\Events;
use Wrm\Events\Domain\Model\Event; use WerkraumMedia\Events\Domain\Model\Event;
final class EventImportEvent final class EventImportEvent
{ {

View file

@ -21,7 +21,7 @@ declare(strict_types=1);
* 02110-1301, USA. * 02110-1301, USA.
*/ */
namespace Wrm\Events\Service\DestinationDataImportService; namespace WerkraumMedia\Events\Service\DestinationDataImportService;
use Exception; use Exception;
use Psr\Log\LoggerInterface; use Psr\Log\LoggerInterface;
@ -33,8 +33,8 @@ use TYPO3\CMS\Core\Resource\ResourceFactory;
use TYPO3\CMS\Core\Utility\GeneralUtility; use TYPO3\CMS\Core\Utility\GeneralUtility;
use TYPO3\CMS\Extbase\Domain\Model\FileReference; use TYPO3\CMS\Extbase\Domain\Model\FileReference;
use TYPO3\CMS\Extbase\Persistence\ObjectStorage; use TYPO3\CMS\Extbase\Persistence\ObjectStorage;
use Wrm\Events\Domain\Model\Event; use WerkraumMedia\Events\Domain\Model\Event;
use Wrm\Events\Domain\Model\Import; use WerkraumMedia\Events\Domain\Model\Import;
class FilesAssignment class FilesAssignment
{ {

View file

@ -1,9 +1,9 @@
<?php <?php
namespace Wrm\Events\Service\DestinationDataImportService; namespace WerkraumMedia\Events\Service\DestinationDataImportService;
use Wrm\Events\Domain\Model\Location; use WerkraumMedia\Events\Domain\Model\Location;
use Wrm\Events\Domain\Repository\LocationRepository; use WerkraumMedia\Events\Domain\Repository\LocationRepository;
class LocationAssignment class LocationAssignment
{ {

View file

@ -21,14 +21,14 @@ declare(strict_types=1);
* 02110-1301, USA. * 02110-1301, USA.
*/ */
namespace Wrm\Events\Service\DestinationDataImportService; namespace WerkraumMedia\Events\Service\DestinationDataImportService;
use TYPO3\CMS\Core\Database\ConnectionPool; use TYPO3\CMS\Core\Database\ConnectionPool;
use TYPO3\CMS\Core\Database\Query\QueryBuilder; use TYPO3\CMS\Core\Database\Query\QueryBuilder;
use TYPO3\CMS\Core\DataHandling\SlugHelper; use TYPO3\CMS\Core\DataHandling\SlugHelper;
use TYPO3\CMS\Core\Utility\GeneralUtility; use TYPO3\CMS\Core\Utility\GeneralUtility;
use Wrm\Events\Service\DestinationDataImportService\Slugger\Registry; use WerkraumMedia\Events\Service\DestinationDataImportService\Slugger\Registry;
use Wrm\Events\Service\DestinationDataImportService\Slugger\SluggerType; use WerkraumMedia\Events\Service\DestinationDataImportService\Slugger\SluggerType;
class Slugger class Slugger
{ {

View file

@ -21,7 +21,7 @@ declare(strict_types=1);
* 02110-1301, USA. * 02110-1301, USA.
*/ */
namespace Wrm\Events\Service\DestinationDataImportService\Slugger; namespace WerkraumMedia\Events\Service\DestinationDataImportService\Slugger;
use TYPO3\CMS\Core\Database\ConnectionPool; use TYPO3\CMS\Core\Database\ConnectionPool;

View file

@ -21,7 +21,7 @@ declare(strict_types=1);
* 02110-1301, USA. * 02110-1301, USA.
*/ */
namespace Wrm\Events\Service\DestinationDataImportService\Slugger; namespace WerkraumMedia\Events\Service\DestinationDataImportService\Slugger;
class Event implements SluggerType class Event implements SluggerType
{ {

View file

@ -21,7 +21,7 @@ declare(strict_types=1);
* 02110-1301, USA. * 02110-1301, USA.
*/ */
namespace Wrm\Events\Service\DestinationDataImportService\Slugger; namespace WerkraumMedia\Events\Service\DestinationDataImportService\Slugger;
class Registry class Registry
{ {

View file

@ -21,7 +21,7 @@ declare(strict_types=1);
* 02110-1301, USA. * 02110-1301, USA.
*/ */
namespace Wrm\Events\Service\DestinationDataImportService\Slugger; namespace WerkraumMedia\Events\Service\DestinationDataImportService\Slugger;
/** /**
* Defines a slugger for a specific type, e.g. event or date. * Defines a slugger for a specific type, e.g. event or date.

View file

@ -1,11 +1,11 @@
<?php <?php
namespace Wrm\Events\Service\DestinationDataImportService; namespace WerkraumMedia\Events\Service\DestinationDataImportService;
use TYPO3\CMS\Core\Http\Uri; use TYPO3\CMS\Core\Http\Uri;
use TYPO3\CMS\Extbase\Configuration\ConfigurationManager; use TYPO3\CMS\Extbase\Configuration\ConfigurationManager;
use TYPO3\CMS\Extbase\Configuration\ConfigurationManagerInterface; use TYPO3\CMS\Extbase\Configuration\ConfigurationManagerInterface;
use Wrm\Events\Domain\Model\Import; use WerkraumMedia\Events\Domain\Model\Import;
/** /**
* Factory to create URLs used during import of Destination Data. * Factory to create URLs used during import of Destination Data.

View file

@ -21,7 +21,7 @@ declare(strict_types=1);
* 02110-1301, USA. * 02110-1301, USA.
*/ */
namespace Wrm\Events\Testing; namespace WerkraumMedia\Events\Testing;
use TYPO3\CMS\Core\SingletonInterface; use TYPO3\CMS\Core\SingletonInterface;
use TYPO3\CMS\Core\TypoScript\TemplateService; use TYPO3\CMS\Core\TypoScript\TemplateService;

View file

@ -21,13 +21,13 @@ declare(strict_types=1);
* 02110-1301, USA. * 02110-1301, USA.
*/ */
namespace Wrm\Events\Updates; namespace WerkraumMedia\Events\Updates;
use Generator; use Generator;
use TYPO3\CMS\Core\Database\Connection; use TYPO3\CMS\Core\Database\Connection;
use TYPO3\CMS\Core\Database\ConnectionPool; use TYPO3\CMS\Core\Database\ConnectionPool;
use TYPO3\CMS\Install\Updates\UpgradeWizardInterface; use TYPO3\CMS\Install\Updates\UpgradeWizardInterface;
use Wrm\Events\Domain\Model\Location; use WerkraumMedia\Events\Domain\Model\Location;
final class MigrateDuplicateLocations implements UpgradeWizardInterface final class MigrateDuplicateLocations implements UpgradeWizardInterface
{ {

View file

@ -21,7 +21,7 @@ declare(strict_types=1);
* 02110-1301, USA. * 02110-1301, USA.
*/ */
namespace Wrm\Events\Updates; namespace WerkraumMedia\Events\Updates;
use TYPO3\CMS\Core\Database\ConnectionPool; use TYPO3\CMS\Core\Database\ConnectionPool;
use TYPO3\CMS\Core\Database\Query\QueryBuilder; use TYPO3\CMS\Core\Database\Query\QueryBuilder;

View file

@ -3,7 +3,7 @@
declare(strict_types=1); declare(strict_types=1);
return [ return [
\Wrm\Events\Domain\Model\Category::class => [ \WerkraumMedia\Events\Domain\Model\Category::class => [
'tableName' => 'sys_category', 'tableName' => 'sys_category',
], ],
]; ];

View file

@ -2,13 +2,13 @@
declare(strict_types=1); declare(strict_types=1);
namespace Wrm\Events; namespace WerkraumMedia\Events;
use Symfony\Component\DependencyInjection\Compiler\CompilerPassInterface; use Symfony\Component\DependencyInjection\Compiler\CompilerPassInterface;
use Symfony\Component\DependencyInjection\ContainerBuilder; use Symfony\Component\DependencyInjection\ContainerBuilder;
use Symfony\Component\DependencyInjection\Loader\Configurator\ContainerConfigurator; use Symfony\Component\DependencyInjection\Loader\Configurator\ContainerConfigurator;
use Wrm\Events\Service\DestinationDataImportService\Slugger\Registry; use WerkraumMedia\Events\Service\DestinationDataImportService\Slugger\Registry;
use Wrm\Events\Service\DestinationDataImportService\Slugger\SluggerType; use WerkraumMedia\Events\Service\DestinationDataImportService\Slugger\SluggerType;
return static function (ContainerConfigurator $container, ContainerBuilder $containerBuilder) { return static function (ContainerConfigurator $container, ContainerBuilder $containerBuilder) {
$containerBuilder->registerForAutoconfiguration(SluggerType::class)->addTag('tx_events.slugger_type'); $containerBuilder->registerForAutoconfiguration(SluggerType::class)->addTag('tx_events.slugger_type');

View file

@ -4,47 +4,47 @@ services:
autoconfigure: true autoconfigure: true
public: false public: false
Wrm\Events\: WerkraumMedia\Events\:
resource: '../Classes/*' resource: '../Classes/*'
Wrm\Events\Command\ImportDestinationDataViaConfigruationCommand: WerkraumMedia\Events\Command\ImportDestinationDataViaConfigruationCommand:
tags: tags:
- name: 'console.command' - name: 'console.command'
command: 'events:destinationdataimportviaconfiguration' command: 'events:destinationdataimportviaconfiguration'
description: 'Import Destination Data Events' description: 'Import Destination Data Events'
Wrm\Events\Command\ImportDestinationDataViaAllConfigruationsCommand: WerkraumMedia\Events\Command\ImportDestinationDataViaAllConfigruationsCommand:
tags: tags:
- name: 'console.command' - name: 'console.command'
command: 'events:destinationdataimportviaallconfigurations' command: 'events:destinationdataimportviaallconfigurations'
description: 'Import Destination Data Events from all configurations' description: 'Import Destination Data Events from all configurations'
Wrm\Events\Command\RemoveAllCommand: WerkraumMedia\Events\Command\RemoveAllCommand:
tags: tags:
- name: 'console.command' - name: 'console.command'
command: 'events:removeAll' command: 'events:removeAll'
description: 'Remove all event data' description: 'Remove all event data'
Wrm\Events\Command\RemovePastCommand: WerkraumMedia\Events\Command\RemovePastCommand:
tags: tags:
- name: 'console.command' - name: 'console.command'
command: 'events:removePast' command: 'events:removePast'
description: 'Remove past events' description: 'Remove past events'
Wrm\Events\Extbase\AddSpecialProperties: WerkraumMedia\Events\Extbase\AddSpecialProperties:
tags: tags:
- name: event.listener - name: event.listener
identifier: 'WrmEventsAddSpecialPropertiesToDate' identifier: 'WerkraumMediaEventsAddSpecialPropertiesToDate'
event: TYPO3\CMS\Extbase\Event\Persistence\AfterObjectThawedEvent event: TYPO3\CMS\Extbase\Event\Persistence\AfterObjectThawedEvent
Wrm\Events\Updates\MigrateDuplicateLocations: WerkraumMedia\Events\Updates\MigrateDuplicateLocations:
public: true public: true
Wrm\Events\Updates\MigrateOldLocations: WerkraumMedia\Events\Updates\MigrateOldLocations:
public: true public: true
Wrm\Events\Caching\PageCacheTimeout: WerkraumMedia\Events\Caching\PageCacheTimeout:
tags: tags:
- name: event.listener - name: event.listener
event: Wrm\Events\Events\Controller\DateListVariables event: WerkraumMedia\Events\Events\Controller\DateListVariables
method: 'trackDates' method: 'trackDates'

View file

@ -58,7 +58,7 @@ plugin.tx_events {
} }
dataProcessing { dataProcessing {
Wrm\Events\Domain\Model\Event { WerkraumMedia\Events\Domain\Model\Event {
10 = TYPO3\CMS\Frontend\DataProcessing\MenuProcessor 10 = TYPO3\CMS\Frontend\DataProcessing\MenuProcessor
10 { 10 {
special = list special = list

View file

@ -0,0 +1,32 @@
4.0.0
=====
Breaking
--------
* Change of vendor/namespace.
The vendor was renamed from `wrm` to `werkraummedia`.
And the namespace vendor was renamed from `Wrm` to `WerkraumMedia`.
That way all references to PHP classes as well as the package name itself need to
be adjusted.
Features
--------
Nothing
Fixes
-----
Nothing
Tasks
-----
Nothing
Deprecation
-----------
Nothing

View file

@ -21,7 +21,7 @@ The TTL of the extension is determined in the following way:
#. End of each shown date as fallback. #. End of each shown date as fallback.
The corresponding code is ``Wrm\Events\Caching\PageCacheTimeout``. The corresponding code is ``WerkraumMedia\Events\Caching\PageCacheTimeout``.
That way the TTL of each page is not longer than the valid period for shown events, That way the TTL of each page is not longer than the valid period for shown events,
leading to re-rendering of the page once an event might change. leading to re-rendering of the page once an event might change.

View file

@ -8,7 +8,7 @@ Events
events events
:Package name: :Package name:
wrm/events werkraummedia/events
:Language: :Language:
en en

View file

@ -9,4 +9,4 @@ Remove ``SlidingWindowPagination`` backport.
We backported https://docs.typo3.org/c/typo3/cms-core/main/en-us/Changelog/12.0/Feature-94625-IntroduceSlidingWindowPagination.html. We backported https://docs.typo3.org/c/typo3/cms-core/main/en-us/Changelog/12.0/Feature-94625-IntroduceSlidingWindowPagination.html.
That allowed us to use the new Code compatible with v12 onwards. That allowed us to use the new Code compatible with v12 onwards.
We should remove the file ``Classes/Backports/V12/Pagination/SlidingWindowPagination.php`` and switch to TYPO3 native class within ``Wrm\Events\Pagination\Factory``. We should remove the file ``Classes/Backports/V12/Pagination/SlidingWindowPagination.php`` and switch to TYPO3 native class within ``WerkraumMedia\Events\Pagination\Factory``.

View file

@ -1,6 +1,6 @@
<?php <?php
namespace Wrm\Events\Tests; namespace WerkraumMedia\Events\Tests;
use GuzzleHttp\Client; use GuzzleHttp\Client;
use GuzzleHttp\Handler\MockHandler; use GuzzleHttp\Handler\MockHandler;

View file

@ -21,7 +21,7 @@ declare(strict_types=1);
* 02110-1301, USA. * 02110-1301, USA.
*/ */
namespace Wrm\Events\Tests\Functional; namespace WerkraumMedia\Events\Tests\Functional;
use Codappix\Typo3PhpDatasets\TestingFramework; use Codappix\Typo3PhpDatasets\TestingFramework;
use DateTimeImmutable; use DateTimeImmutable;
@ -38,9 +38,9 @@ use TYPO3\CMS\Core\Utility\ArrayUtility;
use TYPO3\CMS\Core\Utility\GeneralUtility; use TYPO3\CMS\Core\Utility\GeneralUtility;
use TYPO3\TestingFramework\Core\Functional\Framework\Frontend\Internal\TypoScriptInstruction; use TYPO3\TestingFramework\Core\Functional\Framework\Frontend\Internal\TypoScriptInstruction;
use TYPO3\TestingFramework\Core\Functional\FunctionalTestCase; use TYPO3\TestingFramework\Core\Functional\FunctionalTestCase;
use Wrm\Events\Command\ImportDestinationDataViaConfigruationCommand; use WerkraumMedia\Events\Command\ImportDestinationDataViaConfigruationCommand;
use Wrm\Events\Testing\TypoScriptInstructionModifier; use WerkraumMedia\Events\Testing\TypoScriptInstructionModifier;
use Wrm\Events\Tests\ClientFactory; use WerkraumMedia\Events\Tests\ClientFactory;
abstract class AbstractFunctionalTestCase extends FunctionalTestCase abstract class AbstractFunctionalTestCase extends FunctionalTestCase
{ {

View file

@ -1,12 +1,12 @@
<?php <?php
namespace Wrm\Events\Tests\Functional\Cleanup; namespace WerkraumMedia\Events\Tests\Functional\Cleanup;
use Symfony\Component\Console\Command\Command; use Symfony\Component\Console\Command\Command;
use Symfony\Component\Console\Tester\CommandTester; use Symfony\Component\Console\Tester\CommandTester;
use TYPO3\CMS\Core\Utility\GeneralUtility; use TYPO3\CMS\Core\Utility\GeneralUtility;
use Wrm\Events\Command\RemoveAllCommand; use WerkraumMedia\Events\Command\RemoveAllCommand;
use Wrm\Events\Tests\Functional\AbstractFunctionalTestCase; use WerkraumMedia\Events\Tests\Functional\AbstractFunctionalTestCase;
/** /**
* @testdox Cleanup RemoveAll * @testdox Cleanup RemoveAll

View file

@ -1,12 +1,12 @@
<?php <?php
namespace Wrm\Events\Tests\Functional\Cleanup; namespace WerkraumMedia\Events\Tests\Functional\Cleanup;
use Symfony\Component\Console\Command\Command; use Symfony\Component\Console\Command\Command;
use Symfony\Component\Console\Tester\CommandTester; use Symfony\Component\Console\Tester\CommandTester;
use TYPO3\CMS\Core\Utility\GeneralUtility; use TYPO3\CMS\Core\Utility\GeneralUtility;
use Wrm\Events\Command\RemovePastCommand; use WerkraumMedia\Events\Command\RemovePastCommand;
use Wrm\Events\Tests\Functional\AbstractFunctionalTestCase; use WerkraumMedia\Events\Tests\Functional\AbstractFunctionalTestCase;
/** /**
* @testdox Cleanup RemovePast * @testdox Cleanup RemovePast

View file

@ -21,7 +21,7 @@ declare(strict_types=1);
* 02110-1301, USA. * 02110-1301, USA.
*/ */
namespace Wrm\Events\Tests\Functional\Frontend; namespace WerkraumMedia\Events\Tests\Functional\Frontend;
use Codappix\Typo3PhpDatasets\PhpDataSet; use Codappix\Typo3PhpDatasets\PhpDataSet;
use DateTimeImmutable; use DateTimeImmutable;
@ -30,10 +30,10 @@ use GuzzleHttp\Psr7\Response;
use Psr\Http\Message\ResponseInterface; use Psr\Http\Message\ResponseInterface;
use TYPO3\CMS\Core\Information\Typo3Version; use TYPO3\CMS\Core\Information\Typo3Version;
use TYPO3\TestingFramework\Core\Functional\Framework\Frontend\InternalRequest; use TYPO3\TestingFramework\Core\Functional\Framework\Frontend\InternalRequest;
use Wrm\Events\Tests\Functional\AbstractFunctionalTestCase; use WerkraumMedia\Events\Tests\Functional\AbstractFunctionalTestCase;
/** /**
* @covers \Wrm\Events\Caching\PageCacheTimeout * @covers \WerkraumMedia\Events\Caching\PageCacheTimeout
*/ */
class CacheTest extends AbstractFunctionalTestCase class CacheTest extends AbstractFunctionalTestCase
{ {

View file

@ -21,14 +21,14 @@ declare(strict_types=1);
* 02110-1301, USA. * 02110-1301, USA.
*/ */
namespace Wrm\Events\Tests\Functional\Frontend; namespace WerkraumMedia\Events\Tests\Functional\Frontend;
use TYPO3\TestingFramework\Core\Functional\Framework\Frontend\InternalRequest; use TYPO3\TestingFramework\Core\Functional\Framework\Frontend\InternalRequest;
use Wrm\Events\Frontend\Dates; use WerkraumMedia\Events\Frontend\Dates;
use Wrm\Events\Tests\Functional\AbstractFunctionalTestCase; use WerkraumMedia\Events\Tests\Functional\AbstractFunctionalTestCase;
/** /**
* @covers \Wrm\Events\Frontend\Dates * @covers \WerkraumMedia\Events\Frontend\Dates
*/ */
class DatesTest extends AbstractFunctionalTestCase class DatesTest extends AbstractFunctionalTestCase
{ {

View file

@ -2,14 +2,14 @@
declare(strict_types=1); declare(strict_types=1);
namespace Wrm\Events\Tests\Functional\Frontend; namespace WerkraumMedia\Events\Tests\Functional\Frontend;
use TYPO3\TestingFramework\Core\Functional\Framework\Frontend\InternalRequest; use TYPO3\TestingFramework\Core\Functional\Framework\Frontend\InternalRequest;
use Wrm\Events\Tests\Functional\AbstractFunctionalTestCase; use WerkraumMedia\Events\Tests\Functional\AbstractFunctionalTestCase;
/** /**
* @covers \Wrm\Events\Controller\DateController * @covers \WerkraumMedia\Events\Controller\DateController
* @covers \Wrm\Events\Domain\Repository\DateRepository * @covers \WerkraumMedia\Events\Domain\Repository\DateRepository
*/ */
class FilterTest extends AbstractFunctionalTestCase class FilterTest extends AbstractFunctionalTestCase
{ {

View file

@ -21,7 +21,7 @@ declare(strict_types=1);
* 02110-1301, USA. * 02110-1301, USA.
*/ */
namespace Wrm\EventsExample; namespace WerkraumMedia\EventsExample;
use TYPO3\CMS\Frontend\ContentObject\ContentObjectRenderer; use TYPO3\CMS\Frontend\ContentObject\ContentObjectRenderer;
use TYPO3\CMS\Frontend\Controller\TypoScriptFrontendController; use TYPO3\CMS\Frontend\Controller\TypoScriptFrontendController;

View file

@ -1,13 +1,13 @@
{ {
"name": "wrm/events-example", "name": "werkraummedia/events-example",
"type": "typo3-cms-extension", "type": "typo3-cms-extension",
"license": "GPL-2.0-or-later", "license": "GPL-2.0-or-later",
"require": { "require": {
"wrm/events": "*" "werkraummedia/events": "*"
}, },
"autoload": { "autoload": {
"psr-4": { "psr-4": {
"Wrm\\EventsExample\\": "Classes/" "WerkraumMedia\\EventsExample\\": "Classes/"
} }
}, },
"extra": { "extra": {

View file

@ -3,5 +3,5 @@
\TYPO3\CMS\Extbase\Utility\ExtensionUtility::configurePlugin( \TYPO3\CMS\Extbase\Utility\ExtensionUtility::configurePlugin(
'Events', 'Events',
'DateListTest', 'DateListTest',
[\Wrm\Events\Controller\DateController::class => 'list'] [\WerkraumMedia\Events\Controller\DateController::class => 'list']
); );

View file

@ -11,7 +11,7 @@ page {
10 { 10 {
// Simulates foreign access prior our rendering. // Simulates foreign access prior our rendering.
// TYPO3 has an internal cache in order to not recalculate timeout. // TYPO3 has an internal cache in order to not recalculate timeout.
userFunc = Wrm\EventsExample\UserFunc->accessTsfeTimeout userFunc = WerkraumMedia\EventsExample\UserFunc->accessTsfeTimeout
} }
20 < styles.content.get 20 < styles.content.get
@ -20,7 +20,7 @@ page {
30 { 30 {
// Simulates further long running rendering. // Simulates further long running rendering.
// In order to test that our ttl is calculated as expected. // In order to test that our ttl is calculated as expected.
userFunc = Wrm\EventsExample\UserFunc->sleep userFunc = WerkraumMedia\EventsExample\UserFunc->sleep
userFunc { userFunc {
sleep = 0 sleep = 0
} }

View file

@ -1,8 +1,8 @@
<?php <?php
namespace Wrm\Events\Tests\Functional\Import\DestinationDataTest; namespace WerkraumMedia\Events\Tests\Functional\Import\DestinationDataTest;
use Wrm\Events\Tests\Functional\AbstractFunctionalTestCase; use WerkraumMedia\Events\Tests\Functional\AbstractFunctionalTestCase;
abstract class AbstractTest extends AbstractFunctionalTestCase abstract class AbstractTest extends AbstractFunctionalTestCase
{ {

View file

@ -1,6 +1,6 @@
<?php <?php
namespace Wrm\Events\Tests\Functional\Import\DestinationDataTest; namespace WerkraumMedia\Events\Tests\Functional\Import\DestinationDataTest;
use GuzzleHttp\Psr7\Response; use GuzzleHttp\Psr7\Response;
use TYPO3\CMS\Core\Core\Environment; use TYPO3\CMS\Core\Core\Environment;

View file

@ -1,6 +1,6 @@
<?php <?php
namespace Wrm\Events\Tests\Functional\Import\DestinationDataTest; namespace WerkraumMedia\Events\Tests\Functional\Import\DestinationDataTest;
use GuzzleHttp\Psr7\Response; use GuzzleHttp\Psr7\Response;
use TYPO3\CMS\Core\Core\Environment; use TYPO3\CMS\Core\Core\Environment;

View file

@ -1,6 +1,6 @@
<?php <?php
namespace Wrm\Events\Tests\Functional\Import\DestinationDataTest; namespace WerkraumMedia\Events\Tests\Functional\Import\DestinationDataTest;
use GuzzleHttp\Psr7\Response; use GuzzleHttp\Psr7\Response;

View file

@ -1,6 +1,6 @@
<?php <?php
namespace Wrm\Events\Tests\Functional\Import\DestinationDataTest; namespace WerkraumMedia\Events\Tests\Functional\Import\DestinationDataTest;
use GuzzleHttp\Psr7\Response; use GuzzleHttp\Psr7\Response;

View file

@ -1,6 +1,6 @@
<?php <?php
namespace Wrm\Events\Tests\Functional\Import\DestinationDataTest; namespace WerkraumMedia\Events\Tests\Functional\Import\DestinationDataTest;
use GuzzleHttp\Psr7\Response; use GuzzleHttp\Psr7\Response;
use TYPO3\CMS\Core\Utility\GeneralUtility; use TYPO3\CMS\Core\Utility\GeneralUtility;

View file

@ -1,10 +1,10 @@
<?php <?php
namespace Wrm\Events\Tests\Functional\Import\DestinationDataTest; namespace WerkraumMedia\Events\Tests\Functional\Import\DestinationDataTest;
use GuzzleHttp\Psr7\Response; use GuzzleHttp\Psr7\Response;
use TYPO3\CMS\Core\Utility\GeneralUtility; use TYPO3\CMS\Core\Utility\GeneralUtility;
use Wrm\Events\Command\ImportDestinationDataViaAllConfigruationsCommand; use WerkraumMedia\Events\Command\ImportDestinationDataViaAllConfigruationsCommand;
/** /**
* @testdox Import of configuration * @testdox Import of configuration

View file

@ -1,6 +1,6 @@
<?php <?php
namespace Wrm\Events\Tests\Functional\Import\DestinationDataTest; namespace WerkraumMedia\Events\Tests\Functional\Import\DestinationDataTest;
use GuzzleHttp\Psr7\Response; use GuzzleHttp\Psr7\Response;
use TYPO3\CMS\Core\Utility\GeneralUtility; use TYPO3\CMS\Core\Utility\GeneralUtility;

View file

@ -1,6 +1,6 @@
<?php <?php
namespace Wrm\Events\Tests\Functional\Import\DestinationDataTest; namespace WerkraumMedia\Events\Tests\Functional\Import\DestinationDataTest;
use GuzzleHttp\Psr7\Response; use GuzzleHttp\Psr7\Response;

View file

@ -1,6 +1,6 @@
<?php <?php
namespace Wrm\Events\Tests\Functional\Import\DestinationDataTest; namespace WerkraumMedia\Events\Tests\Functional\Import\DestinationDataTest;
use GuzzleHttp\Psr7\Response; use GuzzleHttp\Psr7\Response;

View file

@ -1,6 +1,6 @@
<?php <?php
namespace Wrm\Events\Tests\Functional\Import\DestinationDataTest; namespace WerkraumMedia\Events\Tests\Functional\Import\DestinationDataTest;
use GuzzleHttp\Psr7\Response; use GuzzleHttp\Psr7\Response;
use TYPO3\CMS\Core\Utility\GeneralUtility; use TYPO3\CMS\Core\Utility\GeneralUtility;

View file

@ -1,6 +1,6 @@
<?php <?php
namespace Wrm\Events\Tests\Functional\Import\DestinationDataTest; namespace WerkraumMedia\Events\Tests\Functional\Import\DestinationDataTest;
use GuzzleHttp\Psr7\Response; use GuzzleHttp\Psr7\Response;

View file

@ -1,6 +1,6 @@
<?php <?php
namespace Wrm\Events\Tests\Functional\Import\DestinationDataTest; namespace WerkraumMedia\Events\Tests\Functional\Import\DestinationDataTest;
use GuzzleHttp\Psr7\Response; use GuzzleHttp\Psr7\Response;

View file

@ -1,6 +1,6 @@
<?php <?php
namespace Wrm\Events\Tests\Functional\Import\DestinationDataTest; namespace WerkraumMedia\Events\Tests\Functional\Import\DestinationDataTest;
use GuzzleHttp\Psr7\Response; use GuzzleHttp\Psr7\Response;

View file

@ -1,6 +1,6 @@
<?php <?php
namespace Wrm\Events\Tests\Functional\Import\DestinationDataTest; namespace WerkraumMedia\Events\Tests\Functional\Import\DestinationDataTest;
use GuzzleHttp\Psr7\Response; use GuzzleHttp\Psr7\Response;
use TYPO3\CMS\Core\Utility\GeneralUtility; use TYPO3\CMS\Core\Utility\GeneralUtility;

View file

@ -1,6 +1,6 @@
<?php <?php
namespace Wrm\Events\Tests\Functional\Import\DestinationDataTest; namespace WerkraumMedia\Events\Tests\Functional\Import\DestinationDataTest;
use GuzzleHttp\Psr7\Response; use GuzzleHttp\Psr7\Response;

View file

@ -1,6 +1,6 @@
<?php <?php
namespace Wrm\Events\Tests\Functional\Import\DestinationDataTest; namespace WerkraumMedia\Events\Tests\Functional\Import\DestinationDataTest;
use GuzzleHttp\Psr7\Response; use GuzzleHttp\Psr7\Response;
use TYPO3\CMS\Core\Utility\GeneralUtility; use TYPO3\CMS\Core\Utility\GeneralUtility;

View file

@ -21,10 +21,10 @@ declare(strict_types=1);
* 02110-1301, USA. * 02110-1301, USA.
*/ */
namespace Wrm\Events\Tests\Functional\Psr14Events\DestinationDataImport; namespace WerkraumMedia\Events\Tests\Functional\Psr14Events\DestinationDataImport;
use GuzzleHttp\Psr7\Response; use GuzzleHttp\Psr7\Response;
use Wrm\Events\Tests\Functional\Import\DestinationDataTest\AbstractTest; use WerkraumMedia\Events\Tests\Functional\Import\DestinationDataTest\AbstractTest;
final class CategoriesAssignEventTest extends AbstractTest final class CategoriesAssignEventTest extends AbstractTest
{ {

View file

@ -21,10 +21,10 @@ declare(strict_types=1);
* 02110-1301, USA. * 02110-1301, USA.
*/ */
namespace Wrm\Events\Tests\Functional\Psr14Events\DestinationDataImport; namespace WerkraumMedia\Events\Tests\Functional\Psr14Events\DestinationDataImport;
use GuzzleHttp\Psr7\Response; use GuzzleHttp\Psr7\Response;
use Wrm\Events\Tests\Functional\Import\DestinationDataTest\AbstractTest; use WerkraumMedia\Events\Tests\Functional\Import\DestinationDataTest\AbstractTest;
final class EventImportEventTest extends AbstractTest final class EventImportEventTest extends AbstractTest
{ {

View file

@ -23,8 +23,8 @@ declare(strict_types=1);
namespace WerkraumMedia\CustomCategories\EventListener; namespace WerkraumMedia\CustomCategories\EventListener;
use Wrm\Events\Domain\Model\Category; use WerkraumMedia\Events\Domain\Model\Category;
use Wrm\Events\Service\DestinationDataImportService\Events\CategoriesAssignEvent; use WerkraumMedia\Events\Service\DestinationDataImportService\Events\CategoriesAssignEvent;
final class CategoriesAssignListener final class CategoriesAssignListener
{ {

View file

@ -5,7 +5,7 @@ declare(strict_types=1);
namespace Symfony\Component\DependencyInjection\Loader\Configurator; namespace Symfony\Component\DependencyInjection\Loader\Configurator;
use WerkraumMedia\CustomCategories\EventListener\CategoriesAssignListener; use WerkraumMedia\CustomCategories\EventListener\CategoriesAssignListener;
use Wrm\Events\Service\DestinationDataImportService\Events\CategoriesAssignEvent; use WerkraumMedia\Events\Service\DestinationDataImportService\Events\CategoriesAssignEvent;
return static function (ContainerConfigurator $containerConfigurator) { return static function (ContainerConfigurator $containerConfigurator) {
$services = $containerConfigurator->services() $services = $containerConfigurator->services()

View file

@ -23,7 +23,7 @@ declare(strict_types=1);
namespace WerkraumMedia\CustomEvent\EventListener; namespace WerkraumMedia\CustomEvent\EventListener;
use Wrm\Events\Service\DestinationDataImportService\Events\EventImportEvent; use WerkraumMedia\Events\Service\DestinationDataImportService\Events\EventImportEvent;
final class EventImportListener final class EventImportListener
{ {

View file

@ -5,7 +5,7 @@ declare(strict_types=1);
namespace Symfony\Component\DependencyInjection\Loader\Configurator; namespace Symfony\Component\DependencyInjection\Loader\Configurator;
use WerkraumMedia\CustomEvent\EventListener\EventImportListener; use WerkraumMedia\CustomEvent\EventListener\EventImportListener;
use Wrm\Events\Service\DestinationDataImportService\Events\EventImportEvent; use WerkraumMedia\Events\Service\DestinationDataImportService\Events\EventImportEvent;
return static function (ContainerConfigurator $containerConfigurator) { return static function (ContainerConfigurator $containerConfigurator) {
$services = $containerConfigurator->services() $services = $containerConfigurator->services()

Some files were not shown because too many files have changed in this diff Show more