Passed
Branch master (c87ba8)
by Christian
16:02
created
typo3/sysext/core/Classes/Database/Driver/PDOPgSql/Driver.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -43,7 +43,7 @@
 block discarded – undo
43 43
 
44 44
             if (defined('PDO::PGSQL_ATTR_DISABLE_PREPARES')
45 45
                 && (
46
-                    ! isset($driverOptions[PDO::PGSQL_ATTR_DISABLE_PREPARES])
46
+                    !isset($driverOptions[PDO::PGSQL_ATTR_DISABLE_PREPARES])
47 47
                     || $driverOptions[PDO::PGSQL_ATTR_DISABLE_PREPARES] === true
48 48
                 )
49 49
             ) {
Please login to merge, or discard this patch.
typo3/sysext/core/Classes/Database/Driver/PDOStatement.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -32,7 +32,7 @@
 block discarded – undo
32 32
     {
33 33
         if (is_array($record)) {
34 34
             return array_map(
35
-                static function ($value) {
35
+                static function($value) {
36 36
                     if (is_resource($value)) {
37 37
                         $value = stream_get_contents($value);
38 38
                     }
Please login to merge, or discard this patch.
typo3/sysext/core/Classes/Crypto/PasswordHashing/PasswordHashFactory.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -109,7 +109,7 @@
 block discarded – undo
109 109
                 1533820194
110 110
             );
111 111
         }
112
-        $hashInstance =  GeneralUtility::makeInstance($defaultHashClassName, $defaultHashOptions);
112
+        $hashInstance = GeneralUtility::makeInstance($defaultHashClassName, $defaultHashOptions);
113 113
         if (!$hashInstance instanceof PasswordHashInterface) {
114 114
             throw new \LogicException(
115 115
                 'Configured default hash method ' . $defaultHashClassName . ' is not an instance of PasswordHashInterface',
Please login to merge, or discard this patch.
typo3/sysext/core/Classes/DataHandling/SlugHelper.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -564,7 +564,7 @@
 block discarded – undo
564 564
 
565 565
         return array_filter(
566 566
             array_map(
567
-                function (array $record) {
567
+                function(array $record) {
568 568
                     BackendUtility::workspaceOL(
569 569
                         $this->tableName,
570 570
                         $record,
Please login to merge, or discard this patch.
typo3/sysext/core/Classes/DataHandling/Model/RecordStateFactory.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -100,7 +100,7 @@
 block discarded – undo
100 100
     protected function resolveAspectFieldValues(array $data): array
101 101
     {
102 102
         return array_map(
103
-            function ($aspectFieldName) use ($data) {
103
+            function($aspectFieldName) use ($data) {
104 104
                 return (int)($data[$aspectFieldName] ?? 0);
105 105
             },
106 106
             $this->resolveAspectFieldNames()
Please login to merge, or discard this patch.
typo3/sysext/core/Classes/DataHandling/PlaceholderShadowColumnsResolver.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -121,7 +121,7 @@
 block discarded – undo
121 121
 
122 122
         $shadowColumns = array_filter(
123 123
             array_map('trim', $shadowColumns),
124
-            function (string $shadowColumn) {
124
+            function(string $shadowColumn) {
125 125
                 return !empty($shadowColumn) && $shadowColumn !== 'uid' && $shadowColumn !== 'pid'
126 126
                     && isset($this->tableConfiguration['columns'][$shadowColumn]);
127 127
             }
Please login to merge, or discard this patch.
typo3/sysext/core/Classes/Context/LanguageAspect.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -73,10 +73,10 @@
 block discarded – undo
73 73
      */
74 74
     protected $overlayType;
75 75
 
76
-    public const OVERLAYS_OFF = 'off';  // config.sys_language_overlay = 0
77
-    public const OVERLAYS_MIXED = 'mixed';  // config.sys_language_overlay = 1 (keep the ones that are only available in default language)
78
-    public const OVERLAYS_ON = 'on';    // "hideNonTranslated"
79
-    public const OVERLAYS_ON_WITH_FLOATING = 'includeFloating';    // "hideNonTranslated" + records that are only available in polish
76
+    public const OVERLAYS_OFF = 'off'; // config.sys_language_overlay = 0
77
+    public const OVERLAYS_MIXED = 'mixed'; // config.sys_language_overlay = 1 (keep the ones that are only available in default language)
78
+    public const OVERLAYS_ON = 'on'; // "hideNonTranslated"
79
+    public const OVERLAYS_ON_WITH_FLOATING = 'includeFloating'; // "hideNonTranslated" + records that are only available in polish
80 80
 
81 81
     /**
82 82
      * Create the default language
Please login to merge, or discard this patch.
typo3/sysext/core/Classes/EventDispatcher/ListenerProvider.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -102,7 +102,7 @@
 block discarded – undo
102 102
         $target = $this->container->get($service);
103 103
         if ($method !== null) {
104 104
             // Dispatch to configured method name instead of __invoke()
105
-            $target = [ $target, $method ];
105
+            $target = [$target, $method];
106 106
         }
107 107
 
108 108
         if (!is_callable($target)) {
Please login to merge, or discard this patch.
typo3/sysext/core/Classes/Configuration/FlexForm/FlexFormTools.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -779,7 +779,7 @@
 block discarded – undo
779 779
         try {
780 780
             $dataStructureIdentifier = $this->getDataStructureIdentifier($GLOBALS['TCA'][$table]['columns'][$field], $table, $field, $row);
781 781
             $dataStructureArray = $this->parseDataStructureByIdentifier($dataStructureIdentifier);
782
-        } catch (InvalidParentRowException|InvalidParentRowLoopException|InvalidParentRowRootException|InvalidPointerFieldValueException|InvalidIdentifierException $e) {
782
+        } catch (InvalidParentRowException | InvalidParentRowLoopException | InvalidParentRowRootException | InvalidPointerFieldValueException | InvalidIdentifierException $e) {
783 783
         }
784 784
 
785 785
         // Get flexform XML data
Please login to merge, or discard this patch.