Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
S
sg_vimeo
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Model registry
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
TYPO3
sg_vimeo
Commits
9ac16060
Commit
9ac16060
authored
2 years ago
by
Matthias Adrowski
Browse files
Options
Downloads
Patches
Plain Diff
[TASK] Cleanup, port back to php 7.3
parent
916bfd38
No related branches found
Branches containing commit
Tags
2.1.7
Tags containing commit
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
Classes/Hooks/PageLayoutView/PluginRenderer.php
+6
-3
6 additions, 3 deletions
Classes/Hooks/PageLayoutView/PluginRenderer.php
Classes/Preview/PreviewRenderer.php
+5
-5
5 additions, 5 deletions
Classes/Preview/PreviewRenderer.php
ext_emconf.php
+1
-1
1 addition, 1 deletion
ext_emconf.php
with
12 additions
and
9 deletions
Classes/Hooks/PageLayoutView/PluginRenderer.php
+
6
−
3
View file @
9ac16060
...
...
@@ -20,13 +20,12 @@ namespace SGalinski\SgVimeo\Hooks\PageLayoutView;
* This copyright notice MUST APPEAR in all copies of the script!
***************************************************************/
use
SGalinski\Sg
Teaser
\Preview\PreviewService
;
use
SGalinski\Sg
Vimeo
\Preview\PreviewService
;
use
TYPO3\CMS\Backend\Utility\BackendUtility
;
use
TYPO3\CMS\Backend\View\PageLayoutView
;
use
TYPO3\CMS\Backend\View\PageLayoutViewDrawItemHookInterface
;
use
TYPO3\CMS\Core\Localization\LanguageService
;
use
TYPO3\CMS\Core\Utility\GeneralUtility
;
use
TYPO3\CMS\Fluid\View\StandaloneView
;
/**
* Class PluginRenderer
...
...
@@ -36,7 +35,11 @@ use TYPO3\CMS\Fluid\View\StandaloneView;
* @deprecated All of this class will be removed when PageLayoutView support is dropped
*/
class
PluginRenderer
implements
PageLayoutViewDrawItemHookInterface
{
protected
PreviewService
$previewService
;
/**
* @var PreviewService
*/
protected
$previewService
;
public
function
init
()
{
$this
->
previewService
=
GeneralUtility
::
makeInstance
(
PreviewService
::
class
);
...
...
This diff is collapsed.
Click to expand it.
Classes/Preview/PreviewRenderer.php
+
5
−
5
View file @
9ac16060
...
...
@@ -21,19 +21,19 @@
namespace
SGalinski\SgVimeo\Preview
;
use
TYPO3\CMS\Backend\Preview\PreviewRendererInterface
;
use
TYPO3\CMS\Backend\Utility\BackendUtility
;
use
TYPO3\CMS\Backend\View\BackendLayout\Grid\GridColumnItem
;
use
TYPO3\CMS\Core\Localization\LanguageService
;
use
TYPO3\CMS\Core\Utility\GeneralUtility
;
use
TYPO3\CMS\Fluid\View\StandaloneView
;
class
PreviewRenderer
implements
PreviewRendererInterface
{
/**
* @var LanguageService $languageService
*/
protected
LanguageService
$languageService
;
protected
$languageService
;
protected
PreviewService
$previewService
;
/**
* @var PreviewService
*/
protected
$previewService
;
public
function
__construct
(
LanguageService
$languageService
,
PreviewService
$previewService
)
{
$this
->
languageService
=
$languageService
;
...
...
This diff is collapsed.
Click to expand it.
ext_emconf.php
+
1
−
1
View file @
9ac16060
...
...
@@ -40,7 +40,7 @@ $EM_CONF['sg_vimeo'] = [
'constraints'
=>
[
'depends'
=>
[
'typo3'
=>
'10.4.0-11.5.99'
,
'php'
=>
'7.
4
.0-8.1.99'
,
'php'
=>
'7.
3
.0-8.1.99'
,
],
'conflicts'
=>
[],
'suggests'
=>
[],
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment