diff --git a/phpseclib/Crypt/AES.php b/phpseclib/Crypt/AES.php index e9724ea1..7313e640 100644 --- a/phpseclib/Crypt/AES.php +++ b/phpseclib/Crypt/AES.php @@ -129,7 +129,8 @@ define('CRYPT_AES_MODE_MCRYPT', CRYPT_MODE_MCRYPT); * @access public * @package Crypt_AES */ -class Crypt_AES extends Crypt_Rijndael { +class Crypt_AES extends Crypt_Rijndael +{ /** * The namespace used by the cipher for its constants. * diff --git a/phpseclib/Crypt/Base.php b/phpseclib/Crypt/Base.php index 213ffbec..6c7136cc 100644 --- a/phpseclib/Crypt/Base.php +++ b/phpseclib/Crypt/Base.php @@ -120,7 +120,8 @@ define('CRYPT_MODE_MCRYPT', 2); * @access public * @package Crypt_Base */ -class Crypt_Base { +class Crypt_Base +{ /** * The Encryption Mode * diff --git a/phpseclib/Crypt/Blowfish.php b/phpseclib/Crypt/Blowfish.php index 5f5aebaa..00e06a26 100644 --- a/phpseclib/Crypt/Blowfish.php +++ b/phpseclib/Crypt/Blowfish.php @@ -125,7 +125,8 @@ define('CRYPT_BLOWFISH_MODE_MCRYPT', CRYPT_MODE_MCRYPT); * @access public * @package Crypt_Blowfish */ -class Crypt_Blowfish extends Crypt_Base { +class Crypt_Blowfish extends Crypt_Base +{ /** * Block Length of the cipher * diff --git a/phpseclib/Crypt/DES.php b/phpseclib/Crypt/DES.php index 2236f75e..d8d15893 100644 --- a/phpseclib/Crypt/DES.php +++ b/phpseclib/Crypt/DES.php @@ -143,7 +143,8 @@ define('CRYPT_DES_MODE_MCRYPT', CRYPT_MODE_MCRYPT); * @access public * @package Crypt_DES */ -class Crypt_DES extends Crypt_Base { +class Crypt_DES extends Crypt_Base +{ /** * Block Length of the cipher * diff --git a/phpseclib/Crypt/Hash.php b/phpseclib/Crypt/Hash.php index 165ab0ad..4abae510 100644 --- a/phpseclib/Crypt/Hash.php +++ b/phpseclib/Crypt/Hash.php @@ -80,7 +80,8 @@ define('CRYPT_HASH_MODE_HASH', 3); * @access public * @package Crypt_Hash */ -class Crypt_Hash { +class Crypt_Hash +{ /** * Hash Parameter * diff --git a/phpseclib/Crypt/RC2.php b/phpseclib/Crypt/RC2.php index 736ffa61..872d96cc 100755 --- a/phpseclib/Crypt/RC2.php +++ b/phpseclib/Crypt/RC2.php @@ -120,7 +120,8 @@ define('CRYPT_RC2_MODE_MCRYPT', CRYPT_MODE_MCRYPT); * @access public * @package Crypt_RC2 */ -class Crypt_RC2 extends Crypt_Base { +class Crypt_RC2 extends Crypt_Base +{ /** * Block Length of the cipher * diff --git a/phpseclib/Crypt/RC4.php b/phpseclib/Crypt/RC4.php index c156d596..38e778cf 100644 --- a/phpseclib/Crypt/RC4.php +++ b/phpseclib/Crypt/RC4.php @@ -99,7 +99,8 @@ define('CRYPT_RC4_DECRYPT', 1); * @access public * @package Crypt_RC4 */ -class Crypt_RC4 extends Crypt_Base { +class Crypt_RC4 extends Crypt_Base +{ /** * Block Length of the cipher * diff --git a/phpseclib/Crypt/RSA.php b/phpseclib/Crypt/RSA.php index d36c5f74..0ae214d2 100644 --- a/phpseclib/Crypt/RSA.php +++ b/phpseclib/Crypt/RSA.php @@ -244,7 +244,8 @@ define('CRYPT_RSA_PUBLIC_FORMAT_PKCS1', 7); * @access public * @package Crypt_RSA */ -class Crypt_RSA { +class Crypt_RSA +{ /** * Precomputed Zero * diff --git a/phpseclib/Crypt/Rijndael.php b/phpseclib/Crypt/Rijndael.php index 206528a8..9e77f056 100644 --- a/phpseclib/Crypt/Rijndael.php +++ b/phpseclib/Crypt/Rijndael.php @@ -140,7 +140,8 @@ define('CRYPT_RIJNDAEL_MODE_MCRYPT', CRYPT_MODE_MCRYPT); * @access public * @package Crypt_Rijndael */ -class Crypt_Rijndael extends Crypt_Base { +class Crypt_Rijndael extends Crypt_Base +{ /** * The default password key_size used by setPassword() * diff --git a/phpseclib/Crypt/TripleDES.php b/phpseclib/Crypt/TripleDES.php index 738497b3..8eb69005 100644 --- a/phpseclib/Crypt/TripleDES.php +++ b/phpseclib/Crypt/TripleDES.php @@ -81,7 +81,8 @@ define('CRYPT_DES_MODE_CBC3', CRYPT_DES_MODE_CBC); * @access public * @package Crypt_TripleDES */ -class Crypt_TripleDES extends Crypt_DES { +class Crypt_TripleDES extends Crypt_DES +{ /** * The default password key_size used by setPassword() * diff --git a/phpseclib/Crypt/Twofish.php b/phpseclib/Crypt/Twofish.php index 07ec9851..6c0cb181 100644 --- a/phpseclib/Crypt/Twofish.php +++ b/phpseclib/Crypt/Twofish.php @@ -125,7 +125,8 @@ define('CRYPT_TWOFISH_MODE_MCRYPT', CRYPT_MODE_MCRYPT); * @access public * @package Crypt_Twofish */ -class Crypt_Twofish extends Crypt_Base { +class Crypt_Twofish extends Crypt_Base +{ /** * The namespace used by the cipher for its constants. * diff --git a/phpseclib/File/ANSI.php b/phpseclib/File/ANSI.php index b64ea5aa..4649c0cd 100644 --- a/phpseclib/File/ANSI.php +++ b/phpseclib/File/ANSI.php @@ -44,7 +44,8 @@ * @access public * @package File_ANSI */ -class File_ANSI { +class File_ANSI +{ /** * Max Width * diff --git a/phpseclib/File/ASN1.php b/phpseclib/File/ASN1.php index 37199d26..a0457341 100644 --- a/phpseclib/File/ASN1.php +++ b/phpseclib/File/ASN1.php @@ -115,7 +115,8 @@ define('FILE_ASN1_TYPE_ANY', -2); * @access public * @package File_ASN1 */ -class File_ASN1_Element { +class File_ASN1_Element +{ /** * Raw element value * @@ -145,7 +146,8 @@ class File_ASN1_Element { * @access public * @package File_ASN1 */ -class File_ASN1 { +class File_ASN1 +{ /** * ASN.1 object identifier * diff --git a/phpseclib/File/X509.php b/phpseclib/File/X509.php index 3408165e..7d93a3a3 100644 --- a/phpseclib/File/X509.php +++ b/phpseclib/File/X509.php @@ -128,7 +128,8 @@ define('FILE_X509_ATTR_REPLACE', -3); // Clear first, then add a value. * @access public * @package File_X509 */ -class File_X509 { +class File_X509 +{ /** * ASN.1 syntax for X.509 certificates * diff --git a/phpseclib/Math/BigInteger.php b/phpseclib/Math/BigInteger.php index 0348e8bb..215a9a85 100644 --- a/phpseclib/Math/BigInteger.php +++ b/phpseclib/Math/BigInteger.php @@ -178,7 +178,8 @@ define('MATH_BIGINTEGER_KARATSUBA_CUTOFF', 25); * @access public * @package Math_BigInteger */ -class Math_BigInteger { +class Math_BigInteger +{ /** * Holds the BigInteger's value. * diff --git a/phpseclib/Net/SCP.php b/phpseclib/Net/SCP.php index 11bdd53b..77c98750 100644 --- a/phpseclib/Net/SCP.php +++ b/phpseclib/Net/SCP.php @@ -86,7 +86,8 @@ define('NET_SCP_SSH2', 2); * @access public * @package Net_SCP */ -class Net_SCP { +class Net_SCP +{ /** * SSH Object * diff --git a/phpseclib/Net/SFTP.php b/phpseclib/Net/SFTP.php index a73850c5..86b71650 100644 --- a/phpseclib/Net/SFTP.php +++ b/phpseclib/Net/SFTP.php @@ -120,7 +120,8 @@ define('NET_SFTP_RESUME_START', 8); * @access public * @package Net_SFTP */ -class Net_SFTP extends Net_SSH2 { +class Net_SFTP extends Net_SSH2 +{ /** * Packet Types * diff --git a/phpseclib/Net/SFTP/Stream.php b/phpseclib/Net/SFTP/Stream.php index 7339df22..1bc8c6cc 100644 --- a/phpseclib/Net/SFTP/Stream.php +++ b/phpseclib/Net/SFTP/Stream.php @@ -41,7 +41,8 @@ * @access public * @package Net_SFTP_Stream */ -class Net_SFTP_Stream { +class Net_SFTP_Stream +{ /** * SFTP instances * diff --git a/phpseclib/Net/SSH1.php b/phpseclib/Net/SSH1.php index 46f4dba9..4098b3fa 100644 --- a/phpseclib/Net/SSH1.php +++ b/phpseclib/Net/SSH1.php @@ -230,7 +230,8 @@ define('NET_SSH1_READ_REGEX', 2); * @access public * @package Net_SSH1 */ -class Net_SSH1 { +class Net_SSH1 +{ /** * The SSH identifier * diff --git a/phpseclib/Net/SSH2.php b/phpseclib/Net/SSH2.php index e9d11319..c0c2def4 100644 --- a/phpseclib/Net/SSH2.php +++ b/phpseclib/Net/SSH2.php @@ -148,7 +148,8 @@ define('NET_SSH2_LOG_MAX_SIZE', 1024 * 1024); * @access public * @package Net_SSH2 */ -class Net_SSH2 { +class Net_SSH2 +{ /** * The SSH identifier * diff --git a/tests/code_sniffer_ruleset.xml b/tests/code_sniffer_ruleset.xml index 3a7633a2..8a39c0ca 100644 --- a/tests/code_sniffer_ruleset.xml +++ b/tests/code_sniffer_ruleset.xml @@ -13,7 +13,6 @@ 0 0 0 - 0 0 0 0