@@ -4,7 +4,7 @@ discard block |
||
4 | 4 | use Pager\Pagination; |
5 | 5 | use PHPUnit\Framework\TestCase; |
6 | 6 | |
7 | -class PaginationTest extends TestCase{ |
|
7 | +class PaginationTest extends TestCase { |
|
8 | 8 | |
9 | 9 | protected $pagination; |
10 | 10 | |
@@ -12,7 +12,7 @@ discard block |
||
12 | 12 | $this->pagination = new Pagination(); |
13 | 13 | } |
14 | 14 | |
15 | - public function tearDown(){ |
|
15 | + public function tearDown() { |
|
16 | 16 | unset($this->pagination); |
17 | 17 | } |
18 | 18 | |
@@ -21,7 +21,7 @@ discard block |
||
21 | 21 | * @covers Pager\Pagination::buildLink |
22 | 22 | * @covers Pager\Pagination::getPage |
23 | 23 | */ |
24 | - public function testCreatePager(){ |
|
24 | + public function testCreatePager() { |
|
25 | 25 | $this->pagination->paging(72, '/test-page'); |
26 | 26 | } |
27 | 27 | |
@@ -30,7 +30,7 @@ discard block |
||
30 | 30 | * @covers Pager\Pagination::buildLink |
31 | 31 | * @covers Pager\Pagination::getPage |
32 | 32 | */ |
33 | - public function testNoPagerNeeded(){ |
|
33 | + public function testNoPagerNeeded() { |
|
34 | 34 | $this->assertEquals('', $this->pagination->paging(10, '/test-page')); |
35 | 35 | $this->markTestIncomplete('Test not yet implemented'); |
36 | 36 | } |
@@ -44,7 +44,7 @@ discard block |
||
44 | 44 | * @covers Pager\Pagination::preLinks |
45 | 45 | * @covers Pager\Pagination::postLinks |
46 | 46 | */ |
47 | - public function testPagerWithArrows(){ |
|
47 | + public function testPagerWithArrows() { |
|
48 | 48 | $this->markTestIncomplete('Test not yet implemented'); |
49 | 49 | } |
50 | 50 | |
@@ -55,7 +55,7 @@ discard block |
||
55 | 55 | * @covers Pager\Pagination::preLinks |
56 | 56 | * @covers Pager\Pagination::postLinks |
57 | 57 | */ |
58 | - public function testPagerWithQueryString(){ |
|
58 | + public function testPagerWithQueryString() { |
|
59 | 59 | $this->markTestIncomplete('Test not yet implemented'); |
60 | 60 | } |
61 | 61 | |
@@ -63,7 +63,7 @@ discard block |
||
63 | 63 | * @covers Pager\Pagination::setPaginationClass |
64 | 64 | * @covers Pager\Pagination::getPaginationClass |
65 | 65 | */ |
66 | - public function testSetPagerClass(){ |
|
66 | + public function testSetPagerClass() { |
|
67 | 67 | $this->assertEquals('pagination', $this->pagination->getPaginationClass()); |
68 | 68 | $this->pagination->setPaginationClass('my-class'); |
69 | 69 | $this->assertNotEquals('pagination', $this->pagination->getPaginationClass()); |
@@ -76,7 +76,7 @@ discard block |
||
76 | 76 | * @covers Pager\Pagination::setPaginationClass |
77 | 77 | * @covers Pager\Pagination::getPaginationClass |
78 | 78 | */ |
79 | - public function testSetActiveClass(){ |
|
79 | + public function testSetActiveClass() { |
|
80 | 80 | $this->assertEquals('active', $this->pagination->getActiveClass()); |
81 | 81 | $this->pagination->setActiveClass('current'); |
82 | 82 | $this->assertNotEquals('active', $this->pagination->getActiveClass()); |