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 d49a058

Browse filesBrowse files
committed
Fix overwriting an array element
1 parent 368bfb7 commit d49a058
Copy full SHA for d49a058

File tree

Expand file treeCollapse file tree

2 files changed

+0
-3
lines changed
Filter options
Expand file treeCollapse file tree

2 files changed

+0
-3
lines changed

‎src/Symfony/Component/Form/Extension/Core/Type/WeekType.php

Copy file name to clipboardExpand all lines: src/Symfony/Component/Form/Extension/Core/Type/WeekType.php
-1Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,6 @@ public function buildForm(FormBuilderInterface $builder, array $options)
4242
} else {
4343
$yearOptions = $weekOptions = [
4444
'error_bubbling' => true,
45-
'empty_data' => '',
4645
];
4746
// when the form is compound the entries of the array are ignored in favor of children data
4847
// so we need to handle the cascade setting here

‎src/Symfony/Component/HttpFoundation/Tests/RequestTest.php

Copy file name to clipboardExpand all lines: src/Symfony/Component/HttpFoundation/Tests/RequestTest.php
-2Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -604,7 +604,6 @@ public function testGetUri()
604604

605605
$server['REDIRECT_QUERY_STRING'] = 'query=string';
606606
$server['REDIRECT_URL'] = '/path/info';
607-
$server['SCRIPT_NAME'] = '/index.php';
608607
$server['QUERY_STRING'] = 'query=string';
609608
$server['REQUEST_URI'] = '/path/info?toto=test&1=1';
610609
$server['SCRIPT_NAME'] = '/index.php';
@@ -731,7 +730,6 @@ public function testGetUriForPath()
731730

732731
$server['REDIRECT_QUERY_STRING'] = 'query=string';
733732
$server['REDIRECT_URL'] = '/path/info';
734-
$server['SCRIPT_NAME'] = '/index.php';
735733
$server['QUERY_STRING'] = 'query=string';
736734
$server['REQUEST_URI'] = '/path/info?toto=test&1=1';
737735
$server['SCRIPT_NAME'] = '/index.php';

0 commit comments

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