Skip to content

Commit ec77fa2

Browse files
Merge branch 'release/4.0.0'
2 parents 73cf330 + b9f3bcd commit ec77fa2

File tree

5 files changed

+27
-22
lines changed

5 files changed

+27
-22
lines changed

.travis.yml

Lines changed: 6 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,26 +1,24 @@
11
language: php
22

33
php:
4-
- "7.2"
5-
- "7.3"
6-
- 7.4snapshot
4+
- 7.3
5+
- 7.4
6+
- nightly
77

88
cache:
99
directories:
1010
- $HOME/.composer/cache
1111

1212
env:
1313
matrix:
14-
- LARAVEL_VERSION="5.8.*" COMPOSER_FLAGS="--prefer-lowest"
15-
- LARAVEL_VERSION="5.8.*" COMPOSER_FLAGS="--prefer-stable"
16-
- LARAVEL_VERSION="^6.0" COMPOSER_FLAGS="--prefer-lowest"
17-
- LARAVEL_VERSION="^6.0" COMPOSER_FLAGS="--prefer-stable"
14+
- LARAVEL_VERSION="^7.0" COMPOSER_FLAGS="--prefer-lowest"
15+
- LARAVEL_VERSION="^7.0" COMPOSER_FLAGS="--prefer-stable"
1816
- LARAVEL_VERSION="dev-master" ORCHESTRA_VERSION="dev-master" COMPOSER_FLAGS="--prefer-lowest" MINIMUM_STABILITY="dev"
1917
- LARAVEL_VERSION="dev-master" ORCHESTRA_VERSION="dev-master" COMPOSER_FLAGS="--prefer-stable" MINIMUM_STABILITY="dev"
2018

2119
matrix:
2220
allow_failures:
23-
- php: 7.4snapshot
21+
- php: nightly
2422
- env: LARAVEL_VERSION="dev-master" ORCHESTRA_VERSION="dev-master" COMPOSER_FLAGS="--prefer-lowest" MINIMUM_STABILITY="dev"
2523
- env: LARAVEL_VERSION="dev-master" ORCHESTRA_VERSION="dev-master" COMPOSER_FLAGS="--prefer-stable" MINIMUM_STABILITY="dev"
2624
fast_finish: true
@@ -36,7 +34,6 @@ install:
3634
- travis_retry composer update ${COMPOSER_FLAGS} --no-interaction --prefer-dist
3735

3836
script:
39-
- vendor/bin/phpcs --runtime-set ignore_warnings_on_exit 1
4037
- vendor/bin/phpunit
4138

4239
notifications:

CHANGELOG.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,18 @@ All Notable changes to `sebastiaanluca/laravel-boolean-dates` will be documented
44

55
Updates should follow the [Keep a CHANGELOG](http://keepachangelog.com/) principles.
66

7+
## 4.0.0 (2020-04-24)
8+
9+
### Added
10+
11+
- Added support for Laravel 7
12+
13+
### Removed
14+
15+
- Dropped support for Laravel 5
16+
- Dropped support for Laravel 6
17+
- Dropped support for PHP 7.2
18+
719
## 3.0.0 (2019-09-06)
820

921
### Added

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -66,8 +66,8 @@ $user->accepted_terms_and_conditions_at;
6666

6767
## Requirements
6868

69-
- PHP 7.2 or higher
70-
- Laravel 5.8 or higher
69+
- PHP 7.3 or higher
70+
- Laravel 7.0 or higher
7171

7272
## How to install
7373

composer.json

Lines changed: 6 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -24,17 +24,16 @@
2424
}
2525
],
2626
"require": {
27-
"php": "^7.2",
28-
"laravel/framework": "5.8.*|^6.0",
27+
"php": "^7.3",
28+
"laravel/framework": "^7.0",
2929
"nesbot/carbon": "^1.22|^2.0"
3030
},
3131
"require-dev": {
3232
"dms/phpunit-arraysubset-asserts": "^0.1.0",
33-
"kint-php/kint": "^3.1",
34-
"mockery/mockery": "^1.2",
35-
"orchestra/testbench": "3.8.*|^4.0",
36-
"phpunit/phpunit": "^8.3",
37-
"sebastiaanluca/php-codesniffer-ruleset": "^0.4.2"
33+
"kint-php/kint": "^3.3",
34+
"mockery/mockery": "^1.3",
35+
"orchestra/testbench": "^5.1",
36+
"phpunit/phpunit": "^8.5"
3837
},
3938
"autoload": {
4039
"psr-4": {
@@ -58,8 +57,6 @@
5857
},
5958
"scripts": {
6059
"composer-validate": "@composer validate --no-check-all --strict --ansi",
61-
"codesniffer-check": "vendor/bin/phpcs --runtime-set ignore_errors_on_exit 1 --runtime-set ignore_warnings_on_exit 1",
62-
"codesniffer-fix": "vendor/bin/phpcbf --runtime-set ignore_errors_on_exit 1 --runtime-set ignore_warnings_on_exit 1 || exit 0",
6360
"test": "vendor/bin/phpunit",
6461
"test-lowest": [
6562
"composer update --prefer-lowest --prefer-dist --no-interaction --ansi",
@@ -71,7 +68,6 @@
7168
],
7269
"check": [
7370
"@composer-validate",
74-
"@codesniffer-check",
7571
"@test"
7672
]
7773
},

tests/Feature/BooleanArrayTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ public function it returns all attributes() : void
5757
'has_agreed_to_something' => false,
5858

5959
'accepted_terms_at' => null,
60-
'accepted_processing_at' => '2018-01-01 10:42:06',
60+
'accepted_processing_at' => '2018-01-01T10:42:06.000000Z',
6161
'agreed_to_something_at' => null,
6262
];
6363

0 commit comments

Comments
 (0)