Carsten Brandt
|
93bbf5b39d
|
Fixes #15015: Added `StringHelper::floatToString()` to savely cast float values independent of the locale, also fixes some places in the framework that use it now
|
7 years ago |
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".
|
7 years ago |
Robert Korulczyk
|
1501c659ac
|
Add empty lines before return statements. (#14682) [skip ci]
|
7 years ago |
Robert Korulczyk
|
ba0ab403b5
|
Added php-cs-fixer coding standards validation to Travis CI (#14100)
* php-cs-fixer: PSR2 rule.
* php-cs-fixer: PSR2 rule - fix views.
* Travis setup refactoring.
* Add php-cs-fixer to travis cs tests.
* Fix tests on hhvm-3.12
* improve travis config
* composer update
* revert composer update
* improve travis config
* Fix CS.
* Extract config to separate classes.
* Extract config to separate classes.
* Add file header.
* Force short array syntax.
* binary_operator_spaces fixer
* Fix broken tests
* cast_spaces fixer
* concat_space fixer
* dir_constant fixer
* ereg_to_preg fixer
* function_typehint_space fixer
* hash_to_slash_comment fixer
* is_null fixer
* linebreak_after_opening_tag fixer
* lowercase_cast fixer
* magic_constant_casing fixer
* modernize_types_casting fixer
* native_function_casing fixer
* new_with_braces fixer
* no_alias_functions fixer
* no_blank_lines_after_class_opening fixer
* no_blank_lines_after_phpdoc fixer
* no_empty_comment fixer
* no_empty_phpdoc fixer
* no_empty_statement fixer
* no_extra_consecutive_blank_lines fixer
* no_leading_import_slash fixer
* no_leading_namespace_whitespace fixer
* no_mixed_echo_print fixer
* no_multiline_whitespace_around_double_arrow fixer
* no_multiline_whitespace_before_semicolons fixer
* no_php4_constructor fixer
* no_short_bool_cast fixer
* no_singleline_whitespace_before_semicolons fixer
* no_spaces_around_offset fixer
* no_trailing_comma_in_list_call fixer
* no_trailing_comma_in_singleline_array fixer
* no_unneeded_control_parentheses fixer
* no_unused_imports fixer
* no_useless_return fixer
* no_whitespace_before_comma_in_array fixer
* no_whitespace_in_blank_line fixer
* not_operator_with_successor_space fixer
* object_operator_without_whitespace fixer
* ordered_imports fixer
* php_unit_construct fixer
* php_unit_dedicate_assert fixer
* php_unit_fqcn_annotation fixer
* phpdoc_indent fixer
* phpdoc_no_access fixer
* phpdoc_no_empty_return fixer
* phpdoc_no_package fixer
* phpdoc_no_useless_inheritdoc fixer
* Fix broken tests
* phpdoc_return_self_reference fixer
* phpdoc_single_line_var_spacing fixer
* phpdoc_single_line_var_spacing fixer
* phpdoc_to_comment fixer
* phpdoc_trim fixer
* phpdoc_var_without_name fixer
* psr4 fixer
* self_accessor fixer
* short_scalar_cast fixer
* single_blank_line_before_namespace fixer
* single_quote fixer
* standardize_not_equals fixer
* ternary_operator_spaces fixer
* trailing_comma_in_multiline_array fixer
* trim_array_spaces fixer
* protected_to_private fixer
* unary_operator_spaces fixer
* whitespace_after_comma_in_array fixer
* `parent::setRules()` -> `$this->setRules()`
* blank_line_after_opening_tag fixer
* Update finder config.
* Revert changes for YiiRequirementChecker.
* Fix array formatting.
* Add missing import.
* Fix CS for new code merged from master.
* Fix some indentation issues.
|
7 years ago |
Carsten Brandt
|
c09a03ab8e
|
fixed version and missing `@since` annotation
|
7 years ago |
sasha-ch
|
339c7663eb
|
Fixes #10346: Fixed "DOMException: Invalid Character Error" in `yii\web\XmlResponseFormatter::buildXml()`
|
8 years ago |
Nikolay Oleynikov
|
323568c2e9
|
Remove trailing spaces from sources and tests (#13621) [skip ci]
|
8 years ago |
Carsten Brandt
|
c19b2f7dc8
|
release version 2.0.11
|
8 years ago |
Alexander Makarov
|
c33583aede
|
Fixed naming for #13214 as suggested by Paul
|
8 years ago |
Alexander Makarov
|
8ba78398c7
|
Handle root tag set to null or false or empty. Fixed version in `@since`
|
8 years ago |
Alexander Makarov
|
2f7c1b36b5
|
Fixes #12419: Added ability to remove root tag and object tags for `yii\web\XmlResponseFormatter`
|
8 years ago |
mhthnz
|
1dcc6042b6
|
Initial work on #12419
|
8 years ago |
Robert Korulczyk
|
4aa935e69e
|
Fixes #12055: Changed `boolean` to `bool` and `integer` to `int` in phpdoc
|
8 years ago |
Alexander Makarov
|
0ac321370b
|
Fixes #12856: Fixed `yii\web\XmlResponseFormatter` to use `true` and `false` to represent booleans
|
8 years ago |
Carsten Brandt
|
3d719d057e
|
review `yii\web` namespaces docs
|
9 years ago |
Andrew Nester
|
a0ca37ed6a
|
10545 - Fix for XMLResponseFormatter to format models in a proper way
|
9 years ago |
Alexander Makarov
|
45432cc653
|
#9528: added missing data provider for JSON formatter test, added changelog and upgrade note, added `@since` tag to new property
|
9 years ago |
MaXL
|
4f81b4a99d
|
Fixes #9528: Traversable objects are now formatted as arrays in `yii\web\XmlResponseFormatter` to support SPL objects and Generators
|
9 years ago |
slavcodev
|
9028bc5aa7
|
Fixed header Content-Type when response is empty
|
10 years ago |
RichWeber
|
92cd13a913
|
pull origin
|
10 years ago |
Carsten Brandt
|
3a1e0f3a5c
|
property codestyle framework
|
10 years ago |
Qiang Xue
|
aec1b8172b
|
Added `HtmlResponseFormatter` and `JsonResponseFormatter`
|
11 years ago |
Carsten Brandt
|
bf3c75147d
|
reverted breaking PHPdoc codestyle changes
issue #2852
|
11 years ago |
SonicGD
|
b5f8a4dc22
|
Reformat code te be PSR-2 compatible
|
11 years ago |
Qiang Xue
|
0c38655217
|
psr-4 move
|
11 years ago |
Alexander Makarov
|
26767735dc
|
Renamed byte methods, moved path methods back to StringHelper
|
11 years ago |
Alexander Makarov
|
5f2a612c78
|
Moved file and path related methods from StringHelper to FileHelper, renamed StringHelper byte methods not to be misused as string methods
|
11 years ago |
Carsten Brandt
|
539e233d9c
|
massive improvement on class documentation
- added example code for application components
- added missing short description
[ci skip]
|
11 years ago |
Alexander Makarov
|
1f6a823073
|
Short array syntax
|
11 years ago |
Alexander Makarov
|
e19d0dacf9
|
Fixes #823: consistent interface naming
|
11 years ago |
Alexander Makarov
|
02f8062435
|
fixed code style
|
11 years ago |
Qiang Xue
|
3e18479d1f
|
Fixes issue #545: PageCache doesn't work.
|
11 years ago |
Qiang Xue
|
5a8e4b648b
|
Added XmlResponseFormatter.
|
11 years ago |