From ce2bfd984eaef4e07178be7abe6c9d726e0c2ddc Mon Sep 17 00:00:00 2001 From: terrafrost Date: Sun, 16 Jul 2017 12:09:45 -0500 Subject: [PATCH] Tests: fix CS errors --- tests/Unit/Crypt/TripleDESTest.php | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/tests/Unit/Crypt/TripleDESTest.php b/tests/Unit/Crypt/TripleDESTest.php index 36ad218d..b06ddf3a 100644 --- a/tests/Unit/Crypt/TripleDESTest.php +++ b/tests/Unit/Crypt/TripleDESTest.php @@ -190,11 +190,11 @@ class Unit_Crypt_TripleDESTest extends PhpseclibTestCase // test special case lambda function error public function testCorrectSelfUseInLambda() { - $td = new TripleDES( TripleDES::MODE_ECB ); - $td->setPreferredEngine( TripleDES::ENGINE_INTERNAL ); - for ( $i = 0; $i < 20; $i++ ) { - $td->setKey( str_repeat( 'a', 20 ) . pack( 'V', mt_rand() ) ); - $td->encrypt( str_repeat( 'a', 32 ) ); + $td = new TripleDES(TripleDES::MODE_ECB); + $td->setPreferredEngine(TripleDES::ENGINE_INTERNAL); + for ($i = 0; $i < 20; $i++) { + $td->setKey(str_repeat('a', 20) . pack('V', mt_rand())); + $td->encrypt(str_repeat('a', 32)); } } }