Skip to content

Commit 6959079

Browse files
[7.0] Bump to PHP 8.2 minimum
1 parent 9ebe352 commit 6959079

File tree

2 files changed

+9
-9
lines changed

2 files changed

+9
-9
lines changed

Debug/WrappedListener.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ public function __construct(callable|array $listener, ?string $name, Stopwatch $
5050
$r = new \ReflectionFunction($listener);
5151
if (str_contains($r->name, '{closure}')) {
5252
$this->pretty = $this->name = 'closure';
53-
} elseif ($class = \PHP_VERSION_ID >= 80111 ? $r->getClosureCalledClass() : $r->getClosureScopeClass()) {
53+
} elseif ($class = $r->getClosureCalledClass()) {
5454
$this->name = $class->name;
5555
$this->pretty = $this->name.'::'.$r->name;
5656
} else {

composer.json

+8-8
Original file line numberDiff line numberDiff line change
@@ -16,21 +16,21 @@
1616
}
1717
],
1818
"require": {
19-
"php": ">=8.1",
19+
"php": ">=8.2",
2020
"symfony/event-dispatcher-contracts": "^2.5|^3"
2121
},
2222
"require-dev": {
23-
"symfony/dependency-injection": "^5.4|^6.0|^7.0",
24-
"symfony/expression-language": "^5.4|^6.0|^7.0",
25-
"symfony/config": "^5.4|^6.0|^7.0",
26-
"symfony/error-handler": "^5.4|^6.0|^7.0",
27-
"symfony/http-foundation": "^5.4|^6.0|^7.0",
23+
"symfony/dependency-injection": "^6.4|^7.0",
24+
"symfony/expression-language": "^6.4|^7.0",
25+
"symfony/config": "^6.4|^7.0",
26+
"symfony/error-handler": "^6.4|^7.0",
27+
"symfony/http-foundation": "^6.4|^7.0",
2828
"symfony/service-contracts": "^2.5|^3",
29-
"symfony/stopwatch": "^5.4|^6.0|^7.0",
29+
"symfony/stopwatch": "^6.4|^7.0",
3030
"psr/log": "^1|^2|^3"
3131
},
3232
"conflict": {
33-
"symfony/dependency-injection": "<5.4",
33+
"symfony/dependency-injection": "<6.4",
3434
"symfony/service-contracts": "<2.5"
3535
},
3636
"provide": {

0 commit comments

Comments
 (0)