Skip to content

Commit 4b86a59

Browse files
authored
Laravel 8 support (#374)
1 parent 23dc79c commit 4b86a59

File tree

4 files changed

+21
-11
lines changed

4 files changed

+21
-11
lines changed

.php_cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,9 @@
11
<?php
2+
23
$finder = PhpCsFixer\Finder::create()
34
->in(__DIR__ . '/src')
45
;
6+
57
return PhpCsFixer\Config::create()
68
->setRules([
79
'@PSR2' => true,

.travis.yml

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -22,20 +22,18 @@ env:
2222
- LARAVEL=^7.0 TESTBENCH=5.1.* PHPUNIT=8.4.* SENTRY=^2.3
2323

2424
# We add one more test using the next version of Laravel which only support PHP ^7.3 (Laravel requirement)
25-
- LARAVEL=8.x-dev@dev TESTBENCH=6.0.x-dev@dev PHPUNIT=8.4.* SENTRY=^2.3 COMPOSER_STABILITY=dev
25+
- LARAVEL=8.x-dev@dev TESTBENCH=^6.0 PHPUNIT=8.4.* SENTRY=^2.3 COMPOSER_STABILITY=dev
2626

2727
matrix:
2828
fast_finish: true
2929
allow_failures:
30-
- php: 7.2
31-
env: LARAVEL=8.x-dev@dev TESTBENCH=6.0.x-dev@dev PHPUNIT=8.4.* SENTRY=^2.3 COMPOSER_STABILITY=dev
3230
- php: 7.3
33-
env: LARAVEL=8.x-dev@dev TESTBENCH=6.0.x-dev@dev PHPUNIT=8.4.* SENTRY=^2.3 COMPOSER_STABILITY=dev
31+
env: LARAVEL=8.x-dev@dev TESTBENCH=^6.0 PHPUNIT=8.4.* SENTRY=^2.3 COMPOSER_STABILITY=dev
3432
- php: 7.4
35-
env: LARAVEL=8.x-dev@dev TESTBENCH=6.0.x-dev@dev PHPUNIT=8.4.* SENTRY=^2.3 COMPOSER_STABILITY=dev
33+
env: LARAVEL=8.x-dev@dev TESTBENCH=^6.0 PHPUNIT=8.4.* SENTRY=^2.3 COMPOSER_STABILITY=dev
3634
exclude:
3735
- php: 7.2
38-
env: LARAVEL=8.x-dev@dev TESTBENCH=6.0.x-dev@dev PHPUNIT=8.4.* SENTRY=^2.3 COMPOSER_STABILITY=dev
36+
env: LARAVEL=8.x-dev@dev TESTBENCH=^6.0 PHPUNIT=8.4.* SENTRY=^2.3 COMPOSER_STABILITY=dev
3937

4038
cache:
4139
directories:

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
## Unreleased
44

55
- Respect the `SENTRY_ENVIRONMENT` environment variable to override the Laravel environment (#354)
6+
- Support for Laravel 8 (#374)
67

78
## 1.8.0
89

composer.json

Lines changed: 14 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,16 @@
22
"name": "sentry/sentry-laravel",
33
"type": "library",
44
"description": "Laravel SDK for Sentry (https://sentry.io)",
5-
"keywords": ["sentry", "laravel", "log", "logging", "error-monitoring", "error-handler", "crash-reporting", "crash-reports"],
5+
"keywords": [
6+
"sentry",
7+
"laravel",
8+
"log",
9+
"logging",
10+
"error-monitoring",
11+
"error-handler",
12+
"crash-reporting",
13+
"crash-reports"
14+
],
615
"homepage": "https://sentry.io",
716
"license": "Apache-2.0",
817
"authors": [
@@ -13,14 +22,14 @@
1322
],
1423
"require": {
1524
"php": "^7.1",
16-
"illuminate/support": "5.0 - 5.8 | ^6.0 | ^7.0",
25+
"illuminate/support": "5.0 - 5.8 | ^6.0 | ^7.0 | ^8.0",
1726
"sentry/sdk": "^2.1"
1827
},
1928
"require-dev": {
2029
"phpunit/phpunit": "^8.0",
21-
"laravel/framework": "^6.0",
22-
"orchestra/testbench": "^3.9",
23-
"friendsofphp/php-cs-fixer": "2.14.*"
30+
"laravel/framework": "^7.0",
31+
"orchestra/testbench": "^5.0",
32+
"friendsofphp/php-cs-fixer": "2.16.*"
2433
},
2534
"autoload": {
2635
"psr-0": {

0 commit comments

Comments
 (0)