followed Style CI code styke recommendations

This commit is contained in:
El RIDO
2017-02-26 17:04:08 +01:00
parent b80ce78e01
commit 7277eef7f2
4 changed files with 64 additions and 90 deletions

View File

@@ -1,7 +1,7 @@
<?php
use PrivateBin\Sjcl;
use Eris\Generator;
use PrivateBin\Sjcl;
class SjclTest extends PHPUnit_Framework_TestCase
{
@@ -15,8 +15,7 @@ class SjclTest extends PHPUnit_Framework_TestCase
Generator\string(),
Generator\choose(0,100)
)->then(
function ($pasteArray, $key, $value, $lowInt)
{
function ($pasteArray, $key, $value, $lowInt) {
$paste = Helper::getPasteFromGeneratedArray($pasteArray);
$this->assertTrue(Sjcl::isValid($paste['data']), 'valid sjcl');
$this->assertTrue(Sjcl::isValid($paste['attachment']), 'valid sjcl');