Nicolas Grekas
1d68ad3265
[2.3] Cleanup deprecations
2015-01-03 10:22:29 +01:00
Graham Campbell
83c15db887
[2.3] CS And DocBlock Fixes
2014-12-22 16:58:09 +01:00
Steffen Roßkamp
c207d1dde2
[Form] Fix PHPDoc for builder setData methods
...
The underlying data variable is typed as mixed whereas the methods
paramers where typed as array.
2014-09-16 11:11:47 +02:00
Christian Flothmann
1775da5925
fix some docblocks
2014-08-02 08:27:27 +02:00
Joseph Bielawski
a67bc7612e
[2.3][Form] Cleanup & fix phpdocs
2014-07-09 12:39:32 +02:00
Fabien Potencier
5b72e5ab04
minor #10717 unified return null usages (fabpot)
...
This PR was merged into the 2.3 branch.
Discussion
----------
unified return null usages
| Q | A
| ------------- | ---
| License | MIT
This PR unifies the way we return `null` from a function or method:
* always use `return;` instead of `return null;` (the current code base uses both);
* never use `return;` at the end of a function/method.
Commits
-------
d1d569b
unified return null usages
2014-04-18 22:35:25 +02:00
Fabien Potencier
e96b018805
fixed types in phpdocs
2014-04-16 12:30:19 +02:00
Fabien Potencier
d1d569bf7b
unified return null usages
2014-04-16 09:43:51 +02:00
Fabien Potencier
a693545324
fixed types in phpdocs
2014-04-16 08:51:57 +02:00
Fabien Potencier
3c9c10f3a0
made phpdoc types consistent with those defined in Hack
2014-04-15 07:41:45 +02:00
Bernhard Schussek
ebfee723c9
[Form] Added test for disabling buttons
2014-03-31 11:59:54 +02:00
Bernhard Schussek
1bb7e4dc7b
[Form] Added method Form::getClickedButton() to remove memory leak in FormValidator
2013-11-09 16:25:41 +01:00
Fabien Potencier
4c0bfd3313
fixed CS
2013-07-01 14:24:43 +02:00
Bernhard Schussek
1939dfc5fc
[Form] Fixed stofs from #7878
2013-05-02 09:53:57 +02:00
Bernhard Schussek
441222eda7
[Form] *_SET_DATA events are now guaranteed to be fired *after* the initial children were added
2013-04-29 17:31:30 +02:00
Bernhard Schussek
ae7c3781b5
[Form] Renamed form processors to request handlers
2013-04-20 17:36:19 +02:00
Alexander Kotynia
bf9382e6cd
[Form] Make exception handling consistent with other components
2013-04-20 00:34:27 +03:00
Bernhard Schussek
8ea5e1a678
[Form] Renamed option "virtual" to "inherit_data"
2013-04-19 10:09:37 +02:00
Bernhard Schussek
81f8c67566
[Form] Implemented form processors
2013-04-18 11:02:51 +02:00
Bernhard Schussek
c8afa886cd
[Form] Removed deprecated code scheduled for removal in 2.3
2013-04-13 16:46:29 +02:00
Bernhard Schussek
0bc7129eb1
[Form] Fixed invalid use of FormException
2013-04-13 16:46:29 +02:00
Bernhard Schussek
7b07925fad
[Form] Changed isset() to array_key_exists() to be consistent with ParameterBag
2013-04-13 16:46:28 +02:00
Bernhard Schussek
cc2118dd5c
[Form] Implemented support for buttons
2013-04-13 16:46:28 +02:00