diff --git a/composer.json b/composer.json index ce81bca..f311fb2 100644 --- a/composer.json +++ b/composer.json @@ -5,11 +5,11 @@ "license": "MIT", "require": { "php": "^8.2", - "symfony/config": "^6.0", - "symfony/console": "^6.0", - "symfony/dependency-injection": "^6.0", - "symfony/http-kernel": "^6.0", - "symfony/yaml": "^6.0", + "symfony/config": "^6.4 || ^7.0", + "symfony/console": "^6.4 || ^7.0", + "symfony/dependency-injection": "^6.4 || ^7.0", + "symfony/http-kernel": "^6.4 || ^7.0", + "symfony/yaml": "^6.4 || ^7.0", "tracy/tracy": "^2.8" }, "require-dev": { diff --git a/phpstan-baseline.neon b/phpstan-baseline.neon index 0bbfa37..a685d99 100644 --- a/phpstan-baseline.neon +++ b/phpstan-baseline.neon @@ -1,7 +1,7 @@ parameters: ignoreErrors: - - message: "#^Cannot call method integerNode\\(\\) on Symfony\\\\Component\\\\Config\\\\Definition\\\\Builder\\\\NodeParentInterface\\|null\\.$#" + message: "#^Call to an undefined method Symfony\\\\Component\\\\Config\\\\Definition\\\\Builder\\\\NodeParentInterface\\:\\:integerNode\\(\\)\\.$#" count: 1 path: src/DependencyInjection/Configuration.php diff --git a/tests/BlueScreen/ControllerBlueScreenExceptionListenerTest.php b/tests/BlueScreen/ControllerBlueScreenExceptionListenerTest.php index 88223e0..549014d 100644 --- a/tests/BlueScreen/ControllerBlueScreenExceptionListenerTest.php +++ b/tests/BlueScreen/ControllerBlueScreenExceptionListenerTest.php @@ -18,7 +18,7 @@ public function testRenderTracy(): void { $kernel = $this->createMock(HttpKernelInterface::class); $request = new Request(); - $requestType = HttpKernelInterface::MASTER_REQUEST; + $requestType = HttpKernelInterface::MAIN_REQUEST; $exception = new Exception('Foobar!'); $event = new ExceptionEvent($kernel, $request, $requestType, $exception);