Completed
Push — master ( 73c00d...b8143e )
by Sathish
25:49 queued 10:57
created
src/Page/UserLoginPage.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -41,7 +41,7 @@
 block discarded – undo
41 41
         if ($page = DataObject::get_one(self::class)) {
42 42
             return $page;
43 43
         }
44
-        user_error(_t(__CLASS__ . '.NoPage', 'No CustomerLoginPage was found. 
44
+        user_error(_t(__CLASS__.'.NoPage', 'No CustomerLoginPage was found. 
45 45
             Please create one in the CMS!'), E_USER_ERROR);
46 46
         return null; // just to keep static analysis happy
47 47
     }
Please login to merge, or discard this patch.
src/Page/UserRegistrationPage.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -41,7 +41,7 @@
 block discarded – undo
41 41
         if ($page = DataObject::get_one(self::class)) {
42 42
             return $page;
43 43
         }
44
-        user_error(_t(__CLASS__ . '.NoPage', 'No UserRegistrationPage was found. 
44
+        user_error(_t(__CLASS__.'.NoPage', 'No UserRegistrationPage was found. 
45 45
             Please create one in the CMS!'), E_USER_ERROR);
46 46
         return null; // just to keep static analysis happy
47 47
     }
Please login to merge, or discard this patch.
src/Reports/UserReport.php 2 patches
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -29,7 +29,7 @@
 block discarded – undo
29 29
 {
30 30
     protected $periodfield = '"Member"."Created"';
31 31
 
32
-     // the name of the report
32
+        // the name of the report
33 33
     public function title()
34 34
     {
35 35
         return 'Customer List';
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -99,7 +99,7 @@
 block discarded – undo
99 99
             $filter = "Member.Created <= '$end'";
100 100
         }
101 101
         if ($firstName) {
102
-            $filter = ($filter)? $filter . " AND FirstName Like '%$firstName%'" : "FirstName Like '%$firstName%'";
102
+            $filter = ($filter) ? $filter." AND FirstName Like '%$firstName%'" : "FirstName Like '%$firstName%'";
103 103
         }
104 104
 
105 105
         return $filter;
Please login to merge, or discard this patch.
src/Forms/SignUpForm.php 1 patch
Indentation   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -47,7 +47,7 @@  discard block
 block discarded – undo
47 47
             $signUpPersonal = Member::create();
48 48
             $form->saveInto($signUpPersonal);
49 49
             if (isset($data['DOB']) && $data['DOB']) {
50
-                  $signUpPersonal->DOB = date('Y-m-d', strtotime($data['DOB']));
50
+                    $signUpPersonal->DOB = date('Y-m-d', strtotime($data['DOB']));
51 51
             }
52 52
             $signUpPersonal->write();
53 53
             $Member = Member::get()->byId($signUpPersonal->ID);
@@ -63,10 +63,10 @@  discard block
 block discarded – undo
63 63
     }
64 64
 
65 65
 
66
-     /**
67
-     * @param Controller $controller the controller instance that is being passed to the form
68
-     * @return FieldList Fields for this form.
69
-     */
66
+        /**
67
+         * @param Controller $controller the controller instance that is being passed to the form
68
+         * @return FieldList Fields for this form.
69
+         */
70 70
     protected function getFormFields($controller = null)
71 71
     {
72 72
         $fields = FieldList::create(
Please login to merge, or discard this patch.
src/Forms/ProfileForm.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -55,11 +55,11 @@
 block discarded – undo
55 55
             try {
56 56
                 $form->saveInto($member);
57 57
                 $member->write();
58
-                $msg = $this->getCustomMessage('ProfileUpdateSuccess')!=""
58
+                $msg = $this->getCustomMessage('ProfileUpdateSuccess') != ""
59 59
                     ? $this->getCustomMessage('ProfileUpdateSuccess') : "Profile updated!";
60 60
                 $form->sessionMessage($msg, 'good');
61 61
             } catch (\Exception $e) {
62
-                $msg = $this->getCustomMessage('ProfileUpdatError')!=""
62
+                $msg = $this->getCustomMessage('ProfileUpdatError') != ""
63 63
                     ? $this->getCustomMessage('ProfileUpdatError') : "Technical issue, Profile not updated!";
64 64
                 $form->sessionMessage($msg, 'bad');
65 65
             }
Please login to merge, or discard this patch.
tests/Pages/LostPasswordPageTest.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
     public function testfindlink()
19 19
     {
20 20
        
21
-        $page = $this->get("forgotten-password/");  // attempt to access the Lost Forgot Page
21
+        $page = $this->get("forgotten-password/"); // attempt to access the Lost Forgot Page
22 22
         $this->assertEquals(200, $page->getStatusCode(), "a page should load");
23 23
     }
24 24
 
Please login to merge, or discard this patch.
tests/Extension/UserManagementConfigExtensionTest.php 1 patch
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -74,8 +74,8 @@
 block discarded – undo
74 74
     }
75 75
     
76 76
     /**
77
-   * CMS fields test
78
-   **/
77
+     * CMS fields test
78
+     **/
79 79
     public function testgetCMSFields()
80 80
     {
81 81
        
Please login to merge, or discard this patch.
tests/Extension/LoginHandlerExtensionTest.php 1 patch
Indentation   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -14,9 +14,9 @@
 block discarded – undo
14 14
  */
15 15
 class LoginHandlerExtensionTest extends FunctionalTest
16 16
 {
17
-   /**
18
-   *
19
-   **/
17
+    /**
18
+     *
19
+     **/
20 20
     public function testRedirect()
21 21
     {
22 22
        
Please login to merge, or discard this patch.