28 Commits

Author SHA1 Message Date
Ilyas Salikhov
e06fb926f5 Fix code by php-cs-fixer 2024-10-01 15:54:04 +03:00
Ilyas Salikhov
b603381139 1. Up min PHP version to 8.1
2. Up min Symfony verion to 5.0. Adopt code to sf 5.0+
3. Local env to run tests
4. Repare tests
2024-06-18 12:24:32 +03:00
William Durand
d5395cc0ea
Fix CS 2015-12-04 09:15:21 +01:00
Ener-Getick
67b7b46627 Add symfony 3.0 support 2015-12-02 16:19:12 +01:00
Piotr Antosik
3dea122b98 fix comment in tests 2015-11-10 01:28:40 +01:00
William Durand
716f3f19de
fix test suite by disabling a broken feature 2015-10-22 22:46:25 +02:00
Sullivan SENECHAL
f5b45607c6 Fix deprecated FormType::setDefaultOptions usage 2015-06-05 09:34:11 +02:00
William Durand
94ba751848
fix CS 2015-05-15 17:42:03 +02:00
Stéphane Reuille
dc20b249e7 fix memory limit issue wirh entity list
Allow to disable mapping of entity list to avoid memory limit error on long list
2015-05-13 14:51:15 +02:00
lucasvanlierop
b4a6825db7 Fixed tests by adding separate form type 2014-09-30 13:54:30 +02:00
lucasvanlierop
f625d9671c Fixed disabling required for HTTP PUT requests 2014-09-29 16:49:25 +02:00
William Durand
75eb7ca356 Merge pull request #418 from bezhermoso/swagger
Swagger support
2014-07-30 11:23:46 +02:00
William DURAND
6c7c53e78d Fix CS & file permissions 2014-07-30 10:50:23 +02:00
Bez Hermoso
6f85aed33c Swagger support:
Unified data types [actualType and subType]
Updated tests.
JMS parsing fixes; updated {Validator,FormType}Parser, FOSRestHandler, and AbstractFormatter, and updated DataTypes enum.
Modified dataType checking.
Updated tests.
Updated DataTypes enum.
Quick fix and added doc comments.
CS fixes.
Refactored FormTypeParser to produce nested parameters. Updated tests accordingly.
Logical and CS fixes.
Sub-forms and more tests.
Logical and CS fixes.
Swagger support: created formatter.
Configuration and resourcePath logic update.
ApiDoc annotation update. Updated formatter and added tests.
Parameter formatting.
Added tests for SwaggerFormatter.
Added  option in annotation, and the corresponding logic for parsing the supplied values and processing them in the formatter.
Routing update.
Updated tests.
Removed unused dependency and updated doc comments.
Renamed 'responseModels' to 'responseMap'
Update the resource filtering and formatting of response messages.
Updated check for 200 response model.
Ignore data_class and always use form-type to avoid conflicts.
Fix: add 'type' even if '' is specified.
Refactored responseMap; added parsedResponseMap. Added tests and updated some.
Fix: add 'type' even if '' is specified.
Initial commit of command.
Finished logic for dumping files.
Updated doc comment; added license and added more meaningful class comment.

Array of models support.
2014-07-29 10:25:05 -07:00
Giorgio Premi
e2c2d00075 FormTypeParser: FormType constructor should be called when possible 2014-06-27 10:58:53 +02:00
Bez Hermoso
3a31c93c94 Unified data types [actualType and subType]
Updated tests.

JMS parsing fixes; updated {Validator,FormType}Parser, FOSRestHandler, and AbstractFormatter, and updated DataTypes enum.

Modified dataType checking.

Updated tests.

Updated DataTypes enum.

Quick fix and added doc comments.

CS fixes.

Refactored FormTypeParser to produce nested parameters. Updated tests accordingly.

Logical and CS fixes.

Sub-forms and more tests.

Ignore data_class and always use form-type to avoid conflicts.

Quick fix.
2014-06-27 09:35:18 +02:00
Jonathan Chan
d4e12d66f2 Add default values support for form types
Adding displaying default value in Markdown

updating tests to work with new default value
2014-06-26 11:20:49 -04:00
William DURAND
fa92011126 fix cs 2014-05-16 11:33:58 +02:00
Max Romanovsky
b4fa6013cd Form Parser improvements for date, datetime & choice form types (format & types) 2014-04-04 13:52:12 +03:00
Jordi Boggiano
2a87244869 Fix build 2013-07-05 00:27:42 +02:00
Adrien SAMSON
eef1b7db0a Add tests for FormTypeParser 2013-03-19 15:43:30 +01:00
Christophe Coevoet
5b70c775c0 Added a test for types defined as services 2012-06-21 00:12:21 +02:00
Victor Berchet
383529a607 fix indentation 2012-05-28 10:56:37 +03:00
Victor Berchet
fd00844dc6 [Form] Update to sf2.1 2012-05-27 22:56:01 +02:00
kphoen
c8bc72fae1 Updated tests
I forgot to update the tests in the PR #21.
2012-05-26 18:43:11 +02:00
Christophe Coevoet
378f21ec10 Fixed the parsing of formed defined by creating the FormBuilder directly 2012-05-23 00:20:03 +02:00
William DURAND
6d8796f9c6 Fixed tests 2012-04-13 14:20:12 +02:00
Jordi Boggiano
2791512139 Add basic tests 2012-04-13 14:12:40 +02:00