Completed
Push — master ( 1a9536...75e24f )
by Ma
03:11
created
config/application.config.php 1 patch
Indentation   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -64,7 +64,7 @@
 block discarded – undo
64 64
     //     ),
65 65
     // ),
66 66
 
67
-   // Initial configuration with which to seed the ServiceManager.
68
-   // Should be compatible with Zend\ServiceManager\Config.
69
-   // 'service_manager' => array(),
67
+    // Initial configuration with which to seed the ServiceManager.
68
+    // Should be compatible with Zend\ServiceManager\Config.
69
+    // 'service_manager' => array(),
70 70
 ];
Please login to merge, or discard this patch.
public/index.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -7,7 +7,7 @@
 block discarded – undo
7 7
 
8 8
 // Decline static file requests back to the PHP built-in webserver
9 9
 if (php_sapi_name() === 'cli-server') {
10
-    $path = realpath(__DIR__ . parse_url($_SERVER['REQUEST_URI'], PHP_URL_PATH));
10
+    $path = realpath(__DIR__ . parse_url($_SERVER[ 'REQUEST_URI' ], PHP_URL_PATH));
11 11
     if (__FILE__ !== $path && is_file($path)) {
12 12
         return false;
13 13
     }
Please login to merge, or discard this patch.
test/Bootstrap.php 2 patches
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -80,6 +80,9 @@
 block discarded – undo
80 80
         ));
81 81
     }
82 82
 
83
+    /**
84
+     * @param string $path
85
+     */
83 86
     protected static function findParentPath($path)
84 87
     {
85 88
         $dir = __DIR__;
Please login to merge, or discard this patch.
Spacing   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -21,10 +21,10 @@  discard block
 block discarded – undo
21 21
     {
22 22
         $zf2ModulePaths = array(dirname(dirname(__DIR__)));
23 23
         if (($path = static::findParentPath('vendor'))) {
24
-            $zf2ModulePaths[] = $path;
24
+            $zf2ModulePaths[ ] = $path;
25 25
         }
26
-        if (($path = static::findParentPath('module')) !== $zf2ModulePaths[0]) {
27
-            $zf2ModulePaths[] = $path;
26
+        if (($path = static::findParentPath('module')) !== $zf2ModulePaths[ 0 ]) {
27
+            $zf2ModulePaths[ ] = $path;
28 28
         }
29 29
 
30 30
         static::initAutoloader();
@@ -60,11 +60,11 @@  discard block
 block discarded – undo
60 60
     {
61 61
         $vendorPath = static::findParentPath('vendor');
62 62
 
63
-        if (file_exists($vendorPath.'/autoload.php')) {
64
-            include $vendorPath.'/autoload.php';
63
+        if (file_exists($vendorPath . '/autoload.php')) {
64
+            include $vendorPath . '/autoload.php';
65 65
         }
66 66
 
67
-        if (! class_exists('Zend\Loader\AutoloaderFactory')) {
67
+        if (!class_exists('Zend\Loader\AutoloaderFactory')) {
68 68
             throw new RuntimeException(
69 69
                 'Unable to load ZF2. Run `php composer.phar install`'
70 70
             );
Please login to merge, or discard this patch.
module/Application/test/Bootstrap.php 1 patch
Spacing   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -21,10 +21,10 @@  discard block
 block discarded – undo
21 21
     {
22 22
         $zf2ModulePaths = array(dirname(dirname(__DIR__)));
23 23
         if (($path = static::findParentPath('vendor'))) {
24
-            $zf2ModulePaths[] = $path;
24
+            $zf2ModulePaths[ ] = $path;
25 25
         }
26
-        if (($path = static::findParentPath('module')) !== $zf2ModulePaths[0]) {
27
-            $zf2ModulePaths[] = $path;
26
+        if (($path = static::findParentPath('module')) !== $zf2ModulePaths[ 0 ]) {
27
+            $zf2ModulePaths[ ] = $path;
28 28
         }
29 29
 
30 30
         static::initAutoloader();
@@ -60,11 +60,11 @@  discard block
 block discarded – undo
60 60
     {
61 61
         $vendorPath = static::findParentPath('vendor');
62 62
 
63
-        if (file_exists($vendorPath.'/autoload.php')) {
64
-            include $vendorPath.'/autoload.php';
63
+        if (file_exists($vendorPath . '/autoload.php')) {
64
+            include $vendorPath . '/autoload.php';
65 65
         }
66 66
 
67
-        if (! class_exists('Zend\Loader\AutoloaderFactory')) {
67
+        if (!class_exists('Zend\Loader\AutoloaderFactory')) {
68 68
             throw new RuntimeException(
69 69
                 'Unable to load ZF2. Run `php composer.phar install`'
70 70
             );
Please login to merge, or discard this patch.