diff --git a/composer.json b/composer.json index 7fced9b..f3b208b 100644 --- a/composer.json +++ b/composer.json @@ -9,18 +9,18 @@ "prefer-stable": true, "require": { "php": ">=8.0", - "symfony/config": "^4.4|^5.0|^6.0", - "symfony/yaml": "^4.4|^5.0|^6.0", - "symfony/routing": "^4.4|^5.0|^6.0", - "symfony/expression-language": "^4.4|^5.0|^6.0", - "symfony/security-core": "^4.4|^5.0|^6.0", - "symfony/dependency-injection": "^4.4|^5.0|^6.0", - "symfony/http-kernel": "^4.4|^5.0|^6.0" + "symfony/config": "^4.4|^5.0|^6.0|^7.0", + "symfony/yaml": "^4.4|^5.0|^6.0|^7.0", + "symfony/routing": "^4.4|^5.0|^6.0|^7.0", + "symfony/expression-language": "^4.4|^5.0|^6.0|^7.0", + "symfony/security-core": "^4.4|^5.0|^6.0|^7.0", + "symfony/dependency-injection": "^4.4|^5.0|^6.0|^7.0", + "symfony/http-kernel": "^4.4|^5.0|^6.0|^7.0" }, "require-dev": { "atoum/atoum": "^3.4|^4.0", "m6web/php-cs-fixer-config": "^2.1", - "symfony/http-foundation": "^4.4|^5.0|^6.0", + "symfony/http-foundation": "^4.4|^5.0|^6.0|^7.0", "phpstan/phpstan": "^1.7", "rector/rector": "^0.13.2" }, diff --git a/src/M6Web/Bundle/LogBridgeBundle/Formatter/DefaultFormatter.php b/src/M6Web/Bundle/LogBridgeBundle/Formatter/DefaultFormatter.php index 02ad66c..047b06d 100644 --- a/src/M6Web/Bundle/LogBridgeBundle/Formatter/DefaultFormatter.php +++ b/src/M6Web/Bundle/LogBridgeBundle/Formatter/DefaultFormatter.php @@ -25,7 +25,7 @@ class DefaultFormatter implements FormatterInterface public function __construct( protected string $environment, protected array $ignoreHeaders = [], - protected string $prefixKey = '' + protected string $prefixKey = '', ) { } diff --git a/src/M6Web/Bundle/LogBridgeBundle/Matcher/Builder.php b/src/M6Web/Bundle/LogBridgeBundle/Matcher/Builder.php index 40160aa..c542ac0 100644 --- a/src/M6Web/Bundle/LogBridgeBundle/Matcher/Builder.php +++ b/src/M6Web/Bundle/LogBridgeBundle/Matcher/Builder.php @@ -27,7 +27,7 @@ class Builder implements BuilderInterface public function __construct( private StatusTypeManager $statusTypeManager, private array $filters, - private array $activeFilters + private array $activeFilters, ) { } @@ -74,7 +74,7 @@ public function getAbsoluteCachePath(): string return sprintf('%s/%s.php', $this->getCacheDir(), $this->getMatcherClassName()); } - public function isDebug(bool $debug = null): bool + public function isDebug(?bool $debug = null): bool { if (is_bool($debug)) { $this->debug = $debug;