Skip to content

Commit

Permalink
Laravel 5.8
Browse files Browse the repository at this point in the history
  • Loading branch information
Ion Bazan committed Aug 19, 2019
1 parent 1417181 commit cdfa15f
Show file tree
Hide file tree
Showing 7 changed files with 19 additions and 22 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,4 @@ composer.lock
.php_cs.cache
.idea
/log
/.phpunit.result.cache
10 changes: 5 additions & 5 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
language: php
sudo: false
php:
- 7.1
- 7.2
- "7.2"
- "7.3"

env:
global:
Expand All @@ -12,11 +12,11 @@ env:
matrix:
fast_finish: true
include:
- php: 7.1
- php: "7.2"
env: setup=lowest
- php: 7.1
- php: "7.3"
env: setup=stable
- php: 7.1
- php: "7.2"
env: coverage=yes

cache:
Expand Down
10 changes: 5 additions & 5 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,9 @@
}
],
"require": {
"php": ">=7.1.3",
"illuminate/support": "5.7.*",
"illuminate/database": "5.7.*"
"php": ">=7.2",
"illuminate/support": "5.8.*",
"illuminate/database": "5.8.*"
},
"autoload": {
"psr-4": {
Expand All @@ -30,9 +30,9 @@
"orchestra/testbench": "^3.6",
"orchestra/database": "^3.6",
"mockery/mockery": "^1.0",
"phpunit/phpunit": "~7.0",
"phpunit/phpunit": "~8.0",
"satooshi/php-coveralls": "^2.0",
"sebastian/environment": "^3.1"
"sebastian/environment": "^4.1"
},
"autoload-dev": {
"classmap": [
Expand Down
14 changes: 5 additions & 9 deletions phpunit.xml
Original file line number Diff line number Diff line change
@@ -1,14 +1,10 @@
<?xml version="1.0" encoding="UTF-8"?>
<phpunit backupGlobals="false"
backupStaticAttributes="false"
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="http://schema.phpunit.de/8.3/phpunit.xsd"
bootstrap="vendor/autoload.php"
colors="true"
convertErrorsToExceptions="true"
convertNoticesToExceptions="true"
convertWarningsToExceptions="true"
processIsolation="false"
stopOnFailure="false"
syntaxCheck="false"
failOnRisky="true"
failOnWarning="true"
>
<testsuites>
<testsuite name="Package Test Suite">
Expand All @@ -21,6 +17,6 @@
</whitelist>
</filter>
<logging>
<log type="coverage-html" target="log/phpunit/coverage" charset="UTF-8" yui="true" highlight="false" lowUpperBound="35" highLowerBound="70"/>
<log type="coverage-html" target="log/phpunit/coverage" lowUpperBound="35" highLowerBound="70"/>
</logging>
</phpunit>
2 changes: 1 addition & 1 deletion tests/TestCase.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

class TestCase extends TestBenchTestCase
{
public function setUp()
public function setUp(): void
{
parent::setUp();
}
Expand Down
2 changes: 1 addition & 1 deletion tests/src/Traits/HasRoleAndPermissionTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

class HasRoleAndPermissionTest extends \TestCase
{
public function setUp()
public function setUp(): void
{
parent::setUp();
$this->withFactories(__DIR__ . '/../../database/factories');
Expand Down
2 changes: 1 addition & 1 deletion tests/src/Traits/PermissionHasRelationsTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

class PermissionHasRelationsTest extends \TestCase
{
public function setUp()
public function setUp(): void
{
parent::setUp();
$this->withFactories(__DIR__ . '/../../database/factories');
Expand Down

0 comments on commit cdfa15f

Please sign in to comment.