Passed
Pull Request — master (#8)
by Mark
07:01 queued 05:46
created
_test/general.test.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -30,7 +30,7 @@
 block discarded – undo
30 30
      * Simple test to make sure the plugin.info.txt is in correct format
31 31
      */
32 32
     public function test_plugininfo() {
33
-        $file = __DIR__ . '/../plugin.info.txt';
33
+        $file = __DIR__.'/../plugin.info.txt';
34 34
         $this->assertFileExists($file);
35 35
 
36 36
         $info = confToHash($file);
Please login to merge, or discard this patch.
helper.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -18,7 +18,7 @@
 block discarded – undo
18 18
  *
19 19
  */
20 20
 
21
-require_once __DIR__ . '/vendor/autoload.php';
21
+require_once __DIR__.'/vendor/autoload.php';
22 22
 
23 23
 /**
24 24
  * DokuWiki Plugin geophp (Helper Component). This pseudohelper provides access to geoPHP.
Please login to merge, or discard this patch.
_test/geophp.test.php 1 patch
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -33,8 +33,8 @@  discard block
 block discarded – undo
33 33
         $conf['allowdebug'] = 1;
34 34
         $conf['cachetime']  = -1;
35 35
 
36
-        if($conf['allowdebug']) {
37
-            touch(DOKU_TMP_DATA . 'cache/debug.log');
36
+        if ($conf['allowdebug']) {
37
+            touch(DOKU_TMP_DATA.'cache/debug.log');
38 38
         }
39 39
 
40 40
         plugin_load('helper', 'geophp');
@@ -51,10 +51,10 @@  discard block
 block discarded – undo
51 51
 
52 52
         global $conf;
53 53
         // try to get the debug log after running the test, print and clear
54
-        if($conf['allowdebug']) {
54
+        if ($conf['allowdebug']) {
55 55
             print "\n";
56
-            readfile(DOKU_TMP_DATA . 'cache/debug.log');
57
-            unlink(DOKU_TMP_DATA . 'cache/debug.log');
56
+            readfile(DOKU_TMP_DATA.'cache/debug.log');
57
+            unlink(DOKU_TMP_DATA.'cache/debug.log');
58 58
         }
59 59
     }
60 60
 }
Please login to merge, or discard this patch.
action.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -20,7 +20,7 @@  discard block
 block discarded – undo
20 20
 
21 21
 use Composer\InstalledVersions;
22 22
 
23
-require_once __DIR__ . '/vendor/autoload.php';
23
+require_once __DIR__.'/vendor/autoload.php';
24 24
 
25 25
 /**
26 26
  * DokuWiki Plugin geophp (Action Component).
@@ -50,6 +50,6 @@  discard block
 block discarded – undo
50 50
         $event->data['geophp']['version']         = $plugin_info['date'];
51 51
         $event->data['geophp']['geophp']          = $geoPHP;
52 52
         $event->data['geophp']['dwversion']       = $updateVersion;
53
-        $event->data['geophp']['combinedversion'] = $updateVersion . '_' . $plugin_info['date'] . '_' . $geoPHP;
53
+        $event->data['geophp']['combinedversion'] = $updateVersion.'_'.$plugin_info['date'].'_'.$geoPHP;
54 54
     }
55 55
 }
56 56
\ No newline at end of file
Please login to merge, or discard this patch.