Completed
Push — dev ( 1d0e3c...164c2a )
by Андрей
02:32
created
src/Container.php 2 patches
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -134,7 +134,7 @@  discard block
 block discarded – undo
134 134
      */
135 135
     public function setFlagUsePeeringServiceManagers($flagUsePeeringServiceManagers)
136 136
     {
137
-        $this->flagUsePeeringServiceManagers = (bool)$flagUsePeeringServiceManagers;
137
+        $this->flagUsePeeringServiceManagers = (bool) $flagUsePeeringServiceManagers;
138 138
 
139 139
         return $this;
140 140
     }
@@ -158,7 +158,7 @@  discard block
 block discarded – undo
158 158
      */
159 159
     public function setFlagCheckAbstractFactories($flagCheckAbstractFactories)
160 160
     {
161
-        $this->flagCheckAbstractFactories = (bool)$flagCheckAbstractFactories;
161
+        $this->flagCheckAbstractFactories = (bool) $flagCheckAbstractFactories;
162 162
 
163 163
         return $this;
164 164
     }
Please login to merge, or discard this patch.
Doc Comments   +2 added lines, -3 removed lines patch added patch discarded remove patch
@@ -75,10 +75,9 @@  discard block
 block discarded – undo
75 75
     /**
76 76
      * @inheritdoc
77 77
      *
78
-     * @param array|string $id
79 78
      * @param null         $context
80 79
      *
81
-     * @return bool|void
80
+     * @return boolean
82 81
      *
83 82
      */
84 83
     public function has($name, $checkAbstractFactories = true, $usePeeringServiceManagers = true, $context = null)
@@ -96,7 +95,7 @@  discard block
 block discarded – undo
96 95
      * @param $name
97 96
      * @param $context
98 97
      *
99
-     * @return bool|void
98
+     * @return boolean
100 99
      */
101 100
     public function hasByContext($name, $context)
102 101
     {
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
@@ -20,7 +20,7 @@
 block discarded – undo
20 20
             Module::MODULE_NAME => TestPaths::getPathToModule(),
21 21
         ],
22 22
         'config_glob_paths' => [
23
-            __DIR__ . '/config/autoload/{{,*.}global,{,*.}local}.php',
23
+            __DIR__.'/config/autoload/{{,*.}global,{,*.}local}.php',
24 24
         ],
25 25
     ]
26 26
 ];
Please login to merge, or discard this patch.
test/phpunit/_files/ContextResolver/config/application.config.php 1 patch
Spacing   +9 added lines, -9 removed lines patch added patch discarded remove patch
@@ -28,18 +28,18 @@
 block discarded – undo
28 28
         'module_paths'      => [
29 29
             Module::MODULE_NAME => TestPaths::getPathToModule(),
30 30
 
31
-            Service\Module1\Module::MODULE_NAME => TestPaths::getPathToContextResolverTestServiceDir() . 'module1',
32
-            Service\Module2\Module::MODULE_NAME => TestPaths::getPathToContextResolverTestServiceDir() . 'module2',
33
-            Service\Module3\Module::MODULE_NAME => TestPaths::getPathToContextResolverTestServiceDir() . 'module3',
34
-            Service\Service\Module::MODULE_NAME => TestPaths::getPathToContextResolverTestServiceDir() . 'service',
31
+            Service\Module1\Module::MODULE_NAME => TestPaths::getPathToContextResolverTestServiceDir().'module1',
32
+            Service\Module2\Module::MODULE_NAME => TestPaths::getPathToContextResolverTestServiceDir().'module2',
33
+            Service\Module3\Module::MODULE_NAME => TestPaths::getPathToContextResolverTestServiceDir().'module3',
34
+            Service\Service\Module::MODULE_NAME => TestPaths::getPathToContextResolverTestServiceDir().'service',
35 35
 
36
-            CustomService\Module1\Module::MODULE_NAME => TestPaths::getPathToContextResolverTestCustomServiceDir(). 'module1',
37
-            CustomService\Module2\Module::MODULE_NAME => TestPaths::getPathToContextResolverTestCustomServiceDir() . 'module2',
38
-            CustomService\Module3\Module::MODULE_NAME => TestPaths::getPathToContextResolverTestCustomServiceDir() . 'module3',
39
-            CustomService\Service\Module::MODULE_NAME => TestPaths::getPathToContextResolverTestCustomServiceDir() . 'service',
36
+            CustomService\Module1\Module::MODULE_NAME => TestPaths::getPathToContextResolverTestCustomServiceDir().'module1',
37
+            CustomService\Module2\Module::MODULE_NAME => TestPaths::getPathToContextResolverTestCustomServiceDir().'module2',
38
+            CustomService\Module3\Module::MODULE_NAME => TestPaths::getPathToContextResolverTestCustomServiceDir().'module3',
39
+            CustomService\Service\Module::MODULE_NAME => TestPaths::getPathToContextResolverTestCustomServiceDir().'service',
40 40
         ],
41 41
         'config_glob_paths' => [
42
-            __DIR__ . '/config/autoload/{{,*.}global,{,*.}local}.php',
42
+            __DIR__.'/config/autoload/{{,*.}global,{,*.}local}.php',
43 43
         ],
44 44
     ]
45 45
 ];
Please login to merge, or discard this patch.
test/phpunit/_files/ContextResolver/vendor/service/service/Module.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -66,7 +66,7 @@  discard block
 block discarded – undo
66 66
         return [
67 67
             'Zend\Loader\StandardAutoloader' => [
68 68
                 'namespaces' => [
69
-                    __NAMESPACE__ => __DIR__ . '/src/',
69
+                    __NAMESPACE__ => __DIR__.'/src/',
70 70
                 ],
71 71
             ],
72 72
         ];
@@ -80,6 +80,6 @@  discard block
 block discarded – undo
80 80
      */
81 81
     public function getConfig()
82 82
     {
83
-        return include __DIR__ . '/config/module.config.php';
83
+        return include __DIR__.'/config/module.config.php';
84 84
     }
85 85
 } 
86 86
\ No newline at end of file
Please login to merge, or discard this patch.
test/phpunit/_files/ContextResolver/vendor/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/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.
test/phpunit/_files/ContextResolver/vendor/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.
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.