Test Failed
Branch master (137376)
by Tymoteusz
20:39
created
typo3/sysext/backend/Classes/Controller/ContextMenuController.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,5 +1,5 @@
 block discarded – undo
1 1
 <?php
2
-declare(strict_types=1);
2
+declare(strict_types = 1);
3 3
 namespace TYPO3\CMS\Backend\Controller;
4 4
 
5 5
 /*
Please login to merge, or discard this patch.
typo3/sysext/backend/Classes/ContextMenu/ContextMenu.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -1,5 +1,5 @@  discard block
 block discarded – undo
1 1
 <?php
2
-declare(strict_types=1);
2
+declare(strict_types = 1);
3 3
 namespace TYPO3\CMS\Backend\ContextMenu;
4 4
 
5 5
 /*
@@ -39,7 +39,7 @@  discard block
 block discarded – undo
39 39
      * @param string $context
40 40
      * @return array
41 41
      */
42
-    public function getItems(string $table, string $identifier, string $context=''): array
42
+    public function getItems(string $table, string $identifier, string $context = ''): array
43 43
     {
44 44
         $items = [];
45 45
         $itemsProviders = $this->getAvailableProviders($table, $identifier, $context);
Please login to merge, or discard this patch.
sysext/backend/Classes/ContextMenu/ItemProviders/ProviderInterface.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,5 +1,5 @@
 block discarded – undo
1 1
 <?php
2
-declare(strict_types=1);
2
+declare(strict_types = 1);
3 3
 namespace TYPO3\CMS\Backend\ContextMenu\ItemProviders;
4 4
 
5 5
 /*
Please login to merge, or discard this patch.
typo3/sysext/backend/Classes/ContextMenu/ItemProviders/AbstractProvider.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -1,5 +1,5 @@  discard block
 block discarded – undo
1 1
 <?php
2
-declare(strict_types=1);
2
+declare(strict_types = 1);
3 3
 namespace TYPO3\CMS\Backend\ContextMenu\ItemProviders;
4 4
 
5 5
 /*
@@ -86,7 +86,7 @@  discard block
 block discarded – undo
86 86
      * @param string $identifier
87 87
      * @param string $context
88 88
      */
89
-    public function __construct(string $table, string $identifier, string $context='')
89
+    public function __construct(string $table, string $identifier, string $context = '')
90 90
     {
91 91
         $this->table = $table;
92 92
         $this->identifier = $identifier;
@@ -143,7 +143,7 @@  discard block
 block discarded – undo
143 143
      */
144 144
     protected function initDisabledItems()
145 145
     {
146
-        $TSkey = $this->table . ($this->context ?  '.' . $this->context : '');
146
+        $TSkey = $this->table . ($this->context ? '.' . $this->context : '');
147 147
         $this->disabledItems = GeneralUtility::trimExplode(',', $this->backendUser->getTSConfigVal('options.contextMenu.table.' . $TSkey . '.disableItems'), true);
148 148
     }
149 149
 
Please login to merge, or discard this patch.
typo3/sysext/backend/Classes/ContextMenu/ItemProviders/RecordProvider.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -1,5 +1,5 @@  discard block
 block discarded – undo
1 1
 <?php
2
-declare(strict_types=1);
2
+declare(strict_types = 1);
3 3
 namespace TYPO3\CMS\Backend\ContextMenu\ItemProviders;
4 4
 
5 5
 /*
@@ -487,7 +487,7 @@  discard block
 block discarded – undo
487 487
     protected function canBeDeleted(): bool
488 488
     {
489 489
         $disableDeleteTS = $this->backendUser->getTSConfig('options.disableDelete');
490
-        $disableDelete = (bool) trim(isset($disableDeleteTS['properties'][$this->table]) ? $disableDeleteTS['properties'][$this->table] : (string)$disableDeleteTS['value']);
490
+        $disableDelete = (bool)trim(isset($disableDeleteTS['properties'][$this->table]) ? $disableDeleteTS['properties'][$this->table] : (string)$disableDeleteTS['value']);
491 491
         return !$disableDelete && $this->canBeEdited();
492 492
     }
493 493
 
Please login to merge, or discard this patch.
typo3/sysext/impexp/Classes/ContextMenu/ItemProvider.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,5 +1,5 @@
 block discarded – undo
1 1
 <?php
2
-declare(strict_types=1);
2
+declare(strict_types = 1);
3 3
 namespace TYPO3\CMS\Impexp\ContextMenu;
4 4
 
5 5
 /*
Please login to merge, or discard this patch.
typo3/sysext/beuser/Classes/ContextMenu/ItemProvider.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,5 +1,5 @@
 block discarded – undo
1 1
 <?php
2
-declare(strict_types=1);
2
+declare(strict_types = 1);
3 3
 namespace TYPO3\CMS\Beuser\ContextMenu;
4 4
 
5 5
 /*
Please login to merge, or discard this patch.
typo3/sysext/filelist/Classes/ContextMenu/ItemProviders/FileProvider.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,5 +1,5 @@
 block discarded – undo
1 1
 <?php
2
-declare(strict_types=1);
2
+declare(strict_types = 1);
3 3
 namespace TYPO3\CMS\Filelist\ContextMenu\ItemProviders;
4 4
 
5 5
 /*
Please login to merge, or discard this patch.
typo3/sysext/backend/Classes/ContextMenu/ItemProviders/PageProvider.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,5 +1,5 @@
 block discarded – undo
1 1
 <?php
2
-declare(strict_types=1);
2
+declare(strict_types = 1);
3 3
 namespace TYPO3\CMS\Backend\ContextMenu\ItemProviders;
4 4
 
5 5
 /*
Please login to merge, or discard this patch.