Skip to content
This repository has been archived by the owner on Apr 7, 2021. It is now read-only.

Commit

Permalink
draft support for Laravel 5.8.x
Browse files Browse the repository at this point in the history
  • Loading branch information
austinheap committed Nov 21, 2019
1 parent a9defe4 commit d166562
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .scrutinizer.yml
Expand Up @@ -15,7 +15,7 @@ build:
format: 'clover'
environment:
php:
version: 7.1, 7.2
version: 7.1, 7.2, 7.3
tools:
php_loc:
enabled: true
Expand Down
11 changes: 11 additions & 0 deletions .travis.yml
Expand Up @@ -8,18 +8,24 @@ matrix:
env: LARAVEL=56
- php: 7.1
env: LARAVEL=57
- php: 7.1
env: LARAVEL=58
- php: 7.2
env: LARAVEL=55
- php: 7.2
env: LARAVEL=56
- php: 7.2
env: LARAVEL=57
- php: 7.2
env: LARAVEL=58
- php: 7.3
env: LARAVEL=55
- php: 7.3
env: LARAVEL=56
- php: 7.3
env: LARAVEL=57
- php: 7.3
env: LARAVEL=58

services:
- mysql
Expand Down Expand Up @@ -57,6 +63,11 @@ script:
- if [ "$LARAVEL" = "57" ] ; then composer require "laravel/framework:5.7.*" --no-update ; fi
- if [ "$LARAVEL" = "57" ] ; then composer require "orchestra/database:3.7.x-dev as 3.7" --no-update ; fi
- if [ "$LARAVEL" = "57" ] ; then composer require "orchestra/testbench:3.7.*" --no-update ; fi
# Packages: Laravel 5.8.x
- if [ "$LARAVEL" = "58" ] ; then composer require "phpunit/phpunit:7.*" --no-update ; fi
- if [ "$LARAVEL" = "58" ] ; then composer require "laravel/framework:5.8.*" --no-update ; fi
- if [ "$LARAVEL" = "58" ] ; then composer require "orchestra/database:3.7.x-dev as 3.7" --no-update ; fi
- if [ "$LARAVEL" = "58" ] ; then composer require "orchestra/testbench:3.7.*" --no-update ; fi
# Packages: Update
- composer update --prefer-source --no-interaction
# Tests: Run
Expand Down
2 changes: 1 addition & 1 deletion composer.json
Expand Up @@ -52,7 +52,7 @@
},
"require": {
"php": ">=7.1.0",
"laravel/framework": "5.5.*|5.6.*|5.7.*",
"laravel/framework": "5.5.*|5.6.*|5.7.*|5.8.*",
"paragonie/random_compat": "^2.0"
},
"require-dev": {
Expand Down
4 changes: 2 additions & 2 deletions tests/DatabaseTestCase.php
Expand Up @@ -22,13 +22,13 @@ class DatabaseTestCase extends TestCase

private $last_random_strings = null;

public function tearDown()
public function tearDown(): void
{
$this->tearDownDatabase();
parent::tearDown();
}

protected function getEnvironmentSetUp($app)
protected function getEnvironmentSetUp($app): void
{
if (is_null(self::$database)) {
self::$database = 'laravel_database_encryption_testing_' . str_random(6);
Expand Down

0 comments on commit d166562

Please sign in to comment.