Skip to content

Commit f611d4a

Browse files
Upgrade to Laravel 5.8
1 parent 477b45e commit f611d4a

File tree

4 files changed

+22
-11
lines changed

4 files changed

+22
-11
lines changed

.travis.yml

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
language: php
22

33
php:
4-
- 7.2
4+
- "7.2"
5+
- "7.3"
56
- nightly
67

78
cache:
@@ -10,10 +11,8 @@ cache:
1011

1112
env:
1213
matrix:
13-
- LARAVEL_VERSION="5.6.*" COMPOSER_FLAGS="--prefer-lowest"
14-
- LARAVEL_VERSION="5.6.*" COMPOSER_FLAGS="--prefer-stable"
15-
- LARAVEL_VERSION="5.7.*" COMPOSER_FLAGS="--prefer-lowest"
16-
- LARAVEL_VERSION="5.7.*" COMPOSER_FLAGS="--prefer-stable"
14+
- LARAVEL_VERSION="5.8.*" COMPOSER_FLAGS="--prefer-lowest"
15+
- LARAVEL_VERSION="5.8.*" COMPOSER_FLAGS="--prefer-stable"
1716
- LARAVEL_VERSION="dev-master" ORCHESTRA_VERSION="dev-master" COMPOSER_FLAGS="--prefer-lowest" MINIMUM_STABILITY="dev"
1817
- LARAVEL_VERSION="dev-master" ORCHESTRA_VERSION="dev-master" COMPOSER_FLAGS="--prefer-stable" MINIMUM_STABILITY="dev"
1918

CHANGELOG.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,14 @@ Updates should follow the [Keep a CHANGELOG](http://keepachangelog.com/) princip
66

77
## Unreleased
88

9+
### Changed
10+
11+
- Add support for Laravel 5.8 (requires PHP 7.2 or higher)
12+
13+
### Removed
14+
15+
- Dropped support for Laravel 5.7 and lower
16+
917
## 1.1.1 (2018-09-04)
1018

1119
### Fixed

composer.json

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -24,15 +24,16 @@
2424
}
2525
],
2626
"require": {
27-
"laravel/framework": "^5.6",
27+
"laravel/framework": "^5.8",
2828
"nesbot/carbon": "^1.22.1|^2.0",
2929
"php": "^7.2"
3030
},
3131
"require-dev": {
32-
"kint-php/kint": "^2.2",
33-
"mockery/mockery": "^1.1",
34-
"orchestra/testbench": "^3.6",
35-
"phpunit/phpunit": "^7.2"
32+
"dms/phpunit-arraysubset-asserts": "^0.1.0",
33+
"kint-php/kint": "^3.1",
34+
"mockery/mockery": "^1.2",
35+
"orchestra/testbench": "^3.8",
36+
"phpunit/phpunit": "^8.0"
3637
},
3738
"autoload": {
3839
"psr-4": {

tests/Feature/BooleanArrayTest.php

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,14 @@
55
namespace SebastiaanLuca\BooleanDates\Tests\Feature;
66

77
use Carbon\Carbon;
8+
use DMS\PHPUnitExtensions\ArraySubset\ArraySubsetAsserts;
89
use SebastiaanLuca\BooleanDates\Tests\resources\TestModel;
910
use SebastiaanLuca\BooleanDates\Tests\TestCase;
1011

1112
class BooleanArrayTest extends TestCase
1213
{
14+
use ArraySubsetAsserts;
15+
1316
/**
1417
* @test
1518
*/
@@ -58,7 +61,7 @@ public function it returns all attributes() : void
5861
'agreed_to_something_at' => null,
5962
];
6063

61-
$this->assertArraySubset(
64+
static::assertArraySubset(
6265
$expected,
6366
$model->toArray()
6467
);

0 commit comments

Comments
 (0)