mirror of
https://github.com/danog/phpseclib.git
synced 2024-12-12 09:09:39 +01:00
Merge branch 'master' into php5
* master: CodeSniffer: Fix PEAR.Classes.ClassDeclaration.OpenBraceNewLine sniff.
This commit is contained in:
commit
803042e11e
@ -129,7 +129,8 @@ define('CRYPT_AES_MODE_MCRYPT', CRYPT_MODE_MCRYPT);
|
|||||||
* @access public
|
* @access public
|
||||||
* @package Crypt_AES
|
* @package Crypt_AES
|
||||||
*/
|
*/
|
||||||
class Crypt_AES extends Crypt_Rijndael {
|
class Crypt_AES extends Crypt_Rijndael
|
||||||
|
{
|
||||||
/**
|
/**
|
||||||
* The namespace used by the cipher for its constants.
|
* The namespace used by the cipher for its constants.
|
||||||
*
|
*
|
||||||
|
@ -120,7 +120,8 @@ define('CRYPT_MODE_MCRYPT', 2);
|
|||||||
* @access public
|
* @access public
|
||||||
* @package Crypt_Base
|
* @package Crypt_Base
|
||||||
*/
|
*/
|
||||||
class Crypt_Base {
|
class Crypt_Base
|
||||||
|
{
|
||||||
/**
|
/**
|
||||||
* The Encryption Mode
|
* The Encryption Mode
|
||||||
*
|
*
|
||||||
|
@ -125,7 +125,8 @@ define('CRYPT_BLOWFISH_MODE_MCRYPT', CRYPT_MODE_MCRYPT);
|
|||||||
* @access public
|
* @access public
|
||||||
* @package Crypt_Blowfish
|
* @package Crypt_Blowfish
|
||||||
*/
|
*/
|
||||||
class Crypt_Blowfish extends Crypt_Base {
|
class Crypt_Blowfish extends Crypt_Base
|
||||||
|
{
|
||||||
/**
|
/**
|
||||||
* Block Length of the cipher
|
* Block Length of the cipher
|
||||||
*
|
*
|
||||||
|
@ -143,7 +143,8 @@ define('CRYPT_DES_MODE_MCRYPT', CRYPT_MODE_MCRYPT);
|
|||||||
* @access public
|
* @access public
|
||||||
* @package Crypt_DES
|
* @package Crypt_DES
|
||||||
*/
|
*/
|
||||||
class Crypt_DES extends Crypt_Base {
|
class Crypt_DES extends Crypt_Base
|
||||||
|
{
|
||||||
/**
|
/**
|
||||||
* Block Length of the cipher
|
* Block Length of the cipher
|
||||||
*
|
*
|
||||||
|
@ -80,7 +80,8 @@ define('CRYPT_HASH_MODE_HASH', 3);
|
|||||||
* @access public
|
* @access public
|
||||||
* @package Crypt_Hash
|
* @package Crypt_Hash
|
||||||
*/
|
*/
|
||||||
class Crypt_Hash {
|
class Crypt_Hash
|
||||||
|
{
|
||||||
/**
|
/**
|
||||||
* Hash Parameter
|
* Hash Parameter
|
||||||
*
|
*
|
||||||
|
@ -120,7 +120,8 @@ define('CRYPT_RC2_MODE_MCRYPT', CRYPT_MODE_MCRYPT);
|
|||||||
* @access public
|
* @access public
|
||||||
* @package Crypt_RC2
|
* @package Crypt_RC2
|
||||||
*/
|
*/
|
||||||
class Crypt_RC2 extends Crypt_Base {
|
class Crypt_RC2 extends Crypt_Base
|
||||||
|
{
|
||||||
/**
|
/**
|
||||||
* Block Length of the cipher
|
* Block Length of the cipher
|
||||||
*
|
*
|
||||||
|
@ -99,7 +99,8 @@ define('CRYPT_RC4_DECRYPT', 1);
|
|||||||
* @access public
|
* @access public
|
||||||
* @package Crypt_RC4
|
* @package Crypt_RC4
|
||||||
*/
|
*/
|
||||||
class Crypt_RC4 extends Crypt_Base {
|
class Crypt_RC4 extends Crypt_Base
|
||||||
|
{
|
||||||
/**
|
/**
|
||||||
* Block Length of the cipher
|
* Block Length of the cipher
|
||||||
*
|
*
|
||||||
|
@ -244,7 +244,8 @@ define('CRYPT_RSA_PUBLIC_FORMAT_PKCS1', 7);
|
|||||||
* @access public
|
* @access public
|
||||||
* @package Crypt_RSA
|
* @package Crypt_RSA
|
||||||
*/
|
*/
|
||||||
class Crypt_RSA {
|
class Crypt_RSA
|
||||||
|
{
|
||||||
/**
|
/**
|
||||||
* Precomputed Zero
|
* Precomputed Zero
|
||||||
*
|
*
|
||||||
|
@ -140,7 +140,8 @@ define('CRYPT_RIJNDAEL_MODE_MCRYPT', CRYPT_MODE_MCRYPT);
|
|||||||
* @access public
|
* @access public
|
||||||
* @package Crypt_Rijndael
|
* @package Crypt_Rijndael
|
||||||
*/
|
*/
|
||||||
class Crypt_Rijndael extends Crypt_Base {
|
class Crypt_Rijndael extends Crypt_Base
|
||||||
|
{
|
||||||
/**
|
/**
|
||||||
* The default password key_size used by setPassword()
|
* The default password key_size used by setPassword()
|
||||||
*
|
*
|
||||||
|
@ -81,7 +81,8 @@ define('CRYPT_DES_MODE_CBC3', CRYPT_DES_MODE_CBC);
|
|||||||
* @access public
|
* @access public
|
||||||
* @package Crypt_TripleDES
|
* @package Crypt_TripleDES
|
||||||
*/
|
*/
|
||||||
class Crypt_TripleDES extends Crypt_DES {
|
class Crypt_TripleDES extends Crypt_DES
|
||||||
|
{
|
||||||
/**
|
/**
|
||||||
* The default password key_size used by setPassword()
|
* The default password key_size used by setPassword()
|
||||||
*
|
*
|
||||||
|
@ -125,7 +125,8 @@ define('CRYPT_TWOFISH_MODE_MCRYPT', CRYPT_MODE_MCRYPT);
|
|||||||
* @access public
|
* @access public
|
||||||
* @package Crypt_Twofish
|
* @package Crypt_Twofish
|
||||||
*/
|
*/
|
||||||
class Crypt_Twofish extends Crypt_Base {
|
class Crypt_Twofish extends Crypt_Base
|
||||||
|
{
|
||||||
/**
|
/**
|
||||||
* The namespace used by the cipher for its constants.
|
* The namespace used by the cipher for its constants.
|
||||||
*
|
*
|
||||||
|
@ -44,7 +44,8 @@
|
|||||||
* @access public
|
* @access public
|
||||||
* @package File_ANSI
|
* @package File_ANSI
|
||||||
*/
|
*/
|
||||||
class File_ANSI {
|
class File_ANSI
|
||||||
|
{
|
||||||
/**
|
/**
|
||||||
* Max Width
|
* Max Width
|
||||||
*
|
*
|
||||||
|
@ -115,7 +115,8 @@ define('FILE_ASN1_TYPE_ANY', -2);
|
|||||||
* @access public
|
* @access public
|
||||||
* @package File_ASN1
|
* @package File_ASN1
|
||||||
*/
|
*/
|
||||||
class File_ASN1_Element {
|
class File_ASN1_Element
|
||||||
|
{
|
||||||
/**
|
/**
|
||||||
* Raw element value
|
* Raw element value
|
||||||
*
|
*
|
||||||
@ -145,7 +146,8 @@ class File_ASN1_Element {
|
|||||||
* @access public
|
* @access public
|
||||||
* @package File_ASN1
|
* @package File_ASN1
|
||||||
*/
|
*/
|
||||||
class File_ASN1 {
|
class File_ASN1
|
||||||
|
{
|
||||||
/**
|
/**
|
||||||
* ASN.1 object identifier
|
* ASN.1 object identifier
|
||||||
*
|
*
|
||||||
|
@ -128,7 +128,8 @@ define('FILE_X509_ATTR_REPLACE', -3); // Clear first, then add a value.
|
|||||||
* @access public
|
* @access public
|
||||||
* @package File_X509
|
* @package File_X509
|
||||||
*/
|
*/
|
||||||
class File_X509 {
|
class File_X509
|
||||||
|
{
|
||||||
/**
|
/**
|
||||||
* ASN.1 syntax for X.509 certificates
|
* ASN.1 syntax for X.509 certificates
|
||||||
*
|
*
|
||||||
|
@ -178,7 +178,8 @@ define('MATH_BIGINTEGER_KARATSUBA_CUTOFF', 25);
|
|||||||
* @access public
|
* @access public
|
||||||
* @package Math_BigInteger
|
* @package Math_BigInteger
|
||||||
*/
|
*/
|
||||||
class Math_BigInteger {
|
class Math_BigInteger
|
||||||
|
{
|
||||||
/**
|
/**
|
||||||
* Holds the BigInteger's value.
|
* Holds the BigInteger's value.
|
||||||
*
|
*
|
||||||
|
@ -86,7 +86,8 @@ define('NET_SCP_SSH2', 2);
|
|||||||
* @access public
|
* @access public
|
||||||
* @package Net_SCP
|
* @package Net_SCP
|
||||||
*/
|
*/
|
||||||
class Net_SCP {
|
class Net_SCP
|
||||||
|
{
|
||||||
/**
|
/**
|
||||||
* SSH Object
|
* SSH Object
|
||||||
*
|
*
|
||||||
|
@ -120,7 +120,8 @@ define('NET_SFTP_RESUME_START', 8);
|
|||||||
* @access public
|
* @access public
|
||||||
* @package Net_SFTP
|
* @package Net_SFTP
|
||||||
*/
|
*/
|
||||||
class Net_SFTP extends Net_SSH2 {
|
class Net_SFTP extends Net_SSH2
|
||||||
|
{
|
||||||
/**
|
/**
|
||||||
* Packet Types
|
* Packet Types
|
||||||
*
|
*
|
||||||
|
@ -41,7 +41,8 @@
|
|||||||
* @access public
|
* @access public
|
||||||
* @package Net_SFTP_Stream
|
* @package Net_SFTP_Stream
|
||||||
*/
|
*/
|
||||||
class Net_SFTP_Stream {
|
class Net_SFTP_Stream
|
||||||
|
{
|
||||||
/**
|
/**
|
||||||
* SFTP instances
|
* SFTP instances
|
||||||
*
|
*
|
||||||
|
@ -230,7 +230,8 @@ define('NET_SSH1_READ_REGEX', 2);
|
|||||||
* @access public
|
* @access public
|
||||||
* @package Net_SSH1
|
* @package Net_SSH1
|
||||||
*/
|
*/
|
||||||
class Net_SSH1 {
|
class Net_SSH1
|
||||||
|
{
|
||||||
/**
|
/**
|
||||||
* The SSH identifier
|
* The SSH identifier
|
||||||
*
|
*
|
||||||
|
@ -148,7 +148,8 @@ define('NET_SSH2_LOG_MAX_SIZE', 1024 * 1024);
|
|||||||
* @access public
|
* @access public
|
||||||
* @package Net_SSH2
|
* @package Net_SSH2
|
||||||
*/
|
*/
|
||||||
class Net_SSH2 {
|
class Net_SSH2
|
||||||
|
{
|
||||||
/**
|
/**
|
||||||
* The SSH identifier
|
* The SSH identifier
|
||||||
*
|
*
|
||||||
|
@ -13,7 +13,6 @@
|
|||||||
<rule ref="Generic.Functions.FunctionCallArgumentSpacing.NoSpaceAfterComma"><severity>0</severity></rule>
|
<rule ref="Generic.Functions.FunctionCallArgumentSpacing.NoSpaceAfterComma"><severity>0</severity></rule>
|
||||||
<rule ref="PEAR.NamingConventions.ValidFunctionName.FunctionNoCapital"><severity>0</severity></rule>
|
<rule ref="PEAR.NamingConventions.ValidFunctionName.FunctionNoCapital"><severity>0</severity></rule>
|
||||||
<rule ref="PEAR.NamingConventions.ValidFunctionName.NotCamelCaps"><severity>0</severity></rule>
|
<rule ref="PEAR.NamingConventions.ValidFunctionName.NotCamelCaps"><severity>0</severity></rule>
|
||||||
<rule ref="PEAR.Classes.ClassDeclaration.OpenBraceNewLine"><severity>0</severity></rule>
|
|
||||||
<rule ref="PEAR.Commenting.ClassComment.InvalidVersion"><severity>0</severity></rule>
|
<rule ref="PEAR.Commenting.ClassComment.InvalidVersion"><severity>0</severity></rule>
|
||||||
<rule ref="PEAR.Commenting.ClassComment.MissingTag"><severity>0</severity></rule>
|
<rule ref="PEAR.Commenting.ClassComment.MissingTag"><severity>0</severity></rule>
|
||||||
<rule ref="PEAR.Commenting.ClassComment.WrongTagOrder"><severity>0</severity></rule>
|
<rule ref="PEAR.Commenting.ClassComment.WrongTagOrder"><severity>0</severity></rule>
|
||||||
|
Loading…
Reference in New Issue
Block a user