Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- >> Lint for application/libraries/email/smtp/smtpworker.php:
- Warning (PHPCS.E.Generic.WhiteSpace.DisallowTabIndent.TabsUsed) Generic.WhiteSpace.DisallowTabIndent.TabsUsed
- Spaces must be used to indent lines; tabs are not allowed
- 39 $tries++;
- 40 $response = SMTPCOMAPI::createSender($login, $password, $label);
- 41 if ((isset($response['status']) && $response['status'] == "active") || $tries == 5) {
- >>> 42 if ((isset($response['status']) && $response['status'] == "active")) {
- 43 $sql = "UPDATE companyEmailAccount
- 44 SET smtpUsername = '".$login."', smtpPassword = '".$password."', smtpSenderID = '".$response['id']."', smtpAccountID = '".$response['account_id']."'
- 45 WHERE companyProfileID = ".$this->companyID;
- Warning (PHPCS.E.Generic.WhiteSpace.ScopeIndent.Incorrect) Generic.WhiteSpace.ScopeIndent.Incorrect
- Line indented incorrectly; expected 16 spaces, found 4
- 39 $tries++;
- 40 $response = SMTPCOMAPI::createSender($login, $password, $label);
- 41 if ((isset($response['status']) && $response['status'] == "active") || $tries == 5) {
- >>> 42 if ((isset($response['status']) && $response['status'] == "active")) {
- 43 $sql = "UPDATE companyEmailAccount
- 44 SET smtpUsername = '".$login."', smtpPassword = '".$password."', smtpSenderID = '".$response['id']."', smtpAccountID = '".$response['account_id']."'
- 45 WHERE companyProfileID = ".$this->companyID;
- Warning (PHPCS.E.Generic.WhiteSpace.DisallowTabIndent.TabsUsed) Generic.WhiteSpace.DisallowTabIndent.TabsUsed
- Spaces must be used to indent lines; tabs are not allowed
- 40 $response = SMTPCOMAPI::createSender($login, $password, $label);
- 41 if ((isset($response['status']) && $response['status'] == "active") || $tries == 5) {
- 42 if ((isset($response['status']) && $response['status'] == "active")) {
- >>> 43 $sql = "UPDATE companyEmailAccount
- 44 SET smtpUsername = '".$login."', smtpPassword = '".$password."', smtpSenderID = '".$response['id']."', smtpAccountID = '".$response['account_id']."'
- 45 WHERE companyProfileID = ".$this->companyID;
- 46 $query = $this->CI->db->query($sql);
- Warning (PHPCS.E.Generic.WhiteSpace.ScopeIndent.Incorrect) Generic.WhiteSpace.ScopeIndent.Incorrect
- Line indented incorrectly; expected at least 20 spaces, found 5
- 40 $response = SMTPCOMAPI::createSender($login, $password, $label);
- 41 if ((isset($response['status']) && $response['status'] == "active") || $tries == 5) {
- 42 if ((isset($response['status']) && $response['status'] == "active")) {
- >>> 43 $sql = "UPDATE companyEmailAccount
- 44 SET smtpUsername = '".$login."', smtpPassword = '".$password."', smtpSenderID = '".$response['id']."', smtpAccountID = '".$response['account_id']."'
- 45 WHERE companyProfileID = ".$this->companyID;
- 46 $query = $this->CI->db->query($sql);
- Warning (PHPCS.E.Generic.WhiteSpace.DisallowTabIndent.TabsUsed) Generic.WhiteSpace.DisallowTabIndent.TabsUsed
- Spaces must be used to indent lines; tabs are not allowed
- 43 $sql = "UPDATE companyEmailAccount
- 44 SET smtpUsername = '".$login."', smtpPassword = '".$password."', smtpSenderID = '".$response['id']."', smtpAccountID = '".$response['account_id']."'
- 45 WHERE companyProfileID = ".$this->companyID;
- >>> 46 $query = $this->CI->db->query($sql);
- 47 }
- 48
- 49 break;
- Warning (PHPCS.E.Generic.WhiteSpace.ScopeIndent.Incorrect) Generic.WhiteSpace.ScopeIndent.Incorrect
- Line indented incorrectly; expected at least 20 spaces, found 5
- 43 $sql = "UPDATE companyEmailAccount
- 44 SET smtpUsername = '".$login."', smtpPassword = '".$password."', smtpSenderID = '".$response['id']."', smtpAccountID = '".$response['account_id']."'
- 45 WHERE companyProfileID = ".$this->companyID;
- >>> 46 $query = $this->CI->db->query($sql);
- 47 }
- 48
- 49 break;
- Warning (PHPCS.E.Generic.WhiteSpace.DisallowTabIndent.TabsUsed) Generic.WhiteSpace.DisallowTabIndent.TabsUsed
- Spaces must be used to indent lines; tabs are not allowed
- 44 SET smtpUsername = '".$login."', smtpPassword = '".$password."', smtpSenderID = '".$response['id']."', smtpAccountID = '".$response['account_id']."'
- 45 WHERE companyProfileID = ".$this->companyID;
- 46 $query = $this->CI->db->query($sql);
- >>> 47 }
- 48
- 49 break;
- 50 }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement