This repository has been archived on 2023-08-20. You can view files and clone it, but cannot push or open issues or pull requests.
symfony/src/Symfony/Component/Form
Fabien Potencier 03f34a9765 merged branch mpiecko/master (PR #5280)
Commits
-------

58ebd1b [Form] Fixed error bubbling from DateTime widget - Issue #5270
8ea1607 Update src/Symfony/Component/Form/Extension/Core/Type/DateTimeType.php

Discussion
----------

[Form] Fixed error bubbling from DateTime widget - Issue #5270

This is related to https://github.com/symfony/symfony/issues/5270

---------------------------------------------------------------------------

by mpiecko at 2012-08-16T19:37:45Z

Travisbot shows something like this in it's log:

    [Composer\Downloader\TransportException] The "http://nodeload.github.com/phingofficial/phing/zipball/2.4.12" file could not be downloaded (HTTP/1.1 500 Internal Server Error)

So is it my PR ot Travis CI who fails ... ? I saw this error in some other PR's ...

---------------------------------------------------------------------------

by stloyd at 2012-08-16T20:40:39Z

It's GitHub =)

---------------------------------------------------------------------------

by mpiecko at 2012-08-17T09:36:31Z

Bad GitHub :)

---------------------------------------------------------------------------

by bschussek at 2012-08-17T11:21:39Z

Could you please add a test to DateTimeTypeTest?

---------------------------------------------------------------------------

by mpiecko at 2012-08-17T12:23:40Z

Sure!

---------------------------------------------------------------------------

by bschussek at 2012-08-30T08:20:08Z

👍
2012-08-30 10:23:27 +02:00
..
Event [Form] fixed and added phpDoc 2012-08-27 18:33:43 +02:00
Exception Revert "[Form] added a circular reference safeguard for form type" 2012-07-09 18:42:18 +02:00
Extension merged branch mpiecko/master (PR #5280) 2012-08-30 10:23:27 +02:00
Guess [Form] refactor Guess 2012-08-28 08:15:57 +02:00
Resources minor correction 2012-08-29 01:17:36 +01:00
Tests merged branch mpiecko/master (PR #5280) 2012-08-30 10:23:27 +02:00
Util [Form] Fixed some PHPDoc 2012-08-27 18:33:44 +02:00
.gitignore [Components] Tests/Autoloading fixes 2012-05-01 17:51:41 +02:00
AbstractExtension.php Fixing email 2012-05-26 09:48:33 +02:00
AbstractRendererEngine.php [Form] Fixed some PHPDoc 2012-08-27 18:33:44 +02:00
AbstractType.php [Form] Restored BC in AbstractType::getDefaultOptions() and getAllowedOptionValues() 2012-07-22 09:36:58 +02:00
AbstractTypeExtension.php [Form] The properties of FormView are now accessed directly in order to increase performance (PHP +200ms, Twig +150ms) 2012-07-21 12:56:11 +02:00
CallbackTransformer.php [Form] Fixed issues mentioned in the PR comments 2012-05-22 09:30:21 +02:00
CallbackValidator.php [Form] Deprecated FormValidatorInterface and moved implementations to event listeners 2012-04-13 16:42:01 +02:00
CHANGELOG.md [Form] Added entry point "Forms" for more convenient usage outside of Symfony 2012-07-30 11:41:38 +02:00
composer.json Add minimum-stability (dev) in each component 2012-08-22 15:48:41 +02:00
DataMapperInterface.php fixed CS 2012-07-09 14:54:20 +02:00
DataTransformerInterface.php fixed CS 2012-07-09 14:54:20 +02:00
Form.php merged branch Tobion/formexception (PR #5337) 2012-08-29 15:48:30 +02:00
FormBuilder.php [Form] fixed and added phpDoc 2012-08-27 18:33:43 +02:00
FormBuilderInterface.php [Form] Removed the ImmutableFormConfig class to save time spent with copying values (+20ms) 2012-07-28 10:59:23 +02:00
FormConfigBuilder.php [Form] Fixed some PHPDoc 2012-08-27 18:33:44 +02:00
FormConfigBuilderInterface.php [Form] fixed and added phpDoc 2012-08-27 18:33:43 +02:00
FormConfigInterface.php [Form] fixed and added phpDoc 2012-08-27 18:33:43 +02:00
FormError.php [Form] fixed and added phpDoc 2012-08-27 18:33:43 +02:00
FormEvent.php [Form] Merged various form events and added class FormEvent 2012-05-25 12:34:16 +02:00
FormEvents.php Fixing email 2012-05-26 09:48:33 +02:00
FormExtensionInterface.php fixed CS 2012-07-09 14:54:20 +02:00
FormFactory.php [Form] Fixed: FormTypeInterface::getParent() supports returning FormTypeInterface instances again 2012-08-22 16:44:02 +02:00
FormFactoryBuilder.php [Form] [Validator] Fixed issues mentioned in the PR 2012-07-30 16:22:02 +02:00
FormFactoryBuilderInterface.php [Form] Added entry point "Forms" for more convenient usage outside of Symfony 2012-07-30 11:41:38 +02:00
FormFactoryInterface.php [Form] Added entry point "Forms" for more convenient usage outside of Symfony 2012-07-30 11:41:38 +02:00
FormInterface.php merged branch Tobion/formincon (PR #5355) 2012-08-29 13:46:44 +02:00
FormRegistry.php [Form] Fixed: FormTypeInterface::getParent() supports returning FormTypeInterface instances again 2012-08-22 16:44:02 +02:00
FormRegistryInterface.php [Form] Fixed ResolvedFormType to really be replaceable 2012-07-29 19:13:45 +02:00
FormRenderer.php updated method name in a comment 2012-08-07 17:22:46 +03:00
FormRendererEngineInterface.php [Form] Improved FormRenderer API to reduce the size of the function call stack during rendering 2012-07-22 09:29:35 +02:00
FormRendererInterface.php [Form] Improved FormRenderer API to reduce the size of the function call stack during rendering 2012-07-22 09:29:35 +02:00
Forms.php [Validator] Added entry point "Validation" for more convenient usage outside of Symfony2 2012-07-30 11:41:40 +02:00
FormTypeExtensionInterface.php [Form] The properties of FormView are now accessed directly in order to increase performance (PHP +200ms, Twig +150ms) 2012-07-21 12:56:11 +02:00
FormTypeGuesserChain.php [Form] Fixed issues mentioned in the PR comments 2012-05-22 09:30:21 +02:00
FormTypeGuesserInterface.php fixed CS 2012-07-09 14:54:20 +02:00
FormTypeInterface.php [Form] Fixed: FormTypeInterface::getParent() supports returning FormTypeInterface instances again 2012-08-22 16:44:02 +02:00
FormValidatorInterface.php fixed CS 2012-07-09 14:54:20 +02:00
FormView.php [Form] Added a layer of 2.0 BC methods to FormView and updated UPGRADE and CHANGELOG 2012-07-21 13:49:32 +02:00
LICENSE Updated LICENSE files copyright 2012-02-22 10:10:37 +01:00
phpunit.xml.dist [Components] Tests/Autoloading fixes 2012-05-01 17:51:41 +02:00
PreloadedExtension.php [Form] [Validator] Fixed issues mentioned in the PR 2012-07-30 16:22:02 +02:00
README.md [Components] Tests/Autoloading fixes 2012-05-01 17:51:41 +02:00
ResolvedFormType.php [Form] Fixed ResolvedFormType to really be replaceable 2012-07-29 19:13:45 +02:00
ResolvedFormTypeFactory.php [Form] Fixed ResolvedFormType to really be replaceable 2012-07-29 19:13:45 +02:00
ResolvedFormTypeFactoryInterface.php [Form] Fixed ResolvedFormType to really be replaceable 2012-07-29 19:13:45 +02:00
ResolvedFormTypeInterface.php [Form] Fixed ResolvedFormType to really be replaceable 2012-07-29 19:13:45 +02:00
ReversedTransformer.php Fixing email 2012-05-26 09:48:33 +02:00

Form Component

Form provides tools for defining forms, rendering and binding request data to related models. Furthermore it provides integration with the Validation component.

Resources

Silex integration:

https://github.com/fabpot/Silex/blob/master/src/Silex/Provider/FormServiceProvider.php

Documentation:

http://symfony.com/doc/2.0/book/forms.html

Resources

You can run the unit tests with the following command:

phpunit

If you also want to run the unit tests that depend on other Symfony Components, install dev dependencies before running PHPUnit:

php composer.phar install --dev