Skip to content

Commit

Permalink
Only support laravel 5.5
Browse files Browse the repository at this point in the history
  • Loading branch information
ycs77 committed Oct 14, 2019
1 parent ed0892a commit 6665ada
Show file tree
Hide file tree
Showing 9 changed files with 26 additions and 12 deletions.
12 changes: 9 additions & 3 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,15 @@ php:
- 7.2
- 7.3

before_script:
- travis_retry composer self-update
- travis_retry composer install --prefer-source --no-interaction
env:
matrix:
- LARAVEL=5.5.*

matrix:
fast_finish: true

install:
- travis_retry composer require "illuminate/contracts=${LARAVEL}" --dev --prefer-dist --no-interaction --no-suggest

script:
- vendor/bin/phpunit
Expand Down
7 changes: 4 additions & 3 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,13 +20,14 @@
"homepage": "https://github.com/ycs77/laravel-wizard",
"require": {
"php": "^7.0",
"laravel/framework": "^5.5"
"illuminate/contracts": "~5.5",
"laravel/framework": "~5.5"
},
"require-dev": {
"phpunit/phpunit": "~6.0",
"mockery/mockery": "^1.2",
"orchestra/database": "~3.5",
"orchestra/testbench": "~3.5",
"orchestra/database": "~3.5"
"phpunit/phpunit": "^6.0"
},
"autoload": {
"psr-4": {
Expand Down
7 changes: 7 additions & 0 deletions readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ A web setup wizard for Laravel application.

- [Laravel wizard](#laravel-wizard)
- [Table of Contents](#table-of-contents)
- [Version Compatibility](#version-compatibility)
- [Install](#install)
- [Usage](#usage)
- [1. Generate controller and wizard steps](#1-generate-controller-and-wizard-steps)
Expand All @@ -30,6 +31,12 @@ A web setup wizard for Laravel application.
- [Set relationships model](#set-relationships-model)
- [Commands](#commands)

## Version Compatibility

Laravel Wizard | Laravel
:---------------|:----------
1.0.x | 5.5.x

## Install

Via Composer:
Expand Down
2 changes: 1 addition & 1 deletion tests/Feature/HttpTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ class HttpTest extends TestCase
{
use RefreshDatabase;

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

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

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

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

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

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

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

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

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

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

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

Expand Down

0 comments on commit 6665ada

Please sign in to comment.