From 9ff23acc73cf76d99758457d3dc87593687a28b7 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Thu, 19 Mar 2020 14:21:17 +0100 Subject: v1.0.6 from Fedora --- ...stack-builder-fix-tests-bootstrap-for-symfony-lt-5.patch | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 php-stack-builder-fix-tests-bootstrap-for-symfony-lt-5.patch (limited to 'php-stack-builder-fix-tests-bootstrap-for-symfony-lt-5.patch') diff --git a/php-stack-builder-fix-tests-bootstrap-for-symfony-lt-5.patch b/php-stack-builder-fix-tests-bootstrap-for-symfony-lt-5.patch new file mode 100644 index 0000000..a3a39e0 --- /dev/null +++ b/php-stack-builder-fix-tests-bootstrap-for-symfony-lt-5.patch @@ -0,0 +1,13 @@ +diff --git a/tests/bootstrap.php b/tests/bootstrap.php +index b7ccedd..e535f4b 100644 +--- a/tests/bootstrap.php ++++ b/tests/bootstrap.php +@@ -44,7 +44,7 @@ class Application implements HttpKernelInterface + $this->kernel = new HttpKernel($this->dispatcher, $controllerResolver, new RequestStack(), $argumentResolver); + } + +- public function handle(Request $request, int $type = HttpKernelInterface::MASTER_REQUEST, bool $catch = true) ++ public function handle(Request $request, $type = self::MASTER_REQUEST, $catch = true) + { + return $this->kernel->handle($request); + } -- cgit