Skip to content

Commit

Permalink
Merge pull request #60 from laravel-notification-channels/6.0
Browse files Browse the repository at this point in the history
Add support for Laravel 6.0
  • Loading branch information
dwightwatson committed Sep 5, 2019
2 parents 4c696d4 + 900e838 commit 61b7270
Show file tree
Hide file tree
Showing 7 changed files with 14 additions and 15 deletions.
3 changes: 1 addition & 2 deletions .travis.yml
@@ -1,9 +1,8 @@
language: php

php:
- 7.0
- 7.1
- 7.2
- 7.3

env:
matrix:
Expand Down
16 changes: 8 additions & 8 deletions composer.json
Expand Up @@ -11,18 +11,18 @@
}
],
"require": {
"php": ">=7.0.0",
"illuminate/config": "^5.5",
"illuminate/events": "^5.5",
"illuminate/notifications": "^5.5",
"illuminate/support": "^5.5",
"illuminate/queue": "^5.5",
"php": "^7.2",
"illuminate/config": "^6.0",
"illuminate/events": "^6.0",
"illuminate/notifications": "^6.0",
"illuminate/support": "^6.0",
"illuminate/queue": "^6.0",
"zendframework/zendservice-apple-apns": "^1.2"
},
"require-dev": {
"mockery/mockery": "~1.0",
"phpunit/phpunit": "~6.0",
"squizlabs/php_codesniffer": "~3.0"
"phpunit/phpunit": "~8.0",
"squizlabs/php_codesniffer": "~3.4"
},
"autoload": {
"psr-4": {
Expand Down
2 changes: 1 addition & 1 deletion phpunit.xml.dist
Expand Up @@ -22,7 +22,7 @@
<logging>
<log type="tap" target="build/report.tap"/>
<log type="junit" target="build/report.junit.xml"/>
<log type="coverage-html" target="build/coverage" charset="UTF-8" yui="true" highlight="true"/>
<log type="coverage-html" target="build/coverage"/>
<log type="coverage-text" target="build/coverage.txt"/>
<log type="coverage-clover" target="build/logs/clover.xml"/>
</logging>
Expand Down
2 changes: 1 addition & 1 deletion tests/ApnChannelTest.php
Expand Up @@ -27,7 +27,7 @@ class ChannelTest extends TestCase
/** @var ApnChannel */
protected $channel;

public function setUp()
public function setUp(): void
{
$this->client = Mockery::mock(Client::class);
$this->events = Mockery::mock(Dispatcher::class);
Expand Down
2 changes: 1 addition & 1 deletion tests/ApnCredentialsTest.php
Expand Up @@ -4,7 +4,7 @@

class ApnCredentialsTest extends TestCase
{
public function setUp()
public function setUp(): void
{
parent::setUp();

Expand Down
2 changes: 1 addition & 1 deletion tests/FeedbackServiceTest.php
Expand Up @@ -20,7 +20,7 @@ class FeedbackServiceTest extends TestCase
/** @var ApnChannel */
protected $channel;

public function setUp()
public function setUp(): void
{
$this->client = Mockery::mock(Client::class);
$this->credentials = $this->getTestCredentials();
Expand Down
2 changes: 1 addition & 1 deletion tests/TestCase.php
Expand Up @@ -8,7 +8,7 @@

abstract class TestCase extends BaseTestCase
{
public function tearDown()
public function tearDown(): void
{
parent::tearDown();

Expand Down

0 comments on commit 61b7270

Please sign in to comment.