Skip to content

Commit

Permalink
Merge pull request #8 from aheenam/upgrade-laravel-58
Browse files Browse the repository at this point in the history
[NEW VERSION] Upgrade to Laravel 5.8
  • Loading branch information
rathesDot authored Feb 28, 2019
2 parents 566a2d6 + 582a30c commit 5693caf
Show file tree
Hide file tree
Showing 5 changed files with 21 additions and 7 deletions.
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,5 @@ vendor/
.idea/
composer.lock
.php_cs.cache
build/
build/
.phpunit.result.cache
9 changes: 9 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,15 @@ Changelog
This changelog contains all notable change of the laravel-translatable
package

2.0.0
---

Starting this version this package will do its best to follow semver versions.

- adds support for Laravel 5.8
- drops support for Laravel 5.6
- drops support for PHP 7.1

1.3.0
---

Expand Down
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,10 @@ attributes as jsons
2. [dimsav/laravel-translatable](https://github.com/dimsav/laravel-translatable) expects a new table for
every new model that has translatable attributes

## Requirements

This package require a minimum Laravel version of `5.7` and PHP in version `7.2`

Installation
---
You can install the package via composer:
Expand Down
10 changes: 5 additions & 5 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,13 +10,13 @@
],
"minimum-stability": "stable",
"require": {
"php" : "^7.1",
"illuminate/support": "~5.6.0|~5.7.0",
"illuminate/database": "~5.6.0|~5.7.0"
"php" : "^7.2",
"illuminate/support": "~5.7.0|~5.8.0",
"illuminate/database": "~5.7.0|~5.8.0"
},
"require-dev": {
"phpunit/phpunit": "^7.0",
"orchestra/testbench": "~3.6.0|~3.7.0",
"phpunit/phpunit": "^7.0|^8.0",
"orchestra/testbench": "~3.7.0|~3.8.0",
"mockery/mockery": "^1.1"
},
"autoload": {
Expand Down
2 changes: 1 addition & 1 deletion tests/Testcase.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ abstract class Testcase extends Orchestra
/**
* Setup the test environment.
*/
public function setUp()
public function setUp(): void
{
parent::setUp();

Expand Down

0 comments on commit 5693caf

Please sign in to comment.