Skip to content

Commit

Permalink
chore(code-quality): php-cs-fixer
Browse files Browse the repository at this point in the history
  • Loading branch information
Kreyu committed Mar 15, 2024
1 parent 4ea8ab0 commit adaf7de
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 7 deletions.
2 changes: 1 addition & 1 deletion tests/Unit/Pagination/PaginationTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -152,4 +152,4 @@ public function testGetCurrentPageLastItemIndex()

$this->assertSame(100, $pagination->getCurrentPageLastItemIndex());
}
}
}
2 changes: 1 addition & 1 deletion tests/Unit/Persistence/CachePersistenceClearerTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -31,4 +31,4 @@ public function testClearWithNonTagAwareCache()
$clearer = new CachePersistenceClearer($cache);
$clearer->clear(new PersistenceSubjectAggregate('foo', new \stdClass()));
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -26,4 +26,4 @@ public function testProvide(): void
$this->assertSame($provider, $subject);
$this->assertInstanceOf(PersistenceSubjectInterface::class, $subject);
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -55,5 +55,3 @@ private function createProvider(?UserInterface $user = null): TokenStoragePersis
return new TokenStoragePersistenceSubjectProvider($tokenStorage);
}
}


4 changes: 2 additions & 2 deletions tests/Unit/Util/RewindableGeneratorIteratorTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ public function testRewind()
$calls = 0;

$callable = function () use (&$calls) {
$calls++;
++$calls;
yield from [1, 2, 3];
};

Expand All @@ -26,4 +26,4 @@ public function testRewind()
$this->assertEquals(1, $iterator->current());
$this->assertSame(2, $calls);
}
}
}

0 comments on commit adaf7de

Please sign in to comment.