Robert Korulczyk
5a8c3d537b
Enable phpdoc_summary rule in php-cs-fixer config ( #14675 )
...
* Enable `phpdoc_summary` rule in php-cs-fixer config.
* Fix case in "PHPDoc".
2017-08-21 11:19:35 +02:00
Robert Korulczyk
1501c659ac
Add empty lines before return statements. ( #14682 ) [skip ci]
2017-08-21 01:58:49 +03:00
Robert Korulczyk
4aa935e69e
Fixes #12055 : Changed boolean to bool and integer to int in phpdoc
2016-11-07 02:51:39 +03:00
Alexander Makarov
6dd017c2a3
Additional fix for #10617
2016-04-22 16:51:54 +03:00
Alexander Makarov
77996374a4
Fixes #10617 : Fixed yii\web\Request::getBodyParams() returned null instead of empty array if request body is empty and content type is application/json
2016-04-12 02:32:00 +03:00
Carsten Brandt
5a069d1a3c
Fixed inappropriate error response on invalid JSON request
...
Current API responds to invalid JSON with:
```json
HTTP/1.1 400 Bad Request
Content-Type: application/json; charset=UTF-8
...
{"name":"Bad Request","message":"Invalid JSON data in request body: Syntax error.","code":0,"status":400,"previous":{"name":"Internal Server Error","message":"There was an error at the server.","code":0,"status":500}}
```
While it should be
```json
HTTP/1.1 400 Bad Request
Content-Type: application/json; charset=UTF-8
...
{"name":"Bad Request","message":"Invalid JSON data in request body: Syntax error.","code":0,"status":400}
```
2015-09-02 23:10:38 +02:00
Carsten Brandt
3a1e0f3a5c
property codestyle framework
2014-07-30 00:21:31 +02:00
Carsten Brandt
00614b465b
docs about JsonParser
2014-03-27 14:24:59 +01:00
Carsten Brandt
bf3c75147d
reverted breaking PHPdoc codestyle changes
...
issue #2852
2014-03-23 20:51:09 +01:00
SonicGD
b5f8a4dc22
Reformat code te be PSR-2 compatible
2014-03-16 10:46:21 +06:00
Carsten Brandt
9630c807a7
doc link fixes
2014-01-23 12:04:02 +01:00
Carsten Brandt
813a008da2
improved request body parser docs and configuration
...
added a fallback for handling all request types
fixes #2066 , related to #2043
2014-01-20 12:51:43 +01:00
Daniel Schmidt
7c98ef591c
Fixed type in JsonParser
2014-01-19 14:51:16 -08:00
Daniel Schmidt
1026b9da57
Tabs vs. spaces
2014-01-19 14:48:35 -08:00
Daniel Schmidt
7f8850bc70
Adds customizable parsing functionality to the web\Request class (Issue #2043 )
2014-01-19 14:36:10 -08:00