Completed
Push — master ( d18f16...a68a2b )
by Tim
11s
created
Classes/Utility/JsonServer.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -53,7 +53,7 @@
 block discarded – undo
53 53
         list($namespace, $method) = self::getNamespaceAndMethod($namespace, $methodRaw);
54 54
         $singleJsonRequest['method'] = $method;
55 55
 
56
-        $server = new JsonServerService($namespace, (bool) GeneralUtility::_GP('smd'));
56
+        $server = new JsonServerService($namespace, (bool)GeneralUtility::_GP('smd'));
57 57
 
58 58
         $request = new Request();
59 59
         $request->setOptions($singleJsonRequest);
Please login to merge, or discard this patch.
Classes/Utility/ModelUtility.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -37,7 +37,7 @@  discard block
 block discarded – undo
37 37
      */
38 38
     public static function getTableNameByModelReflectionAnnotation($modelClassName)
39 39
     {
40
-        return (string) ReflectionUtility::getFirstTagValue($modelClassName, 'db');
40
+        return (string)ReflectionUtility::getFirstTagValue($modelClassName, 'db');
41 41
     }
42 42
 
43 43
     /**
@@ -81,7 +81,7 @@  discard block
 block discarded – undo
81 81
      */
82 82
     public static function getSmartExcludesByModelName($name)
83 83
     {
84
-        return GeneralUtility::trimExplode(',', (string) ReflectionUtility::getFirstTagValue($name, 'smartExclude'), true);
84
+        return GeneralUtility::trimExplode(',', (string)ReflectionUtility::getFirstTagValue($name, 'smartExclude'), true);
85 85
     }
86 86
 
87 87
     /**
Please login to merge, or discard this patch.
Classes/Utility/TranslateUtility.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -40,7 +40,7 @@
 block discarded – undo
40 40
             }
41 41
         }
42 42
 
43
-        return (string) $default;
43
+        return (string)$default;
44 44
     }
45 45
 
46 46
     /**
Please login to merge, or discard this patch.
Classes/SmartObjectManager.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -57,7 +57,7 @@
 block discarded – undo
57 57
             $return = false;
58 58
         } else {
59 59
             $classReflection = ReflectionUtility::createReflectionClass($className);
60
-            $return = !(bool) (!$classReflection->isInstantiable() || !$classReflection->isTaggedWith('db'));
60
+            $return = !(bool)(!$classReflection->isInstantiable() || !$classReflection->isTaggedWith('db'));
61 61
         }
62 62
 
63 63
         // if ($registerAutoLoader) {
Please login to merge, or discard this patch.
Classes/Hooks/ElementBackendPreview.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -27,7 +27,7 @@  discard block
 block discarded – undo
27 27
      * @param string         $itemContent   Item content
28 28
      * @param array          $row           Record row of tt_content
29 29
      */
30
-    public function preProcess(PageLayoutView &$parentObject, &$drawItem, &$headerContent, &$itemContent, array &$row)
30
+    public function preProcess(PageLayoutView&$parentObject, &$drawItem, &$headerContent, &$itemContent, array &$row)
31 31
     {
32 32
         if (!$this->isAutoloaderContenobject($row)) {
33 33
             return;
@@ -107,6 +107,6 @@  discard block
 block discarded – undo
107 107
     {
108 108
         $ctype = $row['CType'];
109 109
 
110
-        return (bool) $GLOBALS['TYPO3_CONF_VARS']['AUTOLOADER']['ContentObject'][$ctype];
110
+        return (bool)$GLOBALS['TYPO3_CONF_VARS']['AUTOLOADER']['ContentObject'][$ctype];
111 111
     }
112 112
 }
Please login to merge, or discard this patch.
Classes/Hooks/ClearCache.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -60,7 +60,7 @@  discard block
 block discarded – undo
60 60
             return '';
61 61
         }
62 62
 
63
-        return (string) $uri;
63
+        return (string)$uri;
64 64
     }
65 65
 
66 66
     /**
@@ -93,9 +93,9 @@  discard block
 block discarded – undo
93 93
      */
94 94
     protected function isAlwaysActivated()
95 95
     {
96
-        $configuration = unserialize((string) $GLOBALS['TYPO3_CONF_VARS']['EXT']['extConf']['autoloader']);
96
+        $configuration = unserialize((string)$GLOBALS['TYPO3_CONF_VARS']['EXT']['extConf']['autoloader']);
97 97
 
98
-        return isset($configuration['enableAutoloaderClearCacheInProduction']) ? (bool) $configuration['enableAutoloaderClearCacheInProduction'] : false;
98
+        return isset($configuration['enableAutoloaderClearCacheInProduction']) ? (bool)$configuration['enableAutoloaderClearCacheInProduction'] : false;
99 99
     }
100 100
 
101 101
     /**
Please login to merge, or discard this patch.
Classes/Service/JsonServer.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -51,7 +51,7 @@
 block discarded – undo
51 51
             $this->serverClass = $GLOBALS['TYPO3_CONF_VARS']['AUTOLOADER']['Json'][$server];
52 52
         }
53 53
 
54
-        $this->renderSmd = (bool) $smd;
54
+        $this->renderSmd = (bool)$smd;
55 55
     }
56 56
 
57 57
     /**
Please login to merge, or discard this patch.
Classes/Service/SoapServer.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -47,7 +47,7 @@  discard block
 block discarded – undo
47 47
         if (isset($GLOBALS['TYPO3_CONF_VARS']['AUTOLOADER']['Soap'][$server])) {
48 48
             $this->serverClass = $GLOBALS['TYPO3_CONF_VARS']['AUTOLOADER']['Soap'][$server];
49 49
         }
50
-        $this->renderWsdl = (bool) $wsdl;
50
+        $this->renderWsdl = (bool)$wsdl;
51 51
     }
52 52
 
53 53
     /**
@@ -119,7 +119,7 @@  discard block
 block discarded – undo
119 119
     protected function getServiceUri()
120 120
     {
121 121
         $uri = GeneralUtility::getIndpEnv('TYPO3_REQUEST_URL');
122
-        $parts = (array) parse_url($uri);
122
+        $parts = (array)parse_url($uri);
123 123
         $parts['query'] = 'eID=SoapServer&server=' . $this->serverKey;
124 124
 
125 125
         return HttpUtility::buildUrl($parts);
Please login to merge, or discard this patch.
Classes/Service/SmartObjectInformationService.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -255,7 +255,7 @@  discard block
 block discarded – undo
255 255
                 'name' => GeneralUtility::camelCaseToLowerCaseUnderscored($property->getName()),
256 256
                 'db' => trim($dbInformation[0]),
257 257
                 'var' => trim($var),
258
-                'rte' => (bool) $property->isTaggedWith('enableRichText'),
258
+                'rte' => (bool)$property->isTaggedWith('enableRichText'),
259 259
             ];
260 260
         }
261 261
 
@@ -318,7 +318,7 @@  discard block
 block discarded – undo
318 318
         $classReflection = ReflectionUtility::createReflectionClass($modelClassName);
319 319
         if ($classReflection->isTaggedWith('key')) {
320 320
             $additionalKeys = $classReflection->getTagValues('key');
321
-            array_walk($additionalKeys, function (&$item) {
321
+            array_walk($additionalKeys, function(&$item) {
322 322
                 $item = 'KEY ' . $item;
323 323
             });
324 324
             $fields = array_merge($fields, $additionalKeys);
Please login to merge, or discard this patch.