Skip to content

Commit

Permalink
Enforce PSR-4 (PHPMailer#1159)
Browse files Browse the repository at this point in the history
  • Loading branch information
Slamdunk authored and Synchro committed Sep 14, 2017
1 parent 8550acd commit 9e05e79
Show file tree
Hide file tree
Showing 4 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion .php_cs
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@ return PhpCsFixer\Config::create()
'phpdoc_add_missing_param_annotation' => true,
'phpdoc_order' => true,
'phpdoc_summary' => false,
'psr4' => false,
'semicolon_after_instruction' => true,
'simplified_null_return' => true,
])
Expand Down
2 changes: 1 addition & 1 deletion src/PHPMailer.php
Original file line number Diff line number Diff line change
Expand Up @@ -2383,7 +2383,7 @@ protected function generateId()
}

//We don't care about messing up base64 format here, just want a random string
return str_replace(['=','+','/'], '', base64_encode(hash('sha256', $bytes, true)));
return str_replace(['=', '+', '/'], '', base64_encode(hash('sha256', $bytes, true)));
}

/**
Expand Down
File renamed without changes.
File renamed without changes.

0 comments on commit 9e05e79

Please sign in to comment.