Completed
Push — master ( c20e33...3a2a43 )
by Ivannis Suárez
02:35
created
Tests/Asserters/CollectionAsserter.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -160,11 +160,11 @@  discard block
 block discarded – undo
160 160
      */
161 161
     private function checkMatchResult($result)
162 162
     {
163
-        if($result === true && $this->assertAll === false) {
163
+        if ($result === true && $this->assertAll === false) {
164 164
             $this->fail($this->_('At least one items that match with the given criteria'));
165 165
             return false;
166 166
         }
167
-        if($result === false && $this->assertAll === true) {
167
+        if ($result === false && $this->assertAll === true) {
168 168
             $this->fail($this->_('At least one items that not match with the given criteria'));
169 169
             return false;
170 170
         }
@@ -189,7 +189,7 @@  discard block
 block discarded – undo
189 189
     public function isSortedUsing(ComparatorInterface $comparator)
190 190
     {
191 191
         list($item1, $item2) = $this->checkIsSorted($comparator);
192
-        if($item1 !== null && $item2 !== null) {
192
+        if ($item1 !== null && $item2 !== null) {
193 193
             $this->fail(
194 194
                 $this->_("There are items [%s, %s] that aren't ordered in the given collection", $item1, $item2)
195 195
             );
@@ -216,7 +216,7 @@  discard block
 block discarded – undo
216 216
     public function isNotSortedUsing(ComparatorInterface $comparator)
217 217
     {
218 218
         list($item1, $item2) = $this->checkIsSorted($comparator);
219
-        if($item1 !== null && $item2 !== null) {
219
+        if ($item1 !== null && $item2 !== null) {
220 220
             $this->fail($this->_('The given collection is sorted'));
221 221
         } else {
222 222
             $this->pass();
Please login to merge, or discard this patch.