Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 5be0125

Browse files
committed
minor #10911 [Form] Composer dependencies (csarrazi)
This PR was merged into the 2.4 branch. Discussion ---------- [Form] Composer dependencies | Q | A | ------------- | --- | Bug fix? | yes | New feature? | no | BC breaks? | no | Deprecations? | no | Tests pass? | yes | Fixed tickets | - | License | MIT | Doc PR | - Right now, launching tests from the Form component's directory doesn't work, due to missing dev dependencies. This should be merged back into master afterwards. Also fixed a problem related to a bad method signature in ```Symfony\Component\Form\Tests\Extension\DataCollector\FormDataExtractorTest_SimpleValueExporter``` Commits ------- 7b5857c Fixed FormDataExtractorTest_SimpleValueExporter::exportValue not implementing the interface correctly e4fa5d8 Updated form dev dependencies
2 parents c94f69d + 7b5857c commit 5be0125

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

src/Symfony/Component/Form/Tests/Extension/DataCollector/FormDataExtractorTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ class FormDataExtractorTest_SimpleValueExporter extends ValueExporter
2525
/**
2626
* {@inheritdoc}
2727
*/
28-
public function exportValue($value)
28+
public function exportValue($value, $depth = 1, $deep = false)
2929
{
3030
return var_export($value, true);
3131
}

src/Symfony/Component/Form/composer.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,9 @@
2525
"require-dev": {
2626
"symfony/validator": "~2.2",
2727
"symfony/http-foundation": "~2.2",
28-
"symfony/security-csrf": "~2.4"
28+
"symfony/http-kernel": "~2.4",
29+
"symfony/security-csrf": "~2.4",
30+
"doctrine/collections": "~1.0"
2931
},
3032
"suggest": {
3133
"symfony/validator": "For form validation.",

0 commit comments

Comments
 (0)