Skip to content

Commit acd13cb

Browse files
authored
Merge pull request #29 from laravel-notification-channels/laravel6
Allow Laravel 6
2 parents 25067ab + 9a8c760 commit acd13cb

File tree

3 files changed

+8
-8
lines changed

3 files changed

+8
-8
lines changed

.travis.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
language: php
22

33
php:
4-
- 5.6
54
- 7.0
65
- 7.1
76
- 7.2
@@ -17,7 +16,7 @@ before_script:
1716
- travis_retry composer update ${COMPOSER_FLAGS} --no-interaction --prefer-source
1817

1918
script:
20-
- phpunit --coverage-text --coverage-clover=coverage.clover
19+
- ./vendor/bin/phpunit --coverage-text --coverage-clover=coverage.clover
2120

2221
after_script:
2322
- wget https://scrutinizer-ci.com/ocular.phar

composer.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -12,14 +12,14 @@
1212
}
1313
],
1414
"require": {
15-
"php": ">=5.6.4",
15+
"php": ">=7.0",
1616
"guzzlehttp/guzzle": "^6.2",
17-
"illuminate/notifications": "~5.3.0|~5.4.0|~5.5.0|~5.6.0|~5.7.0|~5.8.0",
18-
"illuminate/support": "~5.1.0|~5.2.0|~5.3.0|~5.4.0|~5.5.0|~5.6.0|~5.7.0|~5.8.0"
17+
"illuminate/notifications": "~5.3.0|~5.4.0|~5.5.0|~5.6.0|~5.7.0|~5.8.0|^6.0",
18+
"illuminate/support": "~5.1.0|~5.2.0|~5.3.0|~5.4.0|~5.5.0|~5.6.0|~5.7.0|~5.8.0|^6.0"
1919
},
2020
"require-dev": {
21-
"mockery/mockery": "^0.9.5",
22-
"phpunit/phpunit": "5.*"
21+
"mockery/mockery": "^1.2.0",
22+
"phpunit/phpunit": "6.*"
2323
},
2424
"autoload": {
2525
"psr-4": {

tests/PushbulletMessageTest.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,10 @@
22

33
namespace NotificationChannels\Pushbullet\Test;
44

5+
use PHPUnit\Framework\TestCase;
56
use NotificationChannels\Pushbullet\PushbulletMessage;
67

7-
class PushbulletMessageTest extends \PHPUnit_Framework_TestCase
8+
class PushbulletMessageTest extends TestCase
89
{
910
/** @test */
1011
public function message_can_be_instantiated_with_text()

0 commit comments

Comments
 (0)