Skip to content

Commit

Permalink
Laravel 6.0 test has been added on travis; metadata updates
Browse files Browse the repository at this point in the history
  • Loading branch information
fulopattila122 committed Sep 8, 2019
1 parent b4289d0 commit c66dbf0
Show file tree
Hide file tree
Showing 8 changed files with 18 additions and 23 deletions.
15 changes: 2 additions & 13 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,24 +15,13 @@ env:
- ENUM=2 LARAVEL=5.6
- ENUM=2 LARAVEL=5.7
- ENUM=2 LARAVEL=5.8
- ENUM=2 LARAVEL=6.0
- ENUM=3 LARAVEL=5.4
- ENUM=3 LARAVEL=5.5
- ENUM=3 LARAVEL=5.6
- ENUM=3 LARAVEL=5.7
- ENUM=3 LARAVEL=5.8

matrix:
include:
- php: 7.0
env: ENUM=2 LARAVEL=5.0
- php: 7.0
env: ENUM=2 LARAVEL=5.1
- php: 7.0
env: ENUM=2 LARAVEL=5.2
- php: 7.0
env: ENUM=2 LARAVEL=5.3
- php: 7.0
env: ENUM=2 LARAVEL=5.4
- ENUM=3 LARAVEL=6.0

script:
- vendor/bin/phpunit -c phpunit.xml tests/
Expand Down
2 changes: 2 additions & 0 deletions Changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@

- Added make:enum commands (when using in a Laravel application)
- Enum 3.0.0 is supported
- Dropped PHP 7.0 Support
- Added Laravel 6.0 Support
- Updated references to https://konekt.dev/enum website

## 1.2
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
[![Packagist Stable Version](https://img.shields.io/packagist/v/konekt/enum-eloquent.svg?style=flat-square&label=stable)](https://packagist.org/packages/konekt/enum-eloquent)
[![Packagist downloads](https://img.shields.io/packagist/dt/konekt/enum-eloquent.svg?style=flat-square)](https://packagist.org/packages/konekt/enum-eloquent)
[![StyleCI](https://styleci.io/repos/105900484/shield?branch=master)](https://styleci.io/repos/105900484)
[![MIT Software License](https://img.shields.io/badge/license-MIT-blue.svg?style=flat-square)](LICENSE.md)
[![MIT Software License](https://img.shields.io/badge/license-MIT-blue.svg?style=flat-square)](LICENSE)

This package provides support for auto casting [konekt enum](https://konekt.dev/enum) fields in [Eloquent models](https://laravel.com/docs/5.4/eloquent-mutators).

Expand Down
10 changes: 9 additions & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,18 @@
{
"name": "Attila Fulop",
"homepage": "https://github.com/fulopattila122"
},
{
"name": "Semyon Chetvertnyh",
"homepage": "https://github.com/semyonchetvertnyh"
},
{
"name": "Mark Boessenkool",
"homepage": "https://github.com/TheM1984"
}
],
"require": {
"php": ">=7.0.0",
"php": "^7.1.3",
"konekt/enum": "^2.0.2 || ^3.0.0",
"illuminate/database": "5.*"
},
Expand Down
3 changes: 1 addition & 2 deletions tests/Models/OrderStatusV2.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,13 @@
/**
* Contains the OrderStatus class with Enum version 2 default.
*
* @copyright Copyright (c) 2017 Attila Fulop
* @copyright Copyright (c) 2019 Mark Boessenkool
* @author Mark Boessenkool
* @license MIT
* @since 2019-09-03
*
*/


namespace Konekt\Enum\Eloquent\Tests\Models;

use Konekt\Enum\Enum;
Expand Down
3 changes: 1 addition & 2 deletions tests/Models/OrderStatusVX.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,13 @@
/**
* Contains the OrderStatus class with Enum version 2 and 3 default.
*
* @copyright Copyright (c) 2017 Attila Fulop
* @copyright Copyright (c) 2019 Mark Boessenkool
* @author Mark Boessenkool
* @license MIT
* @since 2019-09-03
*
*/


namespace Konekt\Enum\Eloquent\Tests\Models;

use Konekt\Enum\Enum;
Expand Down
3 changes: 1 addition & 2 deletions tests/Models/OrderV2.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,13 @@
/**
* Contains the Order model class for Enum version 2 default.
*
* @copyright Copyright (c) 2017 Attila Fulop
* @copyright Copyright (c) 2019 Mark Boessenkool
* @author Mark Boessenkool
* @license MIT
* @since 2019-09-03
*
*/


namespace Konekt\Enum\Eloquent\Tests\Models;

use Illuminate\Database\Eloquent\Model;
Expand Down
3 changes: 1 addition & 2 deletions tests/Models/OrderVX.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,13 @@
/**
* Contains the Order model class for Enum version 2 and 3 default.
*
* @copyright Copyright (c) 2017 Attila Fulop
* @copyright Copyright (c) 2019 Mark Boessenkool
* @author Mark Boessenkool
* @license MIT
* @since 2019-09-03
*
*/


namespace Konekt\Enum\Eloquent\Tests\Models;

use Illuminate\Database\Eloquent\Model;
Expand Down

0 comments on commit c66dbf0

Please sign in to comment.