@@ -36,7 +36,7 @@  | 
                                                    ||
| 36 | 36 | const CONFIG_KEY = 'workflow_zf2_dispatch';  | 
                                                        
| 37 | 37 | |
| 38 | 38 | /**  | 
                                                        
| 39 | - * @return array  | 
                                                        |
| 39 | + * @return string[]  | 
                                                        |
| 40 | 40 | */  | 
                                                        
| 41 | 41 | public function getModuleDependencies()  | 
                                                        
| 42 | 42 |      { | 
                                                        
@@ -114,7 +114,7 @@  | 
                                                    ||
| 114 | 114 |      { | 
                                                        
| 115 | 115 | |
| 116 | 116 |          if (!$manager instanceof ModuleManager) { | 
                                                        
| 117 | -            $errMsg =sprintf('Module manager not implement %s', ModuleManager::class); | 
                                                        |
| 117 | +            $errMsg = sprintf('Module manager not implement %s', ModuleManager::class); | 
                                                        |
| 118 | 118 | throw new Exception\ErrorInitModuleException($errMsg);  | 
                                                        
| 119 | 119 | }  | 
                                                        
| 120 | 120 | /** @var ModuleManager $manager */  | 
                                                        
@@ -19,17 +19,17 @@ discard block  | 
                                                    ||
| 19 | 19 | /**  | 
                                                        
| 20 | 20 | * @var string  | 
                                                        
| 21 | 21 | */  | 
                                                        
| 22 | - const HTTP_METHOD_INVALID = 'httpMethodInvalid';  | 
                                                        |
| 22 | + const HTTP_METHOD_INVALID = 'httpMethodInvalid';  | 
                                                        |
| 23 | 23 | |
| 24 | 24 | /**  | 
                                                        
| 25 | 25 | * @var string  | 
                                                        
| 26 | 26 | */  | 
                                                        
| 27 | - const VALIDATE_VALUE_INVALID = 'validateValueInvalid';  | 
                                                        |
| 27 | + const VALIDATE_VALUE_INVALID = 'validateValueInvalid';  | 
                                                        |
| 28 | 28 | |
| 29 | 29 | /**  | 
                                                        
| 30 | 30 | * @var string  | 
                                                        
| 31 | 31 | */  | 
                                                        
| 32 | - const REQUEST_INVALID = 'requestInvalid';  | 
                                                        |
| 32 | + const REQUEST_INVALID = 'requestInvalid';  | 
                                                        |
| 33 | 33 | |
| 34 | 34 | /**  | 
                                                        
| 35 | 35 | * Validation failure message template definitions  | 
                                                        
@@ -104,7 +104,7 @@ discard block  | 
                                                    ||
| 104 | 104 |      { | 
                                                        
| 105 | 105 | $results = null;  | 
                                                        
| 106 | 106 |          if (is_array($allowedHttpMethods)) { | 
                                                        
| 107 | -            $results = array_map(function ($method) { | 
                                                        |
| 107 | +            $results = array_map(function($method) { | 
                                                        |
| 108 | 108 | $method = trim($method);  | 
                                                        
| 109 | 109 | $method = strtolower($method);  | 
                                                        
| 110 | 110 | |
@@ -1,8 +1,8 @@  | 
                                                    ||
| 1 | 1 | <?php  | 
                                                        
| 2 | 2 | /**  | 
                                                        
| 3 | - * @link https://github.com/old-town/workflow-zf2-dispatch  | 
                                                        |
| 4 | - * @author Malofeykin Andrey <[email protected]>  | 
                                                        |
| 5 | - */  | 
                                                        |
| 3 | + * @link https://github.com/old-town/workflow-zf2-dispatch  | 
                                                        |
| 4 | + * @author Malofeykin Andrey <[email protected]>  | 
                                                        |
| 5 | + */  | 
                                                        |
| 6 | 6 | |
| 7 | 7 | use OldTown\Workflow\ZF2\Dispatch\PhpUnit\TestData\IntegrationTest\TestController;  | 
                                                        
| 8 | 8 | |
@@ -1,8 +1,8 @@  | 
                                                    ||
| 1 | 1 | <?php  | 
                                                        
| 2 | 2 | /**  | 
                                                        
| 3 | - * @link https://github.com/old-town/workflow-zf2-dispatch  | 
                                                        |
| 4 | - * @author Malofeykin Andrey <[email protected]>  | 
                                                        |
| 5 | - */  | 
                                                        |
| 3 | + * @link https://github.com/old-town/workflow-zf2-dispatch  | 
                                                        |
| 4 | + * @author Malofeykin Andrey <[email protected]>  | 
                                                        |
| 5 | + */  | 
                                                        |
| 6 | 6 | |
| 7 | 7 | use OldTown\Workflow\ZF2\Dispatch\PhpUnit\TestData\IntegrationTest\TestController;  | 
                                                        
| 8 | 8 | |
@@ -1,8 +1,8 @@  | 
                                                    ||
| 1 | 1 | <?php  | 
                                                        
| 2 | 2 | /**  | 
                                                        
| 3 | - * @link https://github.com/old-town/workflow-zf2-dispatch  | 
                                                        |
| 4 | - * @author Malofeykin Andrey <[email protected]>  | 
                                                        |
| 5 | - */  | 
                                                        |
| 3 | + * @link https://github.com/old-town/workflow-zf2-dispatch  | 
                                                        |
| 4 | + * @author Malofeykin Andrey <[email protected]>  | 
                                                        |
| 5 | + */  | 
                                                        |
| 6 | 6 | namespace OldTown\Workflow\ZF2\Dispatch\PhpUnit\Test;  | 
                                                        
| 7 | 7 | |
| 8 | 8 | use OldTown\Workflow\ZF2\Dispatch\PhpUnit\TestData\TestPaths;  | 
                                                        
@@ -1,8 +1,8 @@  | 
                                                    ||
| 1 | 1 | <?php  | 
                                                        
| 2 | 2 | /**  | 
                                                        
| 3 | - * @link https://github.com/old-town/workflow-zf2-dispatch  | 
                                                        |
| 4 | - * @author Malofeykin Andrey <[email protected]>  | 
                                                        |
| 5 | - */  | 
                                                        |
| 3 | + * @link https://github.com/old-town/workflow-zf2-dispatch  | 
                                                        |
| 4 | + * @author Malofeykin Andrey <[email protected]>  | 
                                                        |
| 5 | + */  | 
                                                        |
| 6 | 6 | namespace OldTown\Workflow\ZF2\Dispatch\PhpUnit\Test;  | 
                                                        
| 7 | 7 | |
| 8 | 8 | use OldTown\Workflow\ZF2\Dispatch\PhpUnit\TestData\TestPaths;  | 
                                                        
@@ -1,8 +1,8 @@  | 
                                                    ||
| 1 | 1 | <?php  | 
                                                        
| 2 | 2 | /**  | 
                                                        
| 3 | - * @link https://github.com/old-town/workflow-zf2-dispatch  | 
                                                        |
| 4 | - * @author Malofeykin Andrey <[email protected]>  | 
                                                        |
| 5 | - */  | 
                                                        |
| 3 | + * @link https://github.com/old-town/workflow-zf2-dispatch  | 
                                                        |
| 4 | + * @author Malofeykin Andrey <[email protected]>  | 
                                                        |
| 5 | + */  | 
                                                        |
| 6 | 6 | namespace OldTown\Workflow\ZF2\Dispatch\PhpUnit\Test;  | 
                                                        
| 7 | 7 | |
| 8 | 8 | use OldTown\Workflow\ZF2\Dispatch\PhpUnit\TestData\TestPaths;  | 
                                                        
@@ -1,8 +1,8 @@  | 
                                                    ||
| 1 | 1 | <?php  | 
                                                        
| 2 | 2 | /**  | 
                                                        
| 3 | - * @link https://github.com/old-town/workflow-zf2-dispatch  | 
                                                        |
| 4 | - * @author Malofeykin Andrey <[email protected]>  | 
                                                        |
| 5 | - */  | 
                                                        |
| 3 | + * @link https://github.com/old-town/workflow-zf2-dispatch  | 
                                                        |
| 4 | + * @author Malofeykin Andrey <[email protected]>  | 
                                                        |
| 5 | + */  | 
                                                        |
| 6 | 6 | |
| 7 | 7 | use OldTown\Workflow\ZF2\Dispatch\PhpUnit\TestData\IntegrationTest\TestController;  | 
                                                        
| 8 | 8 | |
@@ -1,8 +1,8 @@  | 
                                                    ||
| 1 | 1 | <?php  | 
                                                        
| 2 | 2 | /**  | 
                                                        
| 3 | - * @link https://github.com/old-town/workflow-zf2-dispatch  | 
                                                        |
| 4 | - * @author Malofeykin Andrey <[email protected]>  | 
                                                        |
| 5 | - */  | 
                                                        |
| 3 | + * @link https://github.com/old-town/workflow-zf2-dispatch  | 
                                                        |
| 4 | + * @author Malofeykin Andrey <[email protected]>  | 
                                                        |
| 5 | + */  | 
                                                        |
| 6 | 6 | |
| 7 | 7 | use OldTown\Workflow\ZF2\Dispatch\PhpUnit\TestData\IntegrationTest\TestController;  | 
                                                        
| 8 | 8 | |
@@ -1,8 +1,8 @@  | 
                                                    ||
| 1 | 1 | <?php  | 
                                                        
| 2 | 2 | /**  | 
                                                        
| 3 | - * @link https://github.com/old-town/workflow-zf2-dispatch  | 
                                                        |
| 4 | - * @author Malofeykin Andrey <[email protected]>  | 
                                                        |
| 5 | - */  | 
                                                        |
| 3 | + * @link https://github.com/old-town/workflow-zf2-dispatch  | 
                                                        |
| 4 | + * @author Malofeykin Andrey <[email protected]>  | 
                                                        |
| 5 | + */  | 
                                                        |
| 6 | 6 | |
| 7 | 7 | use OldTown\Workflow\ZF2\Dispatch\PhpUnit\TestData\IntegrationTest\TestController;  | 
                                                        
| 8 | 8 | |