Skip to content

Commit

Permalink
Merge pull request #23 from imliam/laravel-8
Browse files Browse the repository at this point in the history
Add Laravel 8 support
  • Loading branch information
imliam authored Sep 13, 2020
2 parents b17a4eb + d93b2b8 commit 7e41113
Show file tree
Hide file tree
Showing 7 changed files with 12 additions and 35 deletions.
1 change: 1 addition & 0 deletions .github/FUNDING.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
github: imliam
13 changes: 2 additions & 11 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,20 +8,11 @@ jobs:
max-parallel: 15
fail-fast: false
matrix:
php-versions: ["7.1", "7.2", "7.3", "7.4"]
php-versions: ["7.3", "7.4"]
composer-flags: ["--prefer-lowest", "--prefer-stable"]
env:
- LARAVEL_VERSION='~5.5'
- LARAVEL_VERSION='~5.6'
- LARAVEL_VERSION='~5.7'
- LARAVEL_VERSION='~5.8'
- LARAVEL_VERSION='^6.0'
- LARAVEL_VERSION='^7.0'
exclude:
- php-versions: 7.1
env: LARAVEL_VERSION='^6.0'
- php-versions: 7.1
env: LARAVEL_VERSION='^7.0'
- LARAVEL_VERSION='^8.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.

1 change: 0 additions & 1 deletion .styleci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,3 @@ preset: laravel

disabled:
- single_class_element_per_statement
- self_accessor
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,10 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
### Fixed
### Security

## [1.2.0] - 2020-09-13
### Added
- Laravel 8 support


## [1.1.1] - 2020-05-27
### Fixed
Expand Down
8 changes: 4 additions & 4 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,12 +20,12 @@
}
],
"require": {
"php": "^7.1",
"illuminate/support": "*",
"illuminate/console": "*"
"php": "^7.3",
"illuminate/support": "^7.0|^8.0",
"illuminate/console": "^7.0|^8.0"
},
"require-dev": {
"phpunit/phpunit": "^7.5",
"phpunit/phpunit": "^7.5|^8.0|^9.0",
"roave/security-advisories": "dev-master"
},
"autoload": {
Expand Down
2 changes: 1 addition & 1 deletion tests/Unit/EnvironmentSetCommandTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ class EnvironmentSetCommandTest extends TestCase
*/
protected $command;

public function setUp()
public function setUp(): void
{
parent::setUp();
$this->command = new EnvironmentSetCommand();
Expand Down

0 comments on commit 7e41113

Please sign in to comment.