Completed
Push — master ( 5941c4...07ad57 )
by Pierre-Henri
02:11
created
Tests/HandEvaluator/HandFinderTest.php 1 patch
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -18,8 +18,8 @@
 block discarded – undo
18 18
         $cardValidator = $this->getMock('Bourdeau\Bundle\HandEvaluatorBundle\HandEvaluator\CardValidator');
19 19
 
20 20
         $cardValidator->expects($this->any())
21
-                      ->method('areValid')
22
-                      ->willReturn(true);
21
+                        ->method('areValid')
22
+                        ->willReturn(true);
23 23
 
24 24
         $this->handFinder = new HandFinder($cardValidator);
25 25
     }
Please login to merge, or discard this patch.
HandEvaluator/HandFinder.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -563,7 +563,7 @@
 block discarded – undo
563 563
      */
564 564
     private function isHighCard(array $cards)
565 565
     {
566
-        $response[] =  current($cards);
566
+        $response[] = current($cards);
567 567
 
568 568
         return $this->getResponse('High card', 1, $this->getRank($response), $response);
569 569
     }
Please login to merge, or discard this patch.
HandEvaluator/CardValidator.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -28,7 +28,7 @@
 block discarded – undo
28 28
     public function areValid(array $cards)
29 29
     {
30 30
         if (count($cards) != 7) {
31
-             throw new \Exception("It's Texas Holdem! You need 7 cards!");
31
+                throw new \Exception("It's Texas Holdem! You need 7 cards!");
32 32
         }
33 33
 
34 34
         if ($this->areCardsFormatValid($cards) && $this->hasNoCardDuplication($cards)) {
Please login to merge, or discard this patch.