Completed
Pull Request — master (#50)
by
unknown
01:33
created
tests/OpenSSLCryptoTest.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -18,7 +18,7 @@
 block discarded – undo
18 18
 
19 19
         $handler = new OpenSSLCrypto($key, $salt);
20 20
 
21
-        for ($i=0; $i<1000; ++$i) {
21
+        for ($i = 0; $i < 1000; ++$i) {
22 22
             $data = random_bytes(1024 * 4);
23 23
 
24 24
             $this->assertEquals($data, $handler->decrypt($handler->encrypt($data)));
Please login to merge, or discard this patch.
tests/DatabaseStoreTest.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -29,7 +29,7 @@
 block discarded – undo
29 29
 
30 30
     public function testDataCodecIntegrity()
31 31
     {
32
-        for ($i=0; $i<1000; ++$i) {
32
+        for ($i = 0; $i < 1000; ++$i) {
33 33
             $data = random_bytes(1024 * 4);
34 34
 
35 35
             $this->assertEquals($data, DataCodec::decode(DataCodec::encode($data)));
Please login to merge, or discard this patch.
tests/McryptCryptoTest.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -18,7 +18,7 @@
 block discarded – undo
18 18
 
19 19
         $handler = new McryptCrypto($key, $salt);
20 20
 
21
-        for ($i=0; $i<1000; ++$i) {
21
+        for ($i = 0; $i < 1000; ++$i) {
22 22
             $data = random_bytes(1024 * 4);
23 23
 
24 24
             $this->assertEquals($data, $handler->decrypt($handler->encrypt($data)));
Please login to merge, or discard this patch.