Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit aa0fc6f

Browse filesBrowse files
committed
[HttpKernel] Bump dependencies and apply upstream parameter types.
1 parent f8eed91 commit aa0fc6f
Copy full SHA for aa0fc6f

File tree

Expand file treeCollapse file tree

4 files changed

+7
-7
lines changed
Filter options
Expand file treeCollapse file tree

4 files changed

+7
-7
lines changed

‎src/Symfony/Component/Config/FileLocator.php

Copy file name to clipboardExpand all lines: src/Symfony/Component/Config/FileLocator.php
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ public function __construct($paths = [])
3333
/**
3434
* {@inheritdoc}
3535
*/
36-
public function locate(string $name, string $currentPath = null, $first = true)
36+
public function locate(string $name, string $currentPath = null, bool $first = true)
3737
{
3838
if ('' == $name) {
3939
throw new \InvalidArgumentException('An empty file name is not valid to be located.');

‎src/Symfony/Component/HttpKernel/Config/FileLocator.php

Copy file name to clipboardExpand all lines: src/Symfony/Component/HttpKernel/Config/FileLocator.php
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ public function __construct(KernelInterface $kernel, string $path = null, array
4242
/**
4343
* {@inheritdoc}
4444
*/
45-
public function locate($file, $currentPath = null, $first = true)
45+
public function locate(string $file, string $currentPath = null, bool $first = true)
4646
{
4747
if (isset($file[0]) && '@' === $file[0]) {
4848
return $this->kernel->locateResource($file, $this->path, $first);

‎src/Symfony/Component/HttpKernel/Debug/TraceableEventDispatcher.php

Copy file name to clipboardExpand all lines: src/Symfony/Component/HttpKernel/Debug/TraceableEventDispatcher.php
+2-2Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ class TraceableEventDispatcher extends BaseTraceableEventDispatcher
2626
/**
2727
* {@inheritdoc}
2828
*/
29-
protected function beforeDispatch(string $eventName, $event)
29+
protected function beforeDispatch(string $eventName, object $event)
3030
{
3131
switch ($eventName) {
3232
case KernelEvents::REQUEST:
@@ -60,7 +60,7 @@ protected function beforeDispatch(string $eventName, $event)
6060
/**
6161
* {@inheritdoc}
6262
*/
63-
protected function afterDispatch(string $eventName, $event)
63+
protected function afterDispatch(string $eventName, object $event)
6464
{
6565
switch ($eventName) {
6666
case KernelEvents::CONTROLLER_ARGUMENTS:

‎src/Symfony/Component/HttpKernel/composer.json

Copy file name to clipboardExpand all lines: src/Symfony/Component/HttpKernel/composer.json
+3-3Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,15 +19,15 @@
1919
"php": "^7.2.9",
2020
"symfony/error-handler": "^4.4|^5.0",
2121
"symfony/error-renderer": "^4.4|^5.0",
22-
"symfony/event-dispatcher": "^4.4|^5.0",
22+
"symfony/event-dispatcher": "^5.0",
2323
"symfony/http-foundation": "^4.4|^5.0",
2424
"symfony/polyfill-ctype": "^1.8",
2525
"symfony/polyfill-php73": "^1.9",
2626
"psr/log": "~1.0"
2727
},
2828
"require-dev": {
2929
"symfony/browser-kit": "^4.4|^5.0",
30-
"symfony/config": "^4.4|^5.0",
30+
"symfony/config": "^5.0",
3131
"symfony/console": "^4.4|^5.0",
3232
"symfony/css-selector": "^4.4|^5.0",
3333
"symfony/dependency-injection": "^4.4|^5.0",
@@ -48,7 +48,7 @@
4848
},
4949
"conflict": {
5050
"symfony/browser-kit": "<4.4",
51-
"symfony/config": "<4.4",
51+
"symfony/config": "<5.0",
5252
"symfony/dependency-injection": "<4.4",
5353
"symfony/translation": "<4.4",
5454
"symfony/var-dumper": "<4.4",

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.