Skip to content

Commit 2e5c973

Browse files
Merge pull request #22 from spatie/Laravel-5.8
Laravel 5.8
2 parents f852cd3 + db99502 commit 2e5c973

File tree

7 files changed

+12
-7
lines changed

7 files changed

+12
-7
lines changed

.travis.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ language: php
33
php:
44
- 7.1
55
- 7.2
6+
- 7.3
67

78
env:
89
matrix:

CHANGELOG.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,9 @@
22

33
All notable changes to `laravel-http-logger` will be documented in this file.
44

5+
## 1.1.4 - 2019-02-27
6+
- Added: Laravel 5.8 compatibility
7+
58
## 1.1.3 - 2018-09-04
69
- Added: Laravel 5.7 compatibility
710

composer.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,10 +17,10 @@
1717
],
1818
"require": {
1919
"php": "^7.1",
20-
"illuminate/support": "~5.6.0|~5.7.0"
20+
"illuminate/support": "~5.6.0|~5.7.0|~5.8.0"
2121
},
2222
"require-dev": {
23-
"orchestra/testbench": "~3.6.0|~3.7.0",
23+
"orchestra/testbench": "~3.6.0|~3.7.0|~3.8.0",
2424
"phpunit/phpunit": "^7.0"
2525
},
2626
"autoload": {

config/http-logger.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,5 +21,5 @@
2121
'password',
2222
'password_confirmation',
2323
],
24-
24+
2525
];

tests/DefaultLogWriterTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ class DefaultLogWriterTest extends TestCase
1010
/** @var \Spatie\HttpLogger\DefaultLogWriter */
1111
protected $logger;
1212

13-
public function setUp()
13+
public function setUp() :void
1414
{
1515
parent::setup();
1616

tests/LogNonGetRequestsTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ class LogNonGetRequestsTest extends TestCase
99
/** @var \Spatie\HttpLogger\LogNonGetRequests */
1010
protected $logProfile;
1111

12-
public function setUp()
12+
public function setUp() : void
1313
{
1414
parent::setup();
1515

tests/TestCase.php

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
namespace Spatie\HttpLogger\Test;
44

55
use Illuminate\Http\Request;
6-
use Monolog\Handler\StreamHandler;
76
use Illuminate\Support\Facades\File;
87
use Illuminate\Contracts\Http\Kernel;
98
use Illuminate\Support\Facades\Route;
@@ -16,7 +15,7 @@ class TestCase extends Orchestra
1615
{
1716
protected $uri = '/test-uri';
1817

19-
protected function setUp()
18+
protected function setUp() : void
2019
{
2120
parent::setUp();
2221

@@ -74,6 +73,8 @@ protected function getEnvironmentSetUp($app)
7473
'path' => $this->getLogFile(),
7574
'level' => 'debug',
7675
]);
76+
77+
$app->config->set('logging.default', 'single');
7778
}
7879

7980
protected function setUpRoutes()

0 commit comments

Comments
 (0)