Completed
Push — develop ( cc55eb...d6d5e2 )
by Tim
04:06
created
Classes/Service/ApiCallService.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -62,16 +62,16 @@
 block discarded – undo
62 62
             CURLOPT_HTTPHEADER,
63 63
             array(
64 64
                 'Content-Type: application/json',
65
-                'Content-Length: ' . strlen($data)
65
+                'Content-Length: '.strlen($data)
66 66
             )
67 67
         );
68 68
         $return = curl_exec($ch);
69 69
         $code   = curl_getinfo($ch, CURLINFO_HTTP_CODE);
70 70
 
71
-        if ($code >= 500) {
71
+        if ($code>=500) {
72 72
             throw new UnavailableException('The API could not be reached.');
73 73
         }
74
-        if ($code >= 400) {
74
+        if ($code>=400) {
75 75
             throw new UnavailableException('There has been an error reaching the API.');
76 76
         }
77 77
 
Please login to merge, or discard this patch.
Classes/Persister/ApiResultToCachePersister.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -33,7 +33,7 @@
 block discarded – undo
33 33
      */
34 34
     public function getIdentifier($key)
35 35
     {
36
-        $id = sha1(self::CACHE_ID_PREFIX . $key);
36
+        $id = sha1(self::CACHE_ID_PREFIX.$key);
37 37
         return $id;
38 38
     }
39 39
 }
Please login to merge, or discard this patch.
Classes/Service/ProgressService.php 1 patch
Unused Use Statements   -2 removed lines patch added patch discarded remove patch
@@ -7,8 +7,6 @@
 block discarded – undo
7 7
 
8 8
 
9 9
 use HDNET\OnpageIntegration\Service\AbstractService;
10
-use TYPO3\CMS\Core\Utility\GeneralUtility;
11
-use TYPO3\CMS\Extbase\Utility\DebuggerUtility;
12 10
 
13 11
 class ProgressService extends AbstractService
14 12
 {
Please login to merge, or discard this patch.
Classes/Controller/BackendController.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -38,7 +38,7 @@  discard block
 block discarded – undo
38 38
      */
39 39
     public function SeoAction($call)
40 40
     {
41
-        $apiCallString = 'zoom_' . $call . '_table';
41
+        $apiCallString = 'zoom_'.$call.'_table';
42 42
 
43 43
         $table = $this->loader->load($apiCallString);
44 44
         $this->view->assignMultiple([
@@ -52,7 +52,7 @@  discard block
 block discarded – undo
52 52
      */
53 53
     public function ContentAction($call)
54 54
     {
55
-        $apiCallString = 'zoom_' . $call . '_table';
55
+        $apiCallString = 'zoom_'.$call.'_table';
56 56
 
57 57
         $table = $this->loader->load($apiCallString);
58 58
         $this->view->assignMultiple([
@@ -66,7 +66,7 @@  discard block
 block discarded – undo
66 66
      */
67 67
     public function TechnicalAction($call)
68 68
     {
69
-        $apiCallString = 'zoom_' . $call . '_table';
69
+        $apiCallString = 'zoom_'.$call.'_table';
70 70
 
71 71
         $table = $this->loader->load($apiCallString);
72 72
         $this->view->assignMultiple([
Please login to merge, or discard this patch.
Classes/ViewHelpers/PriorityViewHelper.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -22,7 +22,7 @@
 block discarded – undo
22 22
     public function render($priority)
23 23
     {
24 24
         $html = null;
25
-        for ($i = 0; $i < $priority; $i++) {
25
+        for ($i = 0; $i<$priority; $i++) {
26 26
             $html .= "<span class=\"glyphicon glyphicon-asterisk\"></span>";
27 27
         }
28 28
         return $html;
Please login to merge, or discard this patch.
Classes/Provider/Configuration.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -50,8 +50,8 @@
 block discarded – undo
50 50
     protected function getApiCallsArray()
51 51
     {
52 52
         $this->fileService = GeneralUtility::makeInstance(FileService::class);
53
-        $apiCallData      = $this->fileService->readFile(
54
-            PATH_site . 'typo3conf/ext/onpage_integration/Configuration/ApiCalls.json'
53
+        $apiCallData = $this->fileService->readFile(
54
+            PATH_site.'typo3conf/ext/onpage_integration/Configuration/ApiCalls.json'
55 55
         );
56 56
 
57 57
         return json_decode($apiCallData, true);
Please login to merge, or discard this patch.