Skip to content

Commit bf41454

Browse files
committed
Update to 8.4 and add upgrading message #KDS-587
1 parent 46acc66 commit bf41454

File tree

5 files changed

+143
-99
lines changed

5 files changed

+143
-99
lines changed

.github/workflows/test.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ jobs:
1111
strategy:
1212
matrix:
1313
operating-system: [ ubuntu-latest, ubuntu-20.04 ]
14-
php: [ '8.0', '8.1', '8.4' ]
14+
php: [ '8.4' ]
1515

1616
steps:
1717
- uses: actions/checkout@master

UPGRADING.md

+5
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
#### Upgrading from `2.x` to `3.0`
2+
The repository now requires PHP 8.4 or higher. Ensure your environment is updated accordingly.
3+
4+
The E_STRICT error level constant has been removed from Kodus\Sentry\Extensions due to its deprecation and removal in PHP 8.4. Replace any references to E_STRICT in your code, as it is no longer necessary. PHP 8.4 enforces stricter standards as part of E_ALL.
5+
16
#### Upgrading from `1.x` to `2.0`
27

38
The constructor signature of `SentryClient` has changed.

composer.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
}
1111
],
1212
"require": {
13-
"php": ">=8.0",
13+
"php": ">=8.4",
1414
"ext-json": "*",
1515
"psr/http-message": "^1.0",
1616
"psr/log": "^1.0",

src/Extensions/ExceptionReporter.php

-1
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,6 @@ class ExceptionReporter implements SentryClientExtension
7070
E_USER_ERROR => Level::ERROR,
7171
E_NOTICE => Level::INFO,
7272
E_USER_NOTICE => Level::INFO,
73-
E_STRICT => Level::INFO,
7473
];
7574

7675
/**

0 commit comments

Comments
 (0)