Completed
Push — master ( 863a23...b998b5 )
by Michael
05:14 queued 55s
created
tests/Michaelc/Voting/StvElectionTest.php 1 patch
Unused Use Statements   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -2,9 +2,9 @@
 block discarded – undo
2 2
 
3 3
 namespace Tests\Michaelc\Voting;
4 4
 
5
-use Michaelc\Voting\STV\Election;
6
-use Michaelc\Voting\STV\Candidate;
7 5
 use Michaelc\Voting\STV\Ballot;
6
+use Michaelc\Voting\STV\Candidate;
7
+use Michaelc\Voting\STV\Election;
8 8
 use Michaelc\Voting\STV\VoteHandler;
9 9
 use Psr\Log\LoggerInterface as Logger;
10 10
 
Please login to merge, or discard this patch.
src/Michaelc/Voting/STV/VoteHandler.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -342,7 +342,7 @@
 block discarded – undo
342 342
     public function checkBallotValidity(Ballot $ballot): bool
343 343
     {
344 344
         if (count($ballot->getRanking()) > $this->election->getCandidateCount()) {
345
-            $this->logger->debug('Invalid ballot - number of candidates', ['ballot' => $ballot,]);
345
+            $this->logger->debug('Invalid ballot - number of candidates', ['ballot' => $ballot, ]);
346 346
 
347 347
             return false;
348 348
         } else {
Please login to merge, or discard this patch.