Completed
Push — dev ( 1d0e3c...164c2a )
by Андрей
02:32
created
phpunit/_files/ContextResolver/vendor/custom-service/module3/Module.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -49,7 +49,7 @@  discard block
 block discarded – undo
49 49
         return array(
50 50
             'Zend\Loader\StandardAutoloader' => array(
51 51
                 'namespaces' => array(
52
-                    __NAMESPACE__ => __DIR__ . '/src/',
52
+                    __NAMESPACE__ => __DIR__.'/src/',
53 53
                 ),
54 54
             ),
55 55
         );
@@ -63,6 +63,6 @@  discard block
 block discarded – undo
63 63
      */
64 64
     public function getConfig()
65 65
     {
66
-        return include __DIR__ . '/config/module.config.php';
66
+        return include __DIR__.'/config/module.config.php';
67 67
     }
68 68
 } 
69 69
\ No newline at end of file
Please login to merge, or discard this patch.
phpunit/_files/ContextResolver/vendor/custom-service/module2/Module.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -49,7 +49,7 @@  discard block
 block discarded – undo
49 49
         return [
50 50
             'Zend\Loader\StandardAutoloader' => [
51 51
                 'namespaces' => [
52
-                    __NAMESPACE__ => __DIR__ . '/src/',
52
+                    __NAMESPACE__ => __DIR__.'/src/',
53 53
                 ],
54 54
             ],
55 55
         ];
@@ -63,6 +63,6 @@  discard block
 block discarded – undo
63 63
      */
64 64
     public function getConfig()
65 65
     {
66
-        return include __DIR__ . '/config/module.config.php';
66
+        return include __DIR__.'/config/module.config.php';
67 67
     }
68 68
 } 
69 69
\ No newline at end of file
Please login to merge, or discard this patch.
test/phpunit/Bootstrap.php 1 patch
Spacing   +7 added lines, -7 removed lines patch added patch discarded remove patch
@@ -40,10 +40,10 @@  discard block
 block discarded – undo
40 40
     protected static function initAutoloader()
41 41
     {
42 42
         $vendorPath = static::findParentPath('vendor');
43
-        if (is_readable($vendorPath . '/autoload.php')) {
43
+        if (is_readable($vendorPath.'/autoload.php')) {
44 44
 
45 45
             /** @noinspection PhpIncludeInspection */
46
-            include $vendorPath . '/autoload.php';
46
+            include $vendorPath.'/autoload.php';
47 47
         }
48 48
 
49 49
         if (!class_exists(AutoloaderFactory::class)) {
@@ -56,9 +56,9 @@  discard block
 block discarded – undo
56 56
                 StandardAutoloader::class => [
57 57
                     'autoregister_zf' => true,
58 58
                     'namespaces' => [
59
-                        'Nnx\\Container' => __DIR__ . '/../../src/',
60
-                        __NAMESPACE__ => __DIR__ . '/tests/',
61
-                        'Nnx\\Container\\PhpUnit\\TestData' => __DIR__ . '/_files'
59
+                        'Nnx\\Container' => __DIR__.'/../../src/',
60
+                        __NAMESPACE__ => __DIR__.'/tests/',
61
+                        'Nnx\\Container\\PhpUnit\\TestData' => __DIR__.'/_files'
62 62
                     ]
63 63
                 ]
64 64
             ]);
@@ -77,14 +77,14 @@  discard block
 block discarded – undo
77 77
     {
78 78
         $dir = __DIR__;
79 79
         $previousDir = '.';
80
-        while (!is_dir($dir . '/' . $path)) {
80
+        while (!is_dir($dir.'/'.$path)) {
81 81
             $dir = dirname($dir);
82 82
             if ($previousDir === $dir) {
83 83
                 return false;
84 84
             }
85 85
             $previousDir = $dir;
86 86
         }
87
-        return $dir . '/' . $path;
87
+        return $dir.'/'.$path;
88 88
     }
89 89
 }
90 90
 
Please login to merge, or discard this patch.
config/module.config.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -53,8 +53,8 @@
 block discarded – undo
53 53
 ];
54 54
 
55 55
 return array_merge_recursive(
56
-    include __DIR__ . '/container.config.php',
57
-    include __DIR__ . '/entryNameResolver.config.php',
58
-    include __DIR__ . '/serviceManager.config.php',
56
+    include __DIR__.'/container.config.php',
57
+    include __DIR__.'/entryNameResolver.config.php',
58
+    include __DIR__.'/serviceManager.config.php',
59 59
     $config
60 60
 );
61 61
\ No newline at end of file
Please login to merge, or discard this patch.
Module.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -65,7 +65,7 @@  discard block
 block discarded – undo
65 65
     public function init(ModuleManagerInterface $manager)
66 66
     {
67 67
         if (!$manager instanceof ModuleManager) {
68
-            $errMsg =sprintf('Module manager not implement %s', ModuleManager::class);
68
+            $errMsg = sprintf('Module manager not implement %s', ModuleManager::class);
69 69
             throw new Exception\InvalidArgumentException($errMsg);
70 70
         }
71 71
 
@@ -120,7 +120,7 @@  discard block
 block discarded – undo
120 120
         return [
121 121
             'Zend\Loader\StandardAutoloader' => [
122 122
                 'namespaces' => [
123
-                    __NAMESPACE__ => __DIR__ . '/src/',
123
+                    __NAMESPACE__ => __DIR__.'/src/',
124 124
                 ],
125 125
             ],
126 126
         ];
@@ -132,7 +132,7 @@  discard block
 block discarded – undo
132 132
      */
133 133
     public function getConfig()
134 134
     {
135
-        return include __DIR__ . '/config/module.config.php';
135
+        return include __DIR__.'/config/module.config.php';
136 136
     }
137 137
 
138 138
 } 
139 139
\ No newline at end of file
Please login to merge, or discard this patch.