8000 [WIP][2.1][Form] Revert some BC breaks by vicb · Pull Request #4134 · symfony/symfony · GitHub
[go: up one dir, main page]

Skip to content

[WIP][2.1][Form] Revert some BC breaks #4134

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 8 commits into from
Prev Previous commit
Next Next commit
[Form] Revert "merged branch stloyd/missingClientTransformer (PR #2421)"
This reverts commit 7ea9c5b, reversing
changes made to 5803146.

Conflicts:

	src/Symfony/Component/Form/Tests/Extension/Core/DataTransformer/ValueToStringTransformerTest.php
  • Loading branch information
vicb committed Apr 27, 2012
commit 2440349d4c54f185a38ad1512d5855bb1c1a1084

This file was deleted.

12 changes: 0 additions & 12 deletions src/Symfony/Component/Form/Extension/Core/Type/TextType.php
C807
Original file line number Diff line number Diff line change
Expand Up @@ -12,21 +12,9 @@
namespace Symfony\Component\Form\Extension\Core\Type;

use Symfony\Component\Form\AbstractType;
use Symfony\Component\Form\FormBuilder;
use Symfony\Component\Form\Extension\Core\DataTransformer\ValueToStringTransformer;

class TextType extends AbstractType
{
/**
* {@inheritdoc}
*/
public function buildForm(FormBuilder $builder, array $options)
{
$builder
->appendClientTransformer(new ValueToStringTransformer())
;
}

/**
* {@inheritdoc}
*/
Expand Down

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ public function testSubmitAddsNoDefaultProtocolIfEmpty()

$form->bind('');

$this->assertSame('', $form->getData());
$this->assertNull($form->getData());
$this->assertSame('', $form->getClientData());
}

Expand Down
0