Skip to content

Commit 95a97c4

Browse files
authored
Merge pull request #20 from eduardlleshi/master
2 parents 56f19ee + bb10bff commit 95a97c4

File tree

5 files changed

+20
-19
lines changed

5 files changed

+20
-19
lines changed

.github/workflows/run-tests.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ jobs:
99
fail-fast: true
1010
matrix:
1111
os: [ubuntu-latest]
12-
php: [8.0, 7.4, 7.3]
12+
php: [8.1, 8.0, 7.4, 7.3]
1313
dependency-version: [prefer-lowest, prefer-stable]
1414

1515
name: P${{ matrix.php }} - ${{ matrix.dependency-version }}

CHANGELOG.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,10 @@ All notable changes to this project will be documented in this file.
44
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
55
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
66

7+
## [1.4.0] - 2022-02-15
8+
### Added
9+
- Support for Laravel 9.x and PHP 8.1
10+
711
## [1.3.1] - 2020-12-01
812
### Added
913
- Support for PHP 8
@@ -22,4 +26,4 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
2226

2327
## [1.0.6] - 2019-03-01
2428
### Added
25-
- Support for Laravel 5.8
29+
- Support for Laravel 5.8

README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,14 +4,15 @@
44
[![StyleCI](https://styleci.io/repos/126970369/shield?branch=master)](https://styleci.io/repos/126970369)
55
[![Buy us a tree](https://img.shields.io/badge/Buy%20me%20a%20tree-%F0%9F%8C%B3-lightgreen?style=flat-square)](https://plant.treeware.earth/freshbitsweb/laravel-log-enhancer)
66

7-
# Laravel Log Enhancer (Laravel 5.6 to Laravel 8.x)
7+
# Laravel Log Enhancer (Laravel 5.6 to Laravel 9.x)
88
Laravel's logging system helps a lot for storing data as well as while troubleshooting some hidden bugs. The data related to the exception automatically gets logged whenever something goes wrong.
99

1010
Sometimes, we need more than just *stack trace* to debug the issue easily. The things like **request URL**, **request input data**, **session data**, etc. help us hunt down the exact cause quickly. That's what this *plug-and-play* Laravel package does for you :)
1111

1212
## Requirements
1313
| PHP | Laravel | Package |
1414
|--------|---------|---------|
15+
| 8.0+ | 9.x | v1.4.0 |
1516
| 7.3+ | 8.x | v1.3.0 |
1617
| 7.2.5+ | 7.x | v1.2.0 |
1718
| <7.2.5 | 6.x | v1.1.0 |

composer.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,12 @@
33
"description": "Make debugging easier by adding more data to your laravel logs",
44
"require": {
55
"php": "^7.3|^8.0",
6-
"illuminate/support": "5.6.*|5.7.*|5.8.*|^6.0|^7.0|^8.0",
6+
"illuminate/support": "5.6.*|5.7.*|5.8.*|^6.0|^7.0|^8.0|^9.0",
77
"monolog/monolog": "^1.23|^2.1.1"
88
},
99
"require-dev": {
1010
"phpunit/phpunit": "^9.3.9",
11-
"orchestra/testbench": "^6.0.0"
11+
"orchestra/testbench": "^6.23.0|^7.0.0"
1212
},
1313
"license": "MIT",
1414
"authors": [

phpunit.xml

Lines changed: 10 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,18 @@
11
<?xml version="1.0" encoding="UTF-8"?>
2-
<phpunit bootstrap="vendor/autoload.php"
3-
backupGlobals="false"
4-
backupStaticAttributes="false"
2+
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
3+
xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/9.3/phpunit.xsd"
4+
bootstrap="vendor/autoload.php"
55
colors="true"
66
verbose="true"
7-
convertErrorsToExceptions="true"
8-
convertNoticesToExceptions="true"
9-
convertWarningsToExceptions="true"
10-
processIsolation="false"
11-
stopOnFailure="false">
7+
>
8+
<coverage>
9+
<include>
10+
<directory suffix=".php">src/</directory>
11+
</include>
12+
</coverage>
1213
<testsuites>
1314
<testsuite name="League Test Suite">
1415
<directory>tests</directory>
1516
</testsuite>
1617
</testsuites>
17-
<filter>
18-
<whitelist>
19-
<directory suffix=".php">src/</directory>
20-
</whitelist>
21-
</filter>
22-
</phpunit>
18+
</phpunit>

0 commit comments

Comments
 (0)