diff options
author | Remi Collet <remi@remirepo.net> | 2020-03-19 14:21:17 +0100 |
---|---|---|
committer | Remi Collet <remi@remirepo.net> | 2020-03-19 14:21:17 +0100 |
commit | 9ff23acc73cf76d99758457d3dc87593687a28b7 (patch) | |
tree | d86bf7ec725d515f429415dc55ac43f07709feab /php-stack-builder-fix-tests-bootstrap-for-symfony-lt-5.patch | |
parent | a672df23ad9e7441ffc744b4b57691f9b065a209 (diff) |
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.patch | 13 |
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); + } |