35 Commits

Author SHA1 Message Date
Wouter de Jong
8266c81fce [Components] Convert to native return types 2023-07-05 15:06:06 +02:00
Alexander M. Turek
79002e4e4c [Form] Add missing return types to interfaces 2023-02-17 09:38:29 +01:00
Nicolas Grekas
1c1dce12b4 Merge branch '5.4' into 6.0
* 5.4:
  [Serializer] cs fix
  Cleanup more `@return` annotations
  [Form] Fix phpdoc on FormBuilderInterface
2021-08-17 17:35:52 +02:00
Nicolas Grekas
be4ba59ae2 Cleanup more @return annotations 2021-08-17 16:20:01 +02:00
Nicolas Grekas
00aeda6dd3 Add return types - batch 6/n 2021-08-16 17:45:02 +02:00
Nicolas Grekas
c3d0fd33ed [Form] add union types 2021-07-07 15:31:34 +02:00
Valentin
c46149559a [Form] Add parameter type declarations 2019-08-13 09:00:05 +02:00
Christian Flothmann
9d1614c69d add parameter type declarations where possible 2019-07-28 09:06:15 +02:00
Fabien Potencier
4dff104d22 Merge branch '3.4' into 4.2
* 3.4:
  [Form] various minor fixes
  bugfix: the terminal state was wrong and not reseted
  [Console] Fix inconsistent result for choice questions in non-interactive mode
  Define null return type for Constraint::getDefaultOption()
  [HttpKernel] Fix DebugHandlersListener constructor docblock
  Skip Glob brace test when GLOB_BRACE is unavailable
  bumped Symfony version to 3.4.25
  updated VERSION for 3.4.24
  update CONTRIBUTORS for 3.4.24
  updated CHANGELOG for 3.4.24
  [EventDispatcher] cleanup
2019-04-06 15:51:08 +02:00
Jules Pietri
8dad268261 [Form] various minor fixes 2019-04-06 15:44:06 +02:00
Fabien Potencier
051c529178 Merge branch '3.4' into 4.1
* 3.4:
  fixed CS
  fixed short array CS in comments
  fixed CS in ExpressionLanguage fixtures
  fixed CS in generated files
  fixed CS on generated container files
  fixed CS on Form PHP templates
  fixed CS on YAML fixtures
  fixed fixtures
  switched array() to []
2019-01-16 19:21:11 +01:00
Fabien Potencier
9e00d61b06 switched array() to [] 2019-01-16 10:39:14 +01:00
Nicolas Grekas
c686aef2f1 Merge branch '3.4' into 4.1
* 3.4:
  Remove duplicate condition
  fix useless space in docblock
  remove unneeded tearDown method
  [Intl] Update the ICU data to 63.1
  [FrameworkBundle] Fix broken exception message
  [TwigBundle] Fix usage of TwigBundle without FrameworkBundle
  Revert "fixed CS"
  Skip empty proxy code
  [Security] Fix "exclude-from-classmap"
  add missing double-quotes to extra_fields output message
  Convert InsufficientAuthenticationException to HttpException
2018-10-30 18:00:46 +01:00
Nicolas Grekas
22d0e78712 Merge branch '2.8' into 3.4
* 2.8:
  Remove duplicate condition
  fix useless space in docblock
  remove unneeded tearDown method
  [FrameworkBundle] Fix broken exception message
  Revert "fixed CS"
  Skip empty proxy code
  [Security] Fix "exclude-from-classmap"
  add missing double-quotes to extra_fields output message
  Convert InsufficientAuthenticationException to HttpException
2018-10-30 17:50:50 +01:00
Dariusz Ruminski
783643f8d0 Revert "fixed CS"
This reverts commit d48a3776fe0b425d41e3fa9f3ef8b14315c02a1f.
2018-10-21 01:16:31 +02:00
Fabien Potencier
71bf76bfbf Merge branch '3.4' into 4.1
* 3.4:
  Class should be case sensitive
  fixed CS
  [CS] Enable phpdoc_types_order
2018-10-12 05:56:03 -07:00
Fabien Potencier
05fb568b90 Merge branch '2.8' into 3.4
* 2.8:
  fixed CS
  [CS] Enable phpdoc_types_order
2018-10-11 06:05:17 -07:00
Fabien Potencier
d5ce40b699 fixed CS 2018-10-11 04:32:54 -07:00
Samuel ROZE
350ca93bd4 Merge branch '3.4' into 4.1
* 3.4:
  Use the real image URL for the filesystem tests
  [Finder] Update PHPdoc append()
  [DI] Fix phpdoc
  Fix code examples in PHPDoc
  [HttpKernel] Fix inheritdocs
  bumped Symfony version to 3.4.16
  updated VERSION for 3.4.15
  updated CHANGELOG for 3.4.15
2018-09-02 18:33:37 +01:00
Nicolas Grekas
129e1e3da4 Merge branch '2.8' into 3.4
* 2.8:
  Use the real image URL for the filesystem tests
  [Finder] Update PHPdoc append()
  [DI] Fix phpdoc
  Fix code examples in PHPDoc
  [HttpKernel] Fix inheritdocs
2018-09-02 19:11:59 +02:00
Dany Maillard
557846f769 Fix code examples in PHPDoc 2018-08-29 15:11:53 +02:00
Nicolas Grekas
3dab6cbc43 Merge branch '3.4'
* 3.4:
  [HttpFoundation] refactoring: calculate when need
  [Serializer] Fix extra attributes when no group specified
  [Intl] Make intl-data tests pass and save language aliases again
  [FrameworkBundle][Config] fix: do not add resource checkers for debug=false
  [DI] Fix "almost-circular" dependencies handling
  [Console] Fix CommandTester::setInputs() docblock
  Only enabling validation if it is present
  Fix displaying errors for bootstrap 4
  [Serializer] readd default argument value
  Fix reference dump for deprecated nodes
  [PhpUnitBridge] Fixed fatal error in CoverageListener when something goes wrong in Test::setUpBeforeClass
  [HttpKernel] Let the storage manage the session starts
  [VarDumper] fix trailling comma when dumping an exception
  [Validator] Fix TraceableValidator is reset on data collector instantiation
  Remove useless docblocks
  [FrameworkBundle] Fix docblocks
  [PropertyInfo] Remove useless docblocks
2017-11-05 17:26:21 +01:00
Nicolas Grekas
ae45fceb48 Merge branch '3.3' into 3.4
* 3.3:
  [Serializer] Fix extra attributes when no group specified
  [Intl] Make intl-data tests pass and save language aliases again
  [Console] Fix CommandTester::setInputs() docblock
  [Serializer] readd default argument value
  [VarDumper] fix trailling comma when dumping an exception
  Remove useless docblocks
  [FrameworkBundle] Fix docblocks
  [PropertyInfo] Remove useless docblocks
2017-11-05 17:10:10 +01:00
Nicolas Grekas
e75f48aadc Remove useless docblocks 2017-10-29 10:49:53 +01:00
Edi Modrić
b4f69cb412 [Form] Add useDefaultThemes flag to the interfaces 2017-10-19 17:17:33 +02:00
Edi Modrić
b346199ff3 [Form] [TwigBridge] Added option to disable usage of default themes when rendering a form 2017-10-13 16:30:18 +02:00
Dariusz
8e7d8f3d3e [CS] Apply phpdoc_annotation_without_dot 2017-09-11 13:37:52 -07:00
Fabien Potencier
19154a6317 removed dots at the end of @param and @return 2016-06-28 08:24:06 +02:00
Graham Campbell
b4dd7ffb9c Docblock fixes 2014-11-30 13:33:44 +00:00
Joseph Bielawski
36457711c8 [2.3][Form] Cleanup & fix phpdocs 2014-07-09 12:39:32 +02:00
Fabien Potencier
5e2a4b3102 fixed types in phpdocs 2014-04-16 12:30:19 +02:00
Fabien Potencier
cc64605f78 made phpdoc types consistent with those defined in Hack 2014-04-15 07:41:45 +02:00
Bernhard Schussek
0628f2f2dd [Form] Improved FormRenderer API to reduce the size of the function call stack during rendering 2012-07-22 09:29:35 +02:00
Bernhard Schussek
84c9dfdab4 [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
Bernhard Schussek
f8275b8b79 [Form] Extracted common parts of FormHelper and FormExtension into separate classes 2012-07-16 21:39:27 +02:00