Streamline PHP files
Add strict types and move namespace.
This commit is contained in:
parent
7f76b5b1b2
commit
ead6c4f530
7 changed files with 21 additions and 8 deletions
|
@ -1,6 +1,6 @@
|
|||
<?php
|
||||
|
||||
namespace DanielSiepmann\DsSite\Backend\PreviewRenderer;
|
||||
declare(strict_types=1);
|
||||
|
||||
/*
|
||||
* Copyright (C) 2020 Daniel Siepmann <coding@daniel-siepmann.de>
|
||||
|
@ -21,6 +21,8 @@ namespace DanielSiepmann\DsSite\Backend\PreviewRenderer;
|
|||
* 02110-1301, USA.
|
||||
*/
|
||||
|
||||
namespace DanielSiepmann\DsSite\Backend\PreviewRenderer;
|
||||
|
||||
use TYPO3\CMS\Backend\Preview\StandardContentPreviewRenderer;
|
||||
use TYPO3\CMS\Backend\View\BackendLayout\Grid\GridColumnItem;
|
||||
use TYPO3\CMS\Frontend\ContentObject\ContentDataProcessor;
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
<?php
|
||||
|
||||
namespace DanielSiepmann\DsSite\EventListener;
|
||||
declare(strict_types=1);
|
||||
|
||||
/*
|
||||
* Copyright (C) 2020 Daniel Siepmann <coding@daniel-siepmann.de>
|
||||
|
@ -21,6 +21,8 @@ namespace DanielSiepmann\DsSite\EventListener;
|
|||
* 02110-1301, USA.
|
||||
*/
|
||||
|
||||
namespace DanielSiepmann\DsSite\EventListener;
|
||||
|
||||
use TYPO3\CMS\Core\Resource\Event\EnrichFileMetaDataEvent;
|
||||
use TYPO3\CMS\Core\Resource\FileReference;
|
||||
use TYPO3\CMS\Frontend\Resource\FileCollector;
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
<?php
|
||||
|
||||
namespace DanielSiepmann\DsSite\Frontend\DataProcessing;
|
||||
declare(strict_types=1);
|
||||
|
||||
/*
|
||||
* Copyright (C) 2020 Daniel Siepmann <coding@daniel-siepmann.de>
|
||||
|
@ -21,6 +21,8 @@ namespace DanielSiepmann\DsSite\Frontend\DataProcessing;
|
|||
* 02110-1301, USA.
|
||||
*/
|
||||
|
||||
namespace DanielSiepmann\DsSite\Frontend\DataProcessing;
|
||||
|
||||
use TYPO3\CMS\Core\Database\Query\QueryBuilder;
|
||||
use TYPO3\CMS\Core\Database\Query\QueryHelper;
|
||||
use TYPO3\CMS\Frontend\ContentObject\ContentObjectRenderer;
|
||||
|
|
|
@ -1,7 +1,6 @@
|
|||
<?php
|
||||
|
||||
namespace DanielSiepmann\DsSite\Frontend\RssFeed;
|
||||
|
||||
declare(strict_types=1);
|
||||
|
||||
/*
|
||||
* Copyright (C) 2021 Daniel Siepmann <coding@daniel-siepmann.de>
|
||||
|
@ -22,6 +21,8 @@ namespace DanielSiepmann\DsSite\Frontend\RssFeed;
|
|||
* 02110-1301, USA.
|
||||
*/
|
||||
|
||||
namespace DanielSiepmann\DsSite\Frontend\RssFeed;
|
||||
|
||||
use Psr\Http\Message\ServerRequestInterface;
|
||||
use TYPO3\CMS\Core\Database\Connection;
|
||||
use TYPO3\CMS\Core\Database\ConnectionPool;
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
<?php
|
||||
|
||||
namespace DanielSiepmann\DsSite\Frontend\RssFeed;
|
||||
declare(strict_types=1);
|
||||
|
||||
/*
|
||||
* Copyright (C) 2021 Daniel Siepmann <coding@daniel-siepmann.de>
|
||||
|
@ -21,6 +21,8 @@ namespace DanielSiepmann\DsSite\Frontend\RssFeed;
|
|||
* 02110-1301, USA.
|
||||
*/
|
||||
|
||||
namespace DanielSiepmann\DsSite\Frontend\RssFeed;
|
||||
|
||||
use Psr\Http\Message\ServerRequestInterface;
|
||||
use TYPO3\CMS\Frontend\ContentObject\ContentObjectRenderer;
|
||||
use TYPO3\CMS\Seo\XmlSitemap\XmlSitemapRenderer as Typo3XmlSitemapRenderer;
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
<?php
|
||||
|
||||
namespace DanielSiepmann\DsSite\Hooks\Backend;
|
||||
declare(strict_types=1);
|
||||
|
||||
/*
|
||||
* Copyright (C) 2019 Daniel Siepmann <coding@daniel-siepmann.de>
|
||||
|
@ -21,6 +21,8 @@ namespace DanielSiepmann\DsSite\Hooks\Backend;
|
|||
* 02110-1301, USA.
|
||||
*/
|
||||
|
||||
namespace DanielSiepmann\DsSite\Hooks\Backend;
|
||||
|
||||
use TYPO3\CMS\Backend\Controller\PageLayoutController;
|
||||
use TYPO3\CMS\Core\Utility\GeneralUtility;
|
||||
use TYPO3\CMS\Fluid\View\StandaloneView;
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
<?php
|
||||
|
||||
namespace DanielSiepmann\DsSite\UserFunction;
|
||||
declare(strict_types=1);
|
||||
|
||||
/*
|
||||
* Copyright (C) 2019 Daniel Siepmann <coding@daniel-siepmann.de>
|
||||
|
@ -21,6 +21,8 @@ namespace DanielSiepmann\DsSite\UserFunction;
|
|||
* 02110-1301, USA.
|
||||
*/
|
||||
|
||||
namespace DanielSiepmann\DsSite\UserFunction;
|
||||
|
||||
use Highlight\Highlighter;
|
||||
use TYPO3\CMS\Frontend\ContentObject\ContentObjectRenderer;
|
||||
|
||||
|
|
Loading…
Reference in a new issue