Completed
Push — master ( 38aa76...05a33d )
by Fabien
54:10
created
Classes/Controller/UserPreferencesController.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -32,10 +32,10 @@
 block discarded – undo
32 32
 
33 33
         $dataType = $this->getModuleLoader()->getDataType();
34 34
 
35
-        $key = $dataType . '_' . $this->getBackendUserIdentifier() . '_' . $key;
35
+        $key = $dataType.'_'.$this->getBackendUserIdentifier().'_'.$key;
36 36
         $this->getCacheInstance()->set($key, $value, [], 0);
37 37
 
38
-        $key = $dataType . '_' . $this->getBackendUserIdentifier() . '_signature';
38
+        $key = $dataType.'_'.$this->getBackendUserIdentifier().'_signature';
39 39
         $this->getCacheInstance()->set($key, $preferenceSignature, [], 0);
40 40
 
41 41
         return $this->htmlResponse('OK');
Please login to merge, or discard this patch.
Classes/Module/ModuleLoader.php 1 patch
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -193,7 +193,7 @@  discard block
 block discarded – undo
193 193
      */
194 194
     protected function getExistingMainConfiguration(): array
195 195
     {
196
-        $moduleSignature = $this->computeMainModule() . '_' . $this->getInternalModuleSignature();
196
+        $moduleSignature = $this->computeMainModule().'_'.$this->getInternalModuleSignature();
197 197
         return $GLOBALS['TBE_MODULES']['_configuration'][$moduleSignature] ?? [];
198 198
     }
199 199
 
@@ -315,7 +315,7 @@  discard block
 block discarded – undo
315 315
             ExtensionUtility::registerModule(
316 316
                 'Vidi',
317 317
                 $this->computeMainModule(),
318
-                $this->dataType . '_' . $this->moduleKey,
318
+                $this->dataType.'_'.$this->moduleKey,
319 319
                 $this->position,
320 320
                 [
321 321
                     ContentController::class => 'index, list, delete, update, edit, copy, move, localize, sort, copyClipboard, moveClipboard',
@@ -378,7 +378,7 @@  discard block
 block discarded – undo
378 378
      */
379 379
     public function getParameterPrefix(): string
380 380
     {
381
-        return 'tx_vidi_' . strtolower($this->getSignature());
381
+        return 'tx_vidi_'.strtolower($this->getSignature());
382 382
     }
383 383
 
384 384
     /**
@@ -1031,10 +1031,10 @@  discard block
 block discarded – undo
1031 1031
         if ($dataType === null) {
1032 1032
             $dataType = $this->dataType;
1033 1033
         }
1034
-        $subModuleName = $dataType . '_' . $this->moduleKey;
1034
+        $subModuleName = $dataType.'_'.$this->moduleKey;
1035 1035
 
1036 1036
         $mainModule = $this->mainModule ?: self::DEFAULT_MAIN_MODULE;
1037
-        return $mainModule . '_Vidi' . GeneralUtility::underscoredToUpperCamelCase($subModuleName);
1037
+        return $mainModule.'_Vidi'.GeneralUtility::underscoredToUpperCamelCase($subModuleName);
1038 1038
     }
1039 1039
 
1040 1040
 }
Please login to merge, or discard this patch.
Classes/Grid/ColumnRendererAbstract.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -61,7 +61,7 @@  discard block
 block discarded – undo
61 61
     {
62 62
         if (is_string($configuration)) {
63 63
             $configuration = $legacyParameterConfiguration;
64
-            trigger_error('ColumnRendererAbstract: first parameter must now be an array. Please edit me in ' . get_class($this), E_USER_DEPRECATED);
64
+            trigger_error('ColumnRendererAbstract: first parameter must now be an array. Please edit me in '.get_class($this), E_USER_DEPRECATED);
65 65
         }
66 66
         $this->configuration = $configuration;
67 67
     }
@@ -174,7 +174,7 @@  discard block
 block discarded – undo
174 174
      * @see http://www.php.net/manual/function.htmlentities.php
175 175
      * @api
176 176
      */
177
-    protected function secure($value , $keepQuotes = false, $encoding = 'UTF-8')
177
+    protected function secure($value, $keepQuotes = false, $encoding = 'UTF-8')
178 178
     {
179 179
         $flags = $keepQuotes ? ENT_NOQUOTES : ENT_COMPAT;
180 180
         return htmlspecialchars($value, $flags, $encoding);
Please login to merge, or discard this patch.
Classes/Grid/VisibilityRenderer.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -44,7 +44,7 @@
 block discarded – undo
44 44
                 ->setDataAttributes([
45 45
                     'toggle' => 'tooltip',
46 46
                 ])
47
-                ->setTitle($this->getLabelService()->sL('LLL:EXT:core/Resources/Private/Language/locallang_mod_web_list.xlf:' . $label))
47
+                ->setTitle($this->getLabelService()->sL('LLL:EXT:core/Resources/Private/Language/locallang_mod_web_list.xlf:'.$label))
48 48
                 ->setIcon($this->getIconFactory()->getIcon($spriteName, Icon::SIZE_SMALL))
49 49
                 ->render();
50 50
         }
Please login to merge, or discard this patch.
Classes/Utility/BackendUtility.php 1 patch
Spacing   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -46,8 +46,8 @@  discard block
 block discarded – undo
46 46
         $expressionBuilder = GeneralUtility::makeInstance(ConnectionPool::class)
47 47
             ->getQueryBuilderForTable($table)
48 48
             ->expr();
49
-        return $withLogicalSeparator . ' ' . $expressionBuilder->eq(
50
-                $table . '.' . $GLOBALS['TCA'][$table]['ctrl']['delete'],
49
+        return $withLogicalSeparator.' '.$expressionBuilder->eq(
50
+                $table.'.'.$GLOBALS['TCA'][$table]['ctrl']['delete'],
51 51
                 0
52 52
             );
53 53
     }
@@ -73,12 +73,12 @@  discard block
 block discarded – undo
73 73
         if (is_array($ctrl)) {
74 74
             if (is_array($ctrl['enablecolumns'])) {
75 75
                 if ($ctrl['enablecolumns']['disabled'] ?? false) {
76
-                    $field = $table . '.' . $ctrl['enablecolumns']['disabled'];
76
+                    $field = $table.'.'.$ctrl['enablecolumns']['disabled'];
77 77
                     $query->add($expressionBuilder->eq($field, 0));
78 78
                     $invQuery->add($expressionBuilder->neq($field, 0));
79 79
                 }
80 80
                 if ($ctrl['enablecolumns']['starttime'] ?? false) {
81
-                    $field = $table . '.' . $ctrl['enablecolumns']['starttime'];
81
+                    $field = $table.'.'.$ctrl['enablecolumns']['starttime'];
82 82
                     $query->add($expressionBuilder->lte($field, (int)GeneralUtility::makeInstance(Context::class)->getPropertyFromAspect('date', 'timestamp')));
83 83
                     $invQuery->add(
84 84
                         $expressionBuilder->andX(
@@ -88,7 +88,7 @@  discard block
 block discarded – undo
88 88
                     );
89 89
                 }
90 90
                 if ($ctrl['enablecolumns']['endtime'] ?? false) {
91
-                    $field = $table . '.' . $ctrl['enablecolumns']['endtime'];
91
+                    $field = $table.'.'.$ctrl['enablecolumns']['endtime'];
92 92
                     $query->add(
93 93
                         $expressionBuilder->orX(
94 94
                             $expressionBuilder->eq($field, 0),
@@ -109,7 +109,7 @@  discard block
 block discarded – undo
109 109
             return '';
110 110
         }
111 111
 
112
-        return ' AND ' . ($inv ? $invQuery : $query);
112
+        return ' AND '.($inv ? $invQuery : $query);
113 113
     }
114 114
 
115 115
     /**
Please login to merge, or discard this patch.
ext_localconf.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -5,7 +5,7 @@
 block discarded – undo
5 5
 use TYPO3\CMS\Core\Cache\Frontend\VariableFrontend;
6 6
 defined('TYPO3') or die();
7 7
 
8
-call_user_func(function () {
8
+call_user_func(function() {
9 9
 
10 10
     $configuration = GeneralUtility::makeInstance(
11 11
         ExtensionConfiguration::class
Please login to merge, or discard this patch.