code-standards wrap operators with spaces

This commit is contained in:
Philipp Holzer 2018-07-07 20:51:08 +02:00
parent 1e96faca4c
commit ff24d0d567
No known key found for this signature in database
GPG key ID: 58160D7D6AF942B6
2 changed files with 28 additions and 25 deletions

View file

@ -40,6 +40,7 @@ abstract class CacheTest extends DatabaseTest
$this->instance->set('value1', $value);
$received = $this->instance->get('value1');
$this->assertEquals($value, $received, 'Value received from cache not equal to the original');
$value = 'ipsum lorum';
$this->instance->set('value1', $value);
$received = $this->instance->get('value1');

View file

@ -26,6 +26,7 @@ abstract class MemoryCacheTest extends CacheTest
$this->instance->add('value1', $value);
$received = $this->instance->get('value1');
$this->assertEquals($value, $received, 'Value received from cache not equal to the original');
$newValue = 'ipsum lorum';
$this->instance->compareSet('value1', $value, $newValue);
$received = $this->instance->get('value1');
@ -39,6 +40,7 @@ abstract class MemoryCacheTest extends CacheTest
$this->instance->add('value1', $value);
$received = $this->instance->get('value1');
$this->assertEquals($value, $received, 'Value received from cache not equal to the original');
$newValue = 'ipsum lorum';
$this->instance->compareSet('value1', 'wrong', $newValue);
$received = $this->instance->get('value1');