summaryrefslogtreecommitdiffstats
path: root/php-stack-builder-fix-tests-bootstrap-for-symfony-lt-5.patch
diff options
context:
space:
mode:
Diffstat (limited to 'php-stack-builder-fix-tests-bootstrap-for-symfony-lt-5.patch')
-rw-r--r--php-stack-builder-fix-tests-bootstrap-for-symfony-lt-5.patch13
1 files changed, 13 insertions, 0 deletions
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);
+ }