Passed
Pull Request — master (#4)
by Mark
01:39
created
vendor/composer/autoload_static.php 1 patch
Spacing   +8 added lines, -8 removed lines patch added patch discarded remove patch
@@ -6,27 +6,27 @@
 block discarded – undo
6 6
 
7 7
 class ComposerStaticInit8c920a9ce68d92f821701ab2e03316d3
8 8
 {
9
-    public static $prefixLengthsPsr4 = array (
9
+    public static $prefixLengthsPsr4 = array(
10 10
         'g' => 
11
-        array (
11
+        array(
12 12
             'geoPHP\\' => 7,
13 13
         ),
14 14
     );
15 15
 
16
-    public static $prefixDirsPsr4 = array (
16
+    public static $prefixDirsPsr4 = array(
17 17
         'geoPHP\\' => 
18
-        array (
19
-            0 => __DIR__ . '/..' . '/funiq/geophp/src',
18
+        array(
19
+            0 => __DIR__.'/..'.'/funiq/geophp/src',
20 20
         ),
21 21
     );
22 22
 
23
-    public static $classMap = array (
24
-        'Composer\\InstalledVersions' => __DIR__ . '/..' . '/composer/InstalledVersions.php',
23
+    public static $classMap = array(
24
+        'Composer\\InstalledVersions' => __DIR__.'/..'.'/composer/InstalledVersions.php',
25 25
     );
26 26
 
27 27
     public static function getInitializer(ClassLoader $loader)
28 28
     {
29
-        return \Closure::bind(function () use ($loader) {
29
+        return \Closure::bind(function() use ($loader) {
30 30
             $loader->prefixLengthsPsr4 = ComposerStaticInit8c920a9ce68d92f821701ab2e03316d3::$prefixLengthsPsr4;
31 31
             $loader->prefixDirsPsr4 = ComposerStaticInit8c920a9ce68d92f821701ab2e03316d3::$prefixDirsPsr4;
32 32
             $loader->classMap = ComposerStaticInit8c920a9ce68d92f821701ab2e03316d3::$classMap;
Please login to merge, or discard this patch.
vendor/composer/autoload_psr4.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -6,5 +6,5 @@
 block discarded – undo
6 6
 $baseDir = dirname($vendorDir);
7 7
 
8 8
 return array(
9
-    'geoPHP\\' => array($vendorDir . '/funiq/geophp/src'),
9
+    'geoPHP\\' => array($vendorDir.'/funiq/geophp/src'),
10 10
 );
Please login to merge, or discard this patch.
vendor/composer/autoload_real.php 1 patch
Spacing   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -9,7 +9,7 @@  discard block
 block discarded – undo
9 9
     public static function loadClassLoader($class)
10 10
     {
11 11
         if ('Composer\Autoload\ClassLoader' === $class) {
12
-            require __DIR__ . '/ClassLoader.php';
12
+            require __DIR__.'/ClassLoader.php';
13 13
         }
14 14
     }
15 15
 
@@ -22,7 +22,7 @@  discard block
 block discarded – undo
22 22
             return self::$loader;
23 23
         }
24 24
 
25
-        require __DIR__ . '/platform_check.php';
25
+        require __DIR__.'/platform_check.php';
26 26
 
27 27
         spl_autoload_register(array('ComposerAutoloaderInit8c920a9ce68d92f821701ab2e03316d3', 'loadClassLoader'), true, true);
28 28
         self::$loader = $loader = new \Composer\Autoload\ClassLoader(\dirname(\dirname(__FILE__)));
@@ -30,21 +30,21 @@  discard block
 block discarded – undo
30 30
 
31 31
         $useStaticLoader = PHP_VERSION_ID >= 50600 && !defined('HHVM_VERSION') && (!function_exists('zend_loader_file_encoded') || !zend_loader_file_encoded());
32 32
         if ($useStaticLoader) {
33
-            require __DIR__ . '/autoload_static.php';
33
+            require __DIR__.'/autoload_static.php';
34 34
 
35 35
             call_user_func(\Composer\Autoload\ComposerStaticInit8c920a9ce68d92f821701ab2e03316d3::getInitializer($loader));
36 36
         } else {
37
-            $map = require __DIR__ . '/autoload_namespaces.php';
37
+            $map = require __DIR__.'/autoload_namespaces.php';
38 38
             foreach ($map as $namespace => $path) {
39 39
                 $loader->set($namespace, $path);
40 40
             }
41 41
 
42
-            $map = require __DIR__ . '/autoload_psr4.php';
42
+            $map = require __DIR__.'/autoload_psr4.php';
43 43
             foreach ($map as $namespace => $path) {
44 44
                 $loader->setPsr4($namespace, $path);
45 45
             }
46 46
 
47
-            $classMap = require __DIR__ . '/autoload_classmap.php';
47
+            $classMap = require __DIR__.'/autoload_classmap.php';
48 48
             if ($classMap) {
49 49
                 $loader->addClassMap($classMap);
50 50
             }
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   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -37,15 +37,15 @@  discard block
 block discarded – undo
37 37
         $conf['cachetime']  = -1;
38 38
 
39 39
         if ($conf['allowdebug']) {
40
-            touch(DOKU_TMP_DATA . 'cache/debug.log');
40
+            touch(DOKU_TMP_DATA.'cache/debug.log');
41 41
         }
42 42
 
43 43
         plugin_load('helper', 'geophp');
44 44
     }
45 45
 
46
-    public function test_geophp_load(){
47
-        $polygon = geoPHP::load('POLYGON((1 1,5 1,5 5,1 5,1 1),(2 2,2 3,3 3,3 2,2 2))','wkt');
48
-        $this->assertEquals("Polygon",$polygon->geometryType());
46
+    public function test_geophp_load() {
47
+        $polygon = geoPHP::load('POLYGON((1 1,5 1,5 5,1 5,1 1),(2 2,2 3,3 3,3 2,2 2))', 'wkt');
48
+        $this->assertEquals("Polygon", $polygon->geometryType());
49 49
         $this->assertEquals(15.0, $polygon->getArea());
50 50
     }
51 51
 
@@ -57,8 +57,8 @@  discard block
 block discarded – undo
57 57
         // try to get the debug log after running the test, print and clear
58 58
         if ($conf['allowdebug']) {
59 59
             print "\n";
60
-            readfile(DOKU_TMP_DATA . 'cache/debug.log');
61
-            unlink(DOKU_TMP_DATA . 'cache/debug.log');
60
+            readfile(DOKU_TMP_DATA.'cache/debug.log');
61
+            unlink(DOKU_TMP_DATA.'cache/debug.log');
62 62
         }
63 63
     }
64 64
 }
Please login to merge, or discard this patch.