Skip to content

Commit dcf8ebc

Browse files
feat: add Symfony 7 support
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
1 parent ca1074a commit dcf8ebc

2 files changed

Lines changed: 10 additions & 10 deletions

File tree

‎composer.json‎

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -9,18 +9,18 @@
99
"prefer-stable": true,
1010
"require": {
1111
"php": ">=8.0",
12-
"symfony/config": "^4.4|^5.0|^6.0",
13-
"symfony/yaml": "^4.4|^5.0|^6.0",
14-
"symfony/routing": "^4.4|^5.0|^6.0",
15-
"symfony/expression-language": "^4.4|^5.0|^6.0",
16-
"symfony/security-core": "^4.4|^5.0|^6.0",
17-
"symfony/dependency-injection": "^4.4|^5.0|^6.0",
18-
"symfony/http-kernel": "^4.4|^5.0|^6.0"
12+
"symfony/config": "^4.4|^5.0|^6.0|^7.0",
13+
"symfony/yaml": "^4.4|^5.0|^6.0|^7.0",
14+
"symfony/routing": "^4.4|^5.0|^6.0|^7.0",
15+
"symfony/expression-language": "^4.4|^5.0|^6.0|^7.0",
16+
"symfony/security-core": "^4.4|^5.0|^6.0|^7.0",
17+
"symfony/dependency-injection": "^4.4|^5.0|^6.0|^7.0",
18+
"symfony/http-kernel": "^4.4|^5.0|^6.0|^7.0"
1919
},
2020
"require-dev": {
2121
"atoum/atoum": "^3.4|^4.0",
2222
"m6web/php-cs-fixer-config": "^2.1",
23-
"symfony/http-foundation": "^4.4|^5.0|^6.0",
23+
"symfony/http-foundation": "^4.4|^5.0|^6.0|^7.0",
2424
"phpstan/phpstan": "^1.7",
2525
"rector/rector": "^0.13.2"
2626
},

‎src/M6Web/Bundle/LogBridgeBundle/Matcher/Builder.php‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ class Builder implements BuilderInterface
2727
public function __construct(
2828
private StatusTypeManager $statusTypeManager,
2929
private array $filters,
30-
private array $activeFilters
30+
private array $activeFilters,
3131
) {
3232
}
3333

@@ -74,7 +74,7 @@ public function getAbsoluteCachePath(): string
7474
return sprintf('%s/%s.php', $this->getCacheDir(), $this->getMatcherClassName());
7575
}
7676

77-
public function isDebug(bool $debug = null): bool
77+
public function isDebug(?bool $debug = null): bool
7878
{
7979
if (is_bool($debug)) {
8080
$this->debug = $debug;

0 commit comments

Comments
 (0)