rathena / FluxCP

Class method doesn't comply with PSR standards PHP-C1001
Style
Major
a month agoa year old
Class method NTLMResponse() doesn't comply with the PSR standard
 63        );
 64    }
 65
 66    public function NTLMResponse($challenge, $password) 67    {
 68        $unicode = $this->ASCIIToUnicode($password);
 69        $md4 = mhash(MHASH_MD4, $unicode);
Class method ASCIIToUnicode() doesn't comply with the PSR standard
 34        return (1);
 35    }
 36
 37    public function ASCIIToUnicode($ascii) 38    {
 39        for ($unicode = "", $a = 0; $a < strlen($ascii); $a++) {
 40            $unicode .= substr($ascii, $a, 1) . chr(0);
Class method get_lines() doesn't comply with the PSR standard
1081     * @access protected
1082     * @return string
1083     */
1084    protected function get_lines()1085    {
1086        // If the connection is bad, give up straight away
1087        if (!is_resource($this->smtp_conn)) {
Class method client_send() doesn't comply with the PSR standard
 992     * @access public
 993     * @return integer|boolean The number of bytes sent to the server or false on error
 994     */
 995    public function client_send($data) 996    {
 997        $this->edebug("CLIENT -> SERVER: $data", self::DEBUG_CLIENT);
 998        set_error_handler(array($this, 'errorHandler'));
Class method DKIM_Add() doesn't comply with the PSR standard
3868     * @param string $body Body
3869     * @return string
3870     */
3871    public function DKIM_Add($headers_line, $subject, $body)3872    {
3873        $DKIMsignatureType = 'rsa-sha256'; // Signature & hash algorithms
3874        $DKIMcanonicalization = 'relaxed/simple'; // Canonicalization of header/body