Skip to content

Commit 7df2037

Browse files
authored
Merge pull request #11 from dimatock/laravel6
Update dep to laravel 6
2 parents 39a885d + cc0bdd8 commit 7df2037

12 files changed

+16
-16
lines changed

composer.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -19,10 +19,10 @@
1919
"files": ["./tests/helpers.php"]
2020
},
2121
"require": {
22-
"illuminate/support": "^5.6",
23-
"illuminate/database": "^5.6",
24-
"illuminate/config": "^5.6",
25-
"illuminate/http": "^5.6",
22+
"illuminate/support": "^6.0",
23+
"illuminate/database": "^6.0",
24+
"illuminate/config": "^6.0",
25+
"illuminate/http": "^6.0",
2626
"ext-json": "*"
2727
},
2828
"extra": {
@@ -31,7 +31,7 @@
3131
}
3232
},
3333
"require-dev": {
34-
"orchestra/testbench": "~3.6.6",
34+
"orchestra/testbench": "^4.0",
3535
"mockery/mockery": "^1.2",
3636
"phpro/grumphp": "^0.15.0",
3737
"phpmd/phpmd": "^2.6",

tests/ConditionalActionsTestCase.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ class ConditionalActionsTestCase extends OrchestraTestCase
1414
{
1515
use DummyTestHelper;
1616

17-
protected function setUp()
17+
protected function setUp(): void
1818
{
1919
parent::setUp();
2020

tests/EloquentConditionalActionsTestCase.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
class EloquentConditionalActionsTestCase extends ConditionalActionsTestCase
66
{
7-
protected function setUp()
7+
protected function setUp(): void
88
{
99
parent::setUp();
1010
$this->withFactories(realpath(\dirname(__DIR__) . '/tests/database/factories'));

tests/Feature/Entities/Eloquent/ConditionActionTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ class ConditionActionTest extends EloquentConditionalActionsTestCase
1515
/** @var Carbon */
1616
private $now = '2019-01-05 10:00:00';
1717

18-
protected function setUp()
18+
protected function setUp(): void
1919
{
2020
parent::setUp();
2121
Carbon::setTestNow(Carbon::parse($this->now));

tests/Feature/Entities/Eloquent/ConditionTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ class ConditionTest extends EloquentConditionalActionsTestCase
1616
/** @var Carbon */
1717
private $now = '2019-01-05 10:00:00';
1818

19-
protected function setUp()
19+
protected function setUp(): void
2020
{
2121
parent::setUp();
2222
Carbon::setTestNow(Carbon::parse($this->now));

tests/Feature/Http/Conditions/ActionsControllerTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ class ActionsControllerTest extends ConditionalActionsTestCase
2020

2121
private $validParams = ['name' => 'UpdateStateAttributeAction', 'condition_id' => 10];
2222

23-
protected function setUp()
23+
protected function setUp(): void
2424
{
2525
parent::setUp();
2626

tests/Feature/Http/Conditions/ConditionsControllerTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ class ConditionsControllerTest extends ConditionalActionsTestCase
1818
/** @var Mockery\MockInterface */
1919
private $conditionRepositoryMock;
2020

21-
protected function setUp()
21+
protected function setUp(): void
2222
{
2323
parent::setUp();
2424

tests/Feature/Repositories/EloquentActionRepositoryTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ class EloquentActionRepositoryTest extends EloquentConditionalActionsTestCase
2323
'ends_at' => '2019-01-02 20:00:00',
2424
];
2525

26-
protected function setUp()
26+
protected function setUp(): void
2727
{
2828
parent::setUp();
2929

tests/Feature/Repositories/EloquentConditionRepositoryTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ class EloquentConditionRepositoryTest extends EloquentConditionalActionsTestCase
2121
'ends_at' => '2019-01-02 20:00:00',
2222
];
2323

24-
protected function setUp()
24+
protected function setUp(): void
2525
{
2626
parent::setUp();
2727
$this->conditionsRepository = \app(EloquentConditionRepository::class);

tests/Unit/ConditionActionManagerTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ class ConditionActionManagerTest extends ConditionalActionsTestCase
1515
/** @var DummyTarget */
1616
private $target;
1717

18-
protected function setUp()
18+
protected function setUp(): void
1919
{
2020
parent::setUp();
2121
$this->manager = \app(ConditionalActionManager::class);

0 commit comments

Comments
 (0)