Passed
Push — develop ( 2034bd...9f3808 )
by Michael
01:32
created
conf/metadata.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -5,5 +5,5 @@
 block discarded – undo
5 5
  * @author Michael Große <[email protected]>
6 6
  */
7 7
 
8
-$meta['service']  = array('multichoice','_choices' => array('IFTTT','Zapier'));
8
+$meta['service'] = array('multichoice', '_choices' => array('IFTTT', 'Zapier'));
9 9
 $meta['hook_secret'] = array('password');
Please login to merge, or discard this patch.
_test/ZapierHandlePayload.test.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -13,7 +13,7 @@
 block discarded – undo
13 13
     /** @var array alway enable the needed plugins */
14 14
     protected $pluginsEnabled = ['swarmwebhook', 'struct', 'sqlite'];
15 15
 
16
-    function setUp(){
16
+    function setUp() {
17 17
         global $conf;
18 18
 
19 19
         parent::setUp();
Please login to merge, or discard this patch.
webhooks/IFTTT.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -159,9 +159,9 @@
 block discarded – undo
159 159
             dbglog(DateTime::getLastErrors());
160 160
             $dateTime = new DateTime('now');
161 161
         }
162
-        $guessedOffset = round(($dateTime->getTimestamp() - $nowTS)/3600)*100;
162
+        $guessedOffset = round(($dateTime->getTimestamp() - $nowTS) / 3600) * 100;
163 163
         $sign = $guessedOffset > 0 ? '+' : '';
164 164
 
165
-        return $sign . (string)$guessedOffset;
165
+        return $sign . (string) $guessedOffset;
166 166
     }
167 167
 }
Please login to merge, or discard this patch.