Passed
Push — master ( 0fbfd0...0a4722 )
by Carsten
11:27
created
module/Auth/test/AuthTest/Options/CaptchaOptionsTest.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -92,7 +92,7 @@  discard block
 block discarded – undo
92 92
             'imgDir' => 'public/captcha',
93 93
             'imgUrl' => '/captcha'
94 94
             ];
95
-        $target=$this->options;
95
+        $target = $this->options;
96 96
         $target->setImage($params);
97 97
 
98 98
         $this->assertSame($target->getImage(), $params);
@@ -105,7 +105,7 @@  discard block
 block discarded – undo
105 105
     public function testSetGetReCaptcha()
106 106
     {
107 107
         $params = new ReCaptcha();
108
-        $target=$this->options;
108
+        $target = $this->options;
109 109
         $target->setReCaptcha($params);
110 110
         $this->assertSame($target->getReCaptcha(), $params);
111 111
     }
Please login to merge, or discard this patch.
module/Auth/src/Auth/Module.php 1 patch
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -39,7 +39,7 @@  discard block
 block discarded – undo
39 39
      */
40 40
     public function getConfig()
41 41
     {
42
-        return ModuleConfigLoader::load(__DIR__ . '/../../config');
42
+        return ModuleConfigLoader::load(__DIR__.'/../../config');
43 43
     }
44 44
 
45 45
     /**
@@ -71,10 +71,10 @@  discard block
 block discarded – undo
71 71
                 // This is an hack due to bad design of Hybridauth
72 72
                 // This ensures the class from "addtional-providers" is loaded.
73 73
                 array(
74
-                    'Hybrid_Providers_XING' => $addProvidersDir . '/hybridauth-xing/Providers/XING.php',
74
+                    'Hybrid_Providers_XING' => $addProvidersDir.'/hybridauth-xing/Providers/XING.php',
75 75
                 ),
76 76
                 array(
77
-                    'Hybrid_Providers_Github' => $addProvidersDir. '/hybridauth-github/Providers/GitHub.php',
77
+                    'Hybrid_Providers_Github' => $addProvidersDir.'/hybridauth-github/Providers/GitHub.php',
78 78
                 ),
79 79
             ),
80 80
         );
@@ -90,7 +90,7 @@  discard block
 block discarded – undo
90 90
             
91 91
         $eventManager->attach(
92 92
             MvcEvent::EVENT_ROUTE,
93
-            function (MvcEvent $e) use ($services) {
93
+            function(MvcEvent $e) use ($services) {
94 94
                 /* @var $checkPermissionsListener \Acl\Listener\CheckPermissionsListener */
95 95
                 $checkPermissionsListener = $services->get('Auth/CheckPermissionsListener');
96 96
                 $checkPermissionsListener->onRoute($e);
@@ -100,7 +100,7 @@  discard block
 block discarded – undo
100 100
 
101 101
         $eventManager->attach(
102 102
             MvcEvent::EVENT_DISPATCH,
103
-            function (MvcEvent $e) use ($services) {
103
+            function(MvcEvent $e) use ($services) {
104 104
                 /** @var CheckPermissionsListener $checkPermissionsListener */
105 105
                 $checkPermissionsListener = $services->get('Auth/CheckPermissionsListener');
106 106
                 $checkPermissionsListener->onDispatch($e);
Please login to merge, or discard this patch.
module/Install/test/autoload_classmap.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -1,8 +1,8 @@
 block discarded – undo
1 1
 <?php
2 2
 // Generated by ZF2's ./bin/classmap_generator.php
3 3
 return array(
4
-  'InstallTest\Controller\Plugin\PrerequisitesTest'      => __DIR__ . '/InstallTest/Controller/Plugin/PrerequisitesTest.php',
5
-  'InstallTest\Controller\Plugin\YawikConfigCreatorTest' => __DIR__ . '/InstallTest/Controller/Plugin/YawikConfigCreatorTest.php',
6
-  'InstallTest\Form\InstallationTest'                    => __DIR__ . '/InstallTest/Form/InstallationTest.php',
7
-  'InstallTest\Validator\MongoDbConnectionStringTest'    => __DIR__ . '/InstallTest/Validator/MongoDbConnectionStringTest.php',
4
+  'InstallTest\Controller\Plugin\PrerequisitesTest'      => __DIR__.'/InstallTest/Controller/Plugin/PrerequisitesTest.php',
5
+  'InstallTest\Controller\Plugin\YawikConfigCreatorTest' => __DIR__.'/InstallTest/Controller/Plugin/YawikConfigCreatorTest.php',
6
+  'InstallTest\Form\InstallationTest'                    => __DIR__.'/InstallTest/Form/InstallationTest.php',
7
+  'InstallTest\Validator\MongoDbConnectionStringTest'    => __DIR__.'/InstallTest/Validator/MongoDbConnectionStringTest.php',
8 8
 );
Please login to merge, or discard this patch.
Applications/test/ApplicationsTest/Factory/Form/StatusSelectFactoryTest.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -39,12 +39,12 @@
 block discarded – undo
39 39
         StatusSelectFactory::class,
40 40
         '@testCreateService' => [
41 41
             'mock' => [
42
-                '__invoke' => ['@with' => 'getInvokeMockArgs','count' => 1]
42
+                '__invoke' => ['@with' => 'getInvokeMockArgs', 'count' => 1]
43 43
             ]
44 44
         ],
45 45
     ];
46 46
 
47
-    private $inheritance = [ FactoryInterface::class ];
47
+    private $inheritance = [FactoryInterface::class];
48 48
 
49 49
     private function getInvokeMockArgs()
50 50
     {
Please login to merge, or discard this patch.
test/ApplicationsTest/Factory/Listener/JobSelectValuesFactoryTest.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -44,7 +44,7 @@
 block discarded – undo
44 44
         ],
45 45
     ];
46 46
 
47
-    private $inheritance = [ FactoryInterface::class ];
47
+    private $inheritance = [FactoryInterface::class];
48 48
 
49 49
     private function getInvokeArgs()
50 50
     {
Please login to merge, or discard this patch.
test/ApplicationsTest/Repository/Filter/PaginationQueryFactoryTest.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -35,7 +35,7 @@
 block discarded – undo
35 35
      */
36 36
     private $target = PaginationQueryFactory::class;
37 37
 
38
-    private $inheritance = [ FactoryInterface::class ];
38
+    private $inheritance = [FactoryInterface::class];
39 39
 
40 40
     public function testCreateService()
41 41
     {
Please login to merge, or discard this patch.
module/Applications/test/ApplicationsTest/Entity/HistoryTest.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -77,7 +77,7 @@  discard block
 block discarded – undo
77 77
      */
78 78
     public function testSetGetDate()
79 79
     {
80
-        $input=new \DateTime("2012-05-06");
80
+        $input = new \DateTime("2012-05-06");
81 81
         $this->target->setDate($input);
82 82
         $this->assertEquals($this->target->getDate(), $input);
83 83
     }
@@ -89,7 +89,7 @@  discard block
 block discarded – undo
89 89
      */
90 90
     public function testSetGetStatus($status)
91 91
     {
92
-        $input=new Status($status);
92
+        $input = new Status($status);
93 93
         $this->target->setStatus($input);
94 94
         $this->assertEquals($this->target->getStatus(), $input);
95 95
     }
@@ -110,7 +110,7 @@  discard block
 block discarded – undo
110 110
      */
111 111
     public function testSetGetMessage()
112 112
     {
113
-        $input="this is my message";
113
+        $input = "this is my message";
114 114
         $this->target->setMessage($input);
115 115
         $this->assertEquals($this->target->getMessage(), $input);
116 116
     }
Please login to merge, or discard this patch.
module/Applications/test/ApplicationsTest/Entity/RatingTest.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -46,7 +46,7 @@
 block discarded – undo
46 46
 
47 47
     public function testSetGetRating()
48 48
     {
49
-        $input="1";
49
+        $input = "1";
50 50
         $this->target->setRating($input);
51 51
         $this->assertEquals($this->target->getRating(), $input);
52 52
     }
Please login to merge, or discard this patch.
Applications/test/ApplicationsTest/Entity/Validator/ApplicationTest.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -105,7 +105,7 @@
 block discarded – undo
105 105
             }
106 106
         }
107 107
 
108
-        $assertMethod = 'assert' . ($expectedResult ? 'True' : 'False');
108
+        $assertMethod = 'assert'.($expectedResult ? 'True' : 'False');
109 109
 
110 110
 
111 111
         $this->$assertMethod($this->target->isValid($value));
Please login to merge, or discard this patch.