Skip to content

Commit

Permalink
Merge pull request #44 from mailjet/php8
Browse files Browse the repository at this point in the history
php 8 support
  • Loading branch information
uavn authored Dec 22, 2020
2 parents 703ed57 + 11d9063 commit e168d36
Show file tree
Hide file tree
Showing 11 changed files with 13 additions and 12 deletions.
1 change: 1 addition & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ language: php
php:
- '7.1'
- '7.2'
- '8.0'
before_install:
- composer install --dev -v --prefer-source
script:
Expand Down
8 changes: 4 additions & 4 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,16 +23,16 @@
}
],
"require": {
"php": "^7.1.3",
"php": "^7.1.3|^8.0",
"laravel/framework": "~5.1|^6.0|^7.0|^8.0",
"mailjet/mailjet-apiv3-php": "^1.2",
"mailjet/mailjet-swiftmailer": "^2.0"
},
"require-dev": {
"fzaninotto/faker": "~1.4",
"mockery/mockery": "0.9.*",
"phpunit/phpunit": "~7.0",
"orchestra/testbench": "3.6"
"mockery/mockery": "0.9.*|^1.0",
"phpunit/phpunit": "~7.0|^8.0",
"orchestra/testbench": "3.6|^4.0|^5.0|^6.0"
},
"autoload": {
"psr-4": {
Expand Down
Binary file added composer.phar
Binary file not shown.
2 changes: 1 addition & 1 deletion tests/Providers/CampaignDraftServiceProviderTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ class CampaignDraftServiceProviderTest extends TestCase
*/
protected $service_provider;

protected function setUp()
protected function setUp(): void
{
$this->setUpMocks();

Expand Down
2 changes: 1 addition & 1 deletion tests/Providers/CampaignServiceProviderTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ class CampaigntServiceProviderTest extends TestCase
*/
protected $service_provider;

protected function setUp()
protected function setUp(): void
{
$this->setUpMocks();

Expand Down
2 changes: 1 addition & 1 deletion tests/Providers/ContactMetadataServiceProviderTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ class ContactMetadataServiceProviderTest extends TestCase
*/
protected $service_provider;

protected function setUp()
protected function setUp(): void
{
$this->setUpMocks();

Expand Down
2 changes: 1 addition & 1 deletion tests/Providers/ContactsListServiceProviderTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ class ContactsListServiceProviderTest extends TestCase
*/
protected $service_provider;

protected function setUp()
protected function setUp(): void
{
$this->setUpMocks();

Expand Down
2 changes: 1 addition & 1 deletion tests/Providers/EventCallbackUrlServiceProviderTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ class EventCallbackUrlServiceProviderTest extends TestCase
*/
protected $service_provider;

protected function setUp()
protected function setUp(): void
{
$this->setUpMocks();

Expand Down
2 changes: 1 addition & 1 deletion tests/Providers/MailjetClientServiceProviderTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ class MailjetClientServiceProviderTest extends TestCase
*/
protected $service_provider;

protected function setUp()
protected function setUp(): void
{
$this->setUpMocks();

Expand Down
2 changes: 1 addition & 1 deletion tests/Providers/TemplateServiceProviderTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ class TemplateServiceProviderTest extends TestCase
*/
protected $service_provider;

protected function setUp()
protected function setUp(): void
{
$this->setUpMocks();

Expand Down
2 changes: 1 addition & 1 deletion tests/Services/MailjetServiceTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ class MailjetServiceTest extends TestCase
*/
private $mailjetService;

public function setUp()
public function setUp(): void
{
parent::setUp();

Expand Down

0 comments on commit e168d36

Please sign in to comment.