Passed
Push — master ( 793370...b09d10 )
by Carsten
12:59
created
module/Auth/src/Auth/Controller/Plugin/OAuth.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -135,7 +135,7 @@
 block discarded – undo
135 135
                 $hybridAuth->restoreSessionData($sessionDataStored);
136 136
             }
137 137
             $adapter = $hybridAuth->authenticate($this->providerKey);
138
-            $sessionData    = $hybridAuth->getSessionData();
138
+            $sessionData = $hybridAuth->getSessionData();
139 139
             if ($sessionData != $sessionDataStored) {
140 140
                 $user->updateAuthSession($this->providerKey, $sessionData);
141 141
             }
Please login to merge, or discard this patch.
module/Auth/src/Auth/Entity/User.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -177,7 +177,7 @@
 block discarded – undo
177 177
     /** {@inheritdoc} */
178 178
     public function setLogin($login)
179 179
     {
180
-        $this->login = trim((String)$login);
180
+        $this->login = trim((String) $login);
181 181
         return $this;
182 182
     }
183 183
 
Please login to merge, or discard this patch.
module/Install/src/Validator/MongoDbConnectionString.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -21,7 +21,7 @@
 block discarded – undo
21 21
  */
22 22
 class MongoDbConnectionString extends AbstractValidator
23 23
 {
24
-    const INVALID       = 'invalidConnectionString';
24
+    const INVALID = 'invalidConnectionString';
25 25
 
26 26
     /**
27 27
      * Options
Please login to merge, or discard this patch.
module/Auth/src/Auth/Options/ModuleOptions.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -61,7 +61,7 @@
 block discarded – undo
61 61
      *
62 62
      * @var array()
63 63
      */
64
-    protected $enableLogins = ['facebook','xing','linkedin','google','github'];
64
+    protected $enableLogins = ['facebook', 'xing', 'linkedin', 'google', 'github'];
65 65
 
66 66
     /**
67 67
      * Enable Registration
Please login to merge, or discard this patch.
module/Applications/test/ApplicationsTest/Options/ModuleOptionsTest.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -41,7 +41,7 @@  discard block
 block discarded – undo
41 41
      */
42 42
     public function testSetGetAttachmentsMimeType()
43 43
     {
44
-        $mime=array('image','text/plain');
44
+        $mime = array('image', 'text/plain');
45 45
 
46 46
         $this->options->setAttachmentsMimeType($mime);
47 47
         $this->assertEquals($mime, $this->options->getAttachmentsMimeType());
@@ -63,7 +63,7 @@  discard block
 block discarded – undo
63 63
      */
64 64
     public function testSetGetContactImageMimeType()
65 65
     {
66
-        $mime=array('image');
66
+        $mime = array('image');
67 67
 
68 68
         $this->options->setContactImageMimeType($mime);
69 69
         $this->assertEquals($mime, $this->options->getContactImageMimeType());
@@ -75,7 +75,7 @@  discard block
 block discarded – undo
75 75
      */
76 76
     public function testSetGetContactImageMaxSize()
77 77
     {
78
-        $size=765432;
78
+        $size = 765432;
79 79
 
80 80
         $this->options->setContactImageMaxSize($size);
81 81
         $this->assertEquals($size, $this->options->getContactImageMaxSize());
@@ -87,7 +87,7 @@  discard block
 block discarded – undo
87 87
      */
88 88
     public function testSetGetAllowedMimeTypes()
89 89
     {
90
-        $mime=array('image','application/pdf');
90
+        $mime = array('image', 'application/pdf');
91 91
 
92 92
         $this->options->setAllowedMimeTypes($mime);
93 93
         $this->assertEquals($mime, $this->options->getAllowedMimeTypes());
Please login to merge, or discard this patch.
module/Auth/test/AuthTest/Options/ModuleOptionsTest.php 1 patch
Spacing   +8 added lines, -8 removed lines patch added patch discarded remove patch
@@ -39,7 +39,7 @@  discard block
 block discarded – undo
39 39
      */
40 40
     public function testSetGetRole()
41 41
     {
42
-        $input='user';
42
+        $input = 'user';
43 43
         $this->options->setRole($input);
44 44
         $this->assertEquals($input, $this->options->getRole());
45 45
     }
@@ -50,7 +50,7 @@  discard block
 block discarded – undo
50 50
      */
51 51
     public function testSetGetFromName()
52 52
     {
53
-        $input='Thomas Müller';
53
+        $input = 'Thomas Müller';
54 54
         $this->options->setFromName($input);
55 55
         $this->assertEquals($input, $this->options->getFromName());
56 56
     }
@@ -96,16 +96,16 @@  discard block
 block discarded – undo
96 96
         return array(
97 97
             array('setEnableRegistration', 'getEnableRegistration', false),
98 98
             array('setEnableRegistration', 'getEnableRegistration', true),
99
-            array(null,'getEnableRegistration', true),
99
+            array(null, 'getEnableRegistration', true),
100 100
             array('setEnableResetPassword', 'getEnableResetPassword', false),
101 101
             array('setEnableResetPassword', 'getEnableResetPassword', true),
102
-            array(null,'getEnableRegistration', true),
102
+            array(null, 'getEnableRegistration', true),
103 103
             array('setFromEmail', 'getFromEmail', '[email protected]'),
104
-            array(null,'getFromEmail', '[email protected]'),
104
+            array(null, 'getFromEmail', '[email protected]'),
105 105
             array('setAuthSuffix', 'getAuthSuffix', '[email protected]'),
106
-            array(null,'getAuthSuffix', ''),
106
+            array(null, 'getAuthSuffix', ''),
107 107
             array('setMailSubjectRegistration', 'getMailSubjectRegistration', 'Mail Subject'),
108
-            array(null,'getMailSubjectRegistration', 'Welcome to YAWIK'),
108
+            array(null, 'getMailSubjectRegistration', 'Welcome to YAWIK'),
109 109
         );
110 110
     }
111 111
 
@@ -115,7 +115,7 @@  discard block
 block discarded – undo
115 115
      */
116 116
     public function testSetGetEnableLogins()
117 117
     {
118
-        $input=['xing','linkedin'];
118
+        $input = ['xing', 'linkedin'];
119 119
         $this->options->setEnableLogins($input);
120 120
         $this->assertEquals($input, $this->options->getEnableLogins());
121 121
     }
Please login to merge, or discard this patch.
module/Core/test/CoreTest/Filter/HtmlAbsPathFilterTest.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -85,7 +85,7 @@
 block discarded – undo
85 85
 
86 86
             $filter->setUri('http://aaa.bbb.cc/ddd/');
87 87
             $f = $filter->filter($test['original']);
88
-            preg_match_all ( '/(?:href|src)\s*=\s*"([^"]*)"/', $f, $matches);
88
+            preg_match_all('/(?:href|src)\s*=\s*"([^"]*)"/', $f, $matches);
89 89
             foreach ($matches[1] as $uri) {
90 90
                 $this->assertRegExp("/^https?:\/\//", $uri);
91 91
 
Please login to merge, or discard this patch.
module/Core/test/CoreTest/View/Helper/ParamsTest.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -16,7 +16,7 @@  discard block
 block discarded – undo
16 16
 class ParamsTest extends \PHPUnit_Framework_TestCase
17 17
 {
18 18
     
19
-    public function getHelper(MvcEvent $e=null)
19
+    public function getHelper(MvcEvent $e = null)
20 20
     {
21 21
         if (null == $e) {
22 22
             $e = new MvcEvent();
@@ -51,7 +51,7 @@  discard block
 block discarded – undo
51 51
     
52 52
     public function testFromFilesMethod()
53 53
     {
54
-        $_FILES=array(
54
+        $_FILES = array(
55 55
             'testFile1' => array(
56 56
                 'name' => 'testfile1.txt',
57 57
                 'type' => 'text/plain',
Please login to merge, or discard this patch.
module/Core/test/CoreTest/View/Helper/SocialButtonsTest.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -28,7 +28,7 @@
 block discarded – undo
28 28
     public function testExtendsZfAbstractHelper()
29 29
     {
30 30
         $options = new ModuleOptions;
31
-        $target = new SocialButtons($options,[]);
31
+        $target = new SocialButtons($options, []);
32 32
         $this->assertInstanceOf('\Zend\View\Helper\AbstractHelper', $target);
33 33
     }
34 34
 }
35 35
\ No newline at end of file
Please login to merge, or discard this patch.