Skip to content

Commit

Permalink
Merge pull request #10 from imliam/laravel-7-support
Browse files Browse the repository at this point in the history
Laravel 7 Support
  • Loading branch information
imliam authored Mar 5, 2020
2 parents 8a30f45 + b78f674 commit 001d3c1
Show file tree
Hide file tree
Showing 8 changed files with 10 additions and 52 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,11 @@ jobs:
max-parallel: 15
fail-fast: false
matrix:
php-versions: ['7.1', '7.2', '7.3']
php-versions: ['7.2', '7.3', '7.4']
composer-flags: ['--prefer-lowest', '--prefer-stable']
env:
- LARAVEL_VERSION='5.7.*' TESTBENCH_VERSION='3.8.*'
- LARAVEL_VERSION='5.8.*' TESTBENCH_VERSION='3.8.*'
- LARAVEL_VERSION='^6.0' TESTBENCH_VERSION='^4.0'
- LARAVEL_VERSION='^7.0' TESTBENCH_VERSION='^5.0'
name: Test on PHP ${{ matrix.php-versions }}, Laravel ${{ matrix.laravel-versions }} and ${{ matrix.composer-flags }}
steps:
- name: Checkout
Expand Down
18 changes: 0 additions & 18 deletions .scrutinizer.yml

This file was deleted.

21 changes: 0 additions & 21 deletions .travis.yml

This file was deleted.

3 changes: 1 addition & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,7 @@

[![Latest Version on Packagist](https://img.shields.io/packagist/v/imliam/laravel-blade-helper.svg)](https://packagist.org/packages/imliam/laravel-blade-helper)
[![Build Status](https://img.shields.io/travis/imliam/laravel-blade-helper.svg)](https://travis-ci.org/imliam/laravel-blade-helper)
![Code Quality](https://img.shields.io/scrutinizer/g/imliam/laravel-blade-helper.svg)
![Code Coverage](https://img.shields.io/scrutinizer/coverage/g/imliam/laravel-blade-helper.svg)
[![CI Status](https://github.com/imliam/laravel-blade-helper/workflows/Run%20Tests/badge.svg)](https://github.com/imliam/laravel-blade-helper/actions)
[![Total Downloads](https://img.shields.io/packagist/dt/imliam/laravel-blade-helper.svg)](https://packagist.org/packages/imliam/laravel-blade-helper)
[![License](https://img.shields.io/github/license/imliam/laravel-blade-helper.svg)](LICENSE.md)

Expand Down
8 changes: 4 additions & 4 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,13 +16,13 @@
"role": "Developer"
}],
"require": {
"php": "^7.1",
"illuminate/support": "^5.5|^6.0"
"php": "^7.2",
"illuminate/support": "^6.0|^7.0"
},
"require-dev": {
"phpunit/phpunit": "^7.0|^8.0",
"phpunit/phpunit": "^7.0|^8.0|^9.0",
"larapack/dd": "^1.0",
"orchestra/testbench": "^3.6|^4.0",
"orchestra/testbench": "^4.0|^5.0",
"mockery/mockery": "^1.0"
},
"autoload": {
Expand Down
1 change: 0 additions & 1 deletion phpunit.xml.dist
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@
</whitelist>
</filter>
<logging>
<log type="tap" target="build/report.tap"/>
<log type="junit" target="build/report.junit.xml"/>
<log type="coverage-html" target="build/coverage"/>
<log type="coverage-text" target="build/coverage.txt"/>
Expand Down
2 changes: 1 addition & 1 deletion tests/TestCase.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@

namespace ImLiam\BladeHelper\Tests;

use Orchestra\Testbench\TestCase as BaseTestCase;
use ImLiam\BladeHelper\BladeHelperServiceProvider;
use Orchestra\Testbench\TestCase as BaseTestCase;

abstract class TestCase extends BaseTestCase
{
Expand Down
4 changes: 2 additions & 2 deletions tests/Unit/BladeHelperTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@

namespace ImLiam\BladeHelper\Tests\Unit;

use Mockery as m;
use Illuminate\View\Compilers\BladeCompiler;
use ImLiam\BladeHelper\BladeHelper;
use ImLiam\BladeHelper\Tests\TestCase;
use Illuminate\View\Compilers\BladeCompiler;
use Mockery as m;

class BladeHelperTest extends TestCase
{
Expand Down

0 comments on commit 001d3c1

Please sign in to comment.