Skip to content

Commit 9229250

Browse files
[7.0] Bump to PHP 8.2 minimum
1 parent 89bc6d5 commit 9229250

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

LazyString.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,7 @@ private static function getPrettyName(callable $callback): string
129129
} elseif ($callback instanceof \Closure) {
130130
$r = new \ReflectionFunction($callback);
131131

132-
if (str_contains($r->name, '{closure}') || !$class = \PHP_VERSION_ID >= 80111 ? $r->getClosureCalledClass() : $r->getClosureScopeClass()) {
132+
if (str_contains($r->name, '{closure}') || !$class = $r->getClosureCalledClass()) {
133133
return $r->name;
134134
}
135135

composer.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -16,18 +16,18 @@
1616
}
1717
],
1818
"require": {
19-
"php": ">=8.1",
19+
"php": ">=8.2",
2020
"symfony/polyfill-ctype": "~1.8",
2121
"symfony/polyfill-intl-grapheme": "~1.0",
2222
"symfony/polyfill-intl-normalizer": "~1.0",
2323
"symfony/polyfill-mbstring": "~1.0"
2424
},
2525
"require-dev": {
26-
"symfony/error-handler": "^5.4|^6.0|^7.0",
27-
"symfony/intl": "^6.2|^7.0",
28-
"symfony/http-client": "^5.4|^6.0|^7.0",
26+
"symfony/error-handler": "^6.4|^7.0",
27+
"symfony/intl": "^6.4|^7.0",
28+
"symfony/http-client": "^6.4|^7.0",
2929
"symfony/translation-contracts": "^2.5|^3.0",
30-
"symfony/var-exporter": "^5.4|^6.0|^7.0"
30+
"symfony/var-exporter": "^6.4|^7.0"
3131
},
3232
"conflict": {
3333
"symfony/translation-contracts": "<2.5"

0 commit comments

Comments
 (0)