Skip to content

Commit 5641140

Browse files
Fix PHP CS Fixer errors
1 parent c985c8d commit 5641140

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

tests/CredisStandaloneTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ public function testPersistentvsNonPersistent()
2323
public function testStandAloneArgumentsExtra()
2424
{
2525
$this->assertTrue($this->credis->hMSet('hash', array('field1' => 'value1', 'field2' => 'value2'), 'field3', 'value3'));
26-
$this->assertEquals(array('field1' => 'value1', 'field2' => 'value2', 'field3' =>'value3'), $this->credis->hMGet('hash', array('field1','field2','field3')));
26+
$this->assertEquals(array('field1' => 'value1', 'field2' => 'value2', 'field3' => 'value3'), $this->credis->hMGet('hash', array('field1','field2','field3')));
2727
}
2828

2929
public function testStandAloneMultiPipelineThrowsException()

tests/CredisTest.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -868,11 +868,11 @@ public function testForceStandAloneAfterEstablishedConnection()
868868
}
869869
public function testHscan()
870870
{
871-
$this->credis->hmset('hash', array('name' => 'Jack','age' =>33));
871+
$this->credis->hmset('hash', array('name' => 'Jack','age' => 33));
872872
$iterator = null;
873873
$result = $this->credis->hscan($iterator, 'hash', 'n*', 10);
874874
$this->assertEquals($iterator, 0);
875-
$this->assertEquals($result, ['name'=>'Jack']);
875+
$this->assertEquals($result, ['name' => 'Jack']);
876876
}
877877

878878
public function testHscanEmptyIterator()
@@ -891,7 +891,7 @@ public function testSscan()
891891
$iterator = null;
892892
$result = $this->credis->sscan($iterator, 'set', 'n*', 10);
893893
$this->assertEquals($iterator, 0);
894-
$this->assertEquals($result, [0=>'name']);
894+
$this->assertEquals($result, [0 => 'name']);
895895
}
896896

897897
public function testSscanEmptyIterator()
@@ -910,7 +910,7 @@ public function testZscan()
910910
$iterator = null;
911911
$result = $this->credis->zscan($iterator, 'sortedset', 'n*', 10);
912912
$this->assertEquals($iterator, 0);
913-
$this->assertEquals($result, ['name'=>'0']);
913+
$this->assertEquals($result, ['name' => '0']);
914914
}
915915

916916
public function testZscanEmptyIterator()

0 commit comments

Comments
 (0)