code-standards wrap operators with spaces
This commit is contained in:
parent
1e96faca4c
commit
ff24d0d567
2 changed files with 28 additions and 25 deletions
|
@ -40,6 +40,7 @@ abstract class CacheTest extends DatabaseTest
|
||||||
$this->instance->set('value1', $value);
|
$this->instance->set('value1', $value);
|
||||||
$received = $this->instance->get('value1');
|
$received = $this->instance->get('value1');
|
||||||
$this->assertEquals($value, $received, 'Value received from cache not equal to the original');
|
$this->assertEquals($value, $received, 'Value received from cache not equal to the original');
|
||||||
|
|
||||||
$value = 'ipsum lorum';
|
$value = 'ipsum lorum';
|
||||||
$this->instance->set('value1', $value);
|
$this->instance->set('value1', $value);
|
||||||
$received = $this->instance->get('value1');
|
$received = $this->instance->get('value1');
|
||||||
|
|
|
@ -26,6 +26,7 @@ abstract class MemoryCacheTest extends CacheTest
|
||||||
$this->instance->add('value1', $value);
|
$this->instance->add('value1', $value);
|
||||||
$received = $this->instance->get('value1');
|
$received = $this->instance->get('value1');
|
||||||
$this->assertEquals($value, $received, 'Value received from cache not equal to the original');
|
$this->assertEquals($value, $received, 'Value received from cache not equal to the original');
|
||||||
|
|
||||||
$newValue = 'ipsum lorum';
|
$newValue = 'ipsum lorum';
|
||||||
$this->instance->compareSet('value1', $value, $newValue);
|
$this->instance->compareSet('value1', $value, $newValue);
|
||||||
$received = $this->instance->get('value1');
|
$received = $this->instance->get('value1');
|
||||||
|
@ -39,6 +40,7 @@ abstract class MemoryCacheTest extends CacheTest
|
||||||
$this->instance->add('value1', $value);
|
$this->instance->add('value1', $value);
|
||||||
$received = $this->instance->get('value1');
|
$received = $this->instance->get('value1');
|
||||||
$this->assertEquals($value, $received, 'Value received from cache not equal to the original');
|
$this->assertEquals($value, $received, 'Value received from cache not equal to the original');
|
||||||
|
|
||||||
$newValue = 'ipsum lorum';
|
$newValue = 'ipsum lorum';
|
||||||
$this->instance->compareSet('value1', 'wrong', $newValue);
|
$this->instance->compareSet('value1', 'wrong', $newValue);
|
||||||
$received = $this->instance->get('value1');
|
$received = $this->instance->get('value1');
|
||||||
|
|
Loading…
Reference in a new issue