mirror of
https://github.com/phpseclib/phpseclib.git
synced 2024-11-09 15:20:58 +00:00
Merge pull request #266 from bantu/cs-endfile-newline
CS: Each file MUST end with exactly one newline character * bantu/cs-endfile-newline: CS: Each file MUST end with exactly one newline character
This commit is contained in:
commit
a7106a737e
@ -183,4 +183,3 @@ class Crypt_AES extends Crypt_Rijndael
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -1984,4 +1984,3 @@ class Crypt_Base
|
||||
return $functions;
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -672,4 +672,3 @@ class Crypt_Blowfish extends Crypt_Base
|
||||
$this->inline_crypt = $lambda_functions[$code_hash];
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -1533,4 +1533,3 @@ class Crypt_DES extends Crypt_Base
|
||||
$this->inline_crypt = $lambda_functions[$code_hash];
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -651,4 +651,3 @@ class Crypt_RC2 extends Crypt_Base
|
||||
$this->inline_crypt = $lambda_functions[$code_hash];
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -132,7 +132,6 @@ class Crypt_RC4 extends Crypt_Base
|
||||
*/
|
||||
var $const_namespace = 'RC4';
|
||||
|
||||
|
||||
/**
|
||||
* The mcrypt specific name of the cipher
|
||||
*
|
||||
@ -332,4 +331,3 @@ class Crypt_RC4 extends Crypt_Base
|
||||
return $text;
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -1369,4 +1369,3 @@ class Crypt_Rijndael extends Crypt_Base
|
||||
$this->inline_crypt = $lambda_functions[$code_hash];
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -417,4 +417,3 @@ class Crypt_TripleDES extends Crypt_DES
|
||||
parent::_setupKey();
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -919,4 +919,3 @@ class Crypt_Twofish extends Crypt_Base
|
||||
$this->inline_crypt = $lambda_functions[$code_hash];
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -47,6 +47,9 @@
|
||||
<!-- All code files MUST use only UTF-8 without BOM. -->
|
||||
<rule ref="Generic.Files.ByteOrderMark" />
|
||||
|
||||
<!-- Each file MUST end with exactly one newline character -->
|
||||
<rule ref="PSR2.Files.EndFileNewline" />
|
||||
|
||||
<!-- In the argument list, there MUST NOT be a space before each comma,
|
||||
and there MUST be one space after each comma. -->
|
||||
<rule ref="Squiz.Functions.FunctionDeclarationArgumentSpacing">
|
||||
|
Loading…
Reference in New Issue
Block a user