Skip to content

Commit 4c0d11e

Browse files
Update tests, make the setUp method compatible with parent class declaration in orchestra 3.8
1 parent 06c9ea7 commit 4c0d11e

9 files changed

+27
-9
lines changed

tests/Concerns/InvalidateVarnishCacheTests.php

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,10 @@ class InvalidateVarnishCacheTests extends TestCase
2424

2525
/**
2626
* Setup the test environment
27+
*
28+
* @return void
2729
*/
28-
public function setUp()
30+
public function setUp() :void
2931
{
3032
parent::setUp();
3133

tests/Concerns/ManageEtagHeaderTests.php

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,10 @@ class ManageEtagHeaderTests extends TestCase
2424

2525
/**
2626
* Setup the test environment
27+
*
28+
* @return void
2729
*/
28-
public function setUp()
30+
public function setUp() :void
2931
{
3032
parent::setUp();
3133

tests/Concerns/ManageLastModifiedHeaderTests.php

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,10 @@ class ManageLastModifiedHeaderTests extends TestCase
2525

2626
/**
2727
* Setup the test environment
28+
*
29+
* @return void
2830
*/
29-
public function setUp()
31+
public function setUp() :void
3032
{
3133
parent::setUp();
3234

tests/Concerns/ManipulateHttpResponseTests.php

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,8 +32,10 @@ class ManipulateHttpResponseTests extends TestCase
3232

3333
/**
3434
* Setup the test environment
35+
*
36+
* @return void
3537
*/
36-
public function setUp()
38+
public function setUp() :void
3739
{
3840
parent::setUp();
3941

tests/Middleware/CacheableByVarnishTests.php

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,10 @@ class CacheableByVarnishTests extends TestCase
1818

1919
/**
2020
* Setup the test environment
21+
*
22+
* @return void
2123
*/
22-
public function setUp()
24+
public function setUp() :void
2325
{
2426
parent::setUp();
2527

tests/Middleware/UncacheableByVarnishTests.php

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,10 @@ class UncacheableByVarnishTests extends TestCase
1818

1919
/**
2020
* Setup the test environment
21+
*
22+
* @return void
2123
*/
22-
public function setUp()
24+
public function setUp() :void
2325
{
2426
parent::setUp();
2527

tests/TestCase.php

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -140,8 +140,10 @@ protected function prepareException($exception)
140140

141141
/**
142142
* Setup the test environment
143+
*
144+
* @return void
143145
*/
144-
public function setUp()
146+
public function setUp() :void
145147
{
146148
parent::setUp();
147149

tests/VarnishableObserverTests.php

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,10 @@ class VarnishableObserverTests extends TestCase
1010
{
1111
/**
1212
* Setup the test environment
13+
*
14+
* @return void
1315
*/
14-
public function setUp()
16+
public function setUp() :void
1517
{
1618
parent::setUp();
1719

tests/VarnishableServiceTests.php

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,10 @@ class VarnishableServiceTests extends TestCase
1616

1717
/**
1818
* Setup the test environment
19+
*
20+
* @return void
1921
*/
20-
public function setUp()
22+
public function setUp() :void
2123
{
2224
parent::setUp();
2325

0 commit comments

Comments
 (0)