Completed
Push — dev ( b2b550...4a4e77 )
by Андрей
02:30
created
test/phpunit/files/ContextResolver/vendor/custom-service/service/Module.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -64,7 +64,7 @@  discard block
 block discarded – undo
64 64
         return [
65 65
             'Zend\Loader\StandardAutoloader' => [
66 66
                 'namespaces' => [
67
-                    __NAMESPACE__ => __DIR__ . '/src/',
67
+                    __NAMESPACE__ => __DIR__.'/src/',
68 68
                 ],
69 69
             ],
70 70
         ];
@@ -78,6 +78,6 @@  discard block
 block discarded – undo
78 78
      */
79 79
     public function getConfig()
80 80
     {
81
-        return include __DIR__ . '/config/module.config.php';
81
+        return include __DIR__.'/config/module.config.php';
82 82
     }
83 83
 } 
84 84
\ No newline at end of file
Please login to merge, or discard this patch.
test/phpunit/files/ContextResolver/vendor/custom-service/module1/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.
test/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 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.
test/phpunit/files/ContextResolver/config/application.config.php 1 patch
Spacing   +10 added lines, -10 removed lines patch added patch discarded remove patch
@@ -30,18 +30,18 @@
 block discarded – undo
30 30
 
31 31
             Module::MODULE_NAME => TestPaths::getPathToModule(),
32 32
 
33
-            Service\Module1\Module::MODULE_NAME => TestPaths::getPathToContextResolverTestServiceDir() . 'module1',
34
-            Service\Module2\Module::MODULE_NAME => TestPaths::getPathToContextResolverTestServiceDir() . 'module2',
35
-            Service\Module3\Module::MODULE_NAME => TestPaths::getPathToContextResolverTestServiceDir() . 'module3',
36
-            Service\Service\Module::MODULE_NAME => TestPaths::getPathToContextResolverTestServiceDir() . 'service',
37
-
38
-            CustomService\Module1\Module::MODULE_NAME => TestPaths::getPathToContextResolverTestCustomServiceDir(). 'module1',
39
-            CustomService\Module2\Module::MODULE_NAME => TestPaths::getPathToContextResolverTestCustomServiceDir() . 'module2',
40
-            CustomService\Module3\Module::MODULE_NAME => TestPaths::getPathToContextResolverTestCustomServiceDir() . 'module3',
41
-            CustomService\Service\Module::MODULE_NAME => TestPaths::getPathToContextResolverTestCustomServiceDir() . 'service',
33
+            Service\Module1\Module::MODULE_NAME => TestPaths::getPathToContextResolverTestServiceDir().'module1',
34
+            Service\Module2\Module::MODULE_NAME => TestPaths::getPathToContextResolverTestServiceDir().'module2',
35
+            Service\Module3\Module::MODULE_NAME => TestPaths::getPathToContextResolverTestServiceDir().'module3',
36
+            Service\Service\Module::MODULE_NAME => TestPaths::getPathToContextResolverTestServiceDir().'service',
37
+
38
+            CustomService\Module1\Module::MODULE_NAME => TestPaths::getPathToContextResolverTestCustomServiceDir().'module1',
39
+            CustomService\Module2\Module::MODULE_NAME => TestPaths::getPathToContextResolverTestCustomServiceDir().'module2',
40
+            CustomService\Module3\Module::MODULE_NAME => TestPaths::getPathToContextResolverTestCustomServiceDir().'module3',
41
+            CustomService\Service\Module::MODULE_NAME => TestPaths::getPathToContextResolverTestCustomServiceDir().'service',
42 42
         ],
43 43
         'config_glob_paths' => [
44
-            __DIR__ . '/config/autoload/{{,*.}global,{,*.}local}.php',
44
+            __DIR__.'/config/autoload/{{,*.}global,{,*.}local}.php',
45 45
         ],
46 46
     ]
47 47
 ];
Please login to merge, or discard this patch.
test/phpunit/files/TestPaths.php 1 patch
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -20,7 +20,7 @@  discard block
 block discarded – undo
20 20
      */
21 21
     public static function getPathToModule()
22 22
     {
23
-        return __DIR__ . '/../../../';
23
+        return __DIR__.'/../../../';
24 24
     }
25 25
 
26 26
     /**
@@ -30,7 +30,7 @@  discard block
 block discarded – undo
30 30
      */
31 31
     public static function getPathToDefaultAppConfig()
32 32
     {
33
-        return  __DIR__ . '/../files/DefaultApp/application.config.php';
33
+        return  __DIR__.'/../files/DefaultApp/application.config.php';
34 34
     }
35 35
 
36 36
     /**
@@ -41,7 +41,7 @@  discard block
 block discarded – undo
41 41
      */
42 42
     public static function getPathToContextResolverTestServiceDir()
43 43
     {
44
-        return  __DIR__ . '/../files/ContextResolver/vendor/service/';
44
+        return  __DIR__.'/../files/ContextResolver/vendor/service/';
45 45
     }
46 46
 
47 47
 
@@ -53,7 +53,7 @@  discard block
 block discarded – undo
53 53
      */
54 54
     public static function getPathToContextResolverTestCustomServiceDir()
55 55
     {
56
-        return  __DIR__ . '/../files/ContextResolver/vendor/custom-service/';
56
+        return  __DIR__.'/../files/ContextResolver/vendor/custom-service/';
57 57
     }
58 58
 
59 59
 
@@ -64,6 +64,6 @@  discard block
 block discarded – undo
64 64
      */
65 65
     public static function getPathToContextResolverAppConfig()
66 66
     {
67
-        return  __DIR__ . '/../files/ContextResolver/config/application.config.php';
67
+        return  __DIR__.'/../files/ContextResolver/config/application.config.php';
68 68
     }
69 69
 }
Please login to merge, or discard this patch.
test/phpunit/files/DefaultApp/application.config.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
             Module::MODULE_NAME => TestPaths::getPathToModule(),
19 19
         ],
20 20
         'config_glob_paths' => [
21
-            __DIR__ . '/config/autoload/{{,*.}global,{,*.}local}.php',
21
+            __DIR__.'/config/autoload/{{,*.}global,{,*.}local}.php',
22 22
         ],
23 23
     ]
24 24
 ];
Please login to merge, or discard this patch.
config/module.config.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -13,7 +13,7 @@
 block discarded – undo
13 13
 ];
14 14
 
15 15
 return array_merge_recursive(
16
-    include __DIR__ . '/entryNameResolver.config.php',
17
-    include __DIR__ . '/serviceManager.config.php',
16
+    include __DIR__.'/entryNameResolver.config.php',
17
+    include __DIR__.'/serviceManager.config.php',
18 18
     $config
19 19
 );
20 20
\ No newline at end of file
Please login to merge, or discard this patch.
src/ResolverByClassName.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -92,7 +92,7 @@
 block discarded – undo
92 92
         }
93 93
         $contextModuleName = $moduleOptionsPluginManager->getModuleNameByClassName($contextClass);
94 94
 
95
-        $resolvedClassName = $contextModuleName . $shortClassName;
95
+        $resolvedClassName = $contextModuleName.$shortClassName;
96 96
 
97 97
         if (!class_exists($resolvedClassName)) {
98 98
             return null;
Please login to merge, or discard this patch.