|
|
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.
|
2017-06-12 12:25:45 +03:00 |
|
|
|
950e895fe0
|
Fix phpDocumentor annotations (#13905) [skip ci]
|
2017-04-02 21:49:09 +03:00 |
|
|
|
2de18cf9a5
|
Fixes #13087: Fixed getting active validators for safe attribute
|
2017-02-22 17:06:19 +03:00 |
|
|
|
4e9d903fed
|
Fixes #11404: yii\base\Model::loadMultiple() returns true even if yii\base\Model::load() returns false
|
2017-02-15 01:33:23 +03:00 |
|
|
|
954c771fdb
|
Code cleanup (#13113)
* Simplified code branching, named variable better
* More simple code cleanup
* More consistent line breaks before return statemetns
|
2016-12-03 00:15:53 +03:00 |
|
|
|
4aa935e69e
|
Fixes #12055: Changed boolean to bool and integer to int in phpdoc
|
2016-11-07 02:51:39 +03:00 |
|
|
|
32f4dc8997
|
Fixes #5385: links created from classes to corresponding guide articles (#12920)
|
2016-11-04 18:55:14 +03:00 |
|
|
|
e8c16a09fa
|
Fixed some typos (#12847)
|
2016-10-26 14:02:38 +03:00 |
|
|
|
8de6a5117c
|
Fixed yii\base\Model::offsetExists() throws an exception on un-existing field
|
2016-07-28 12:33:16 +03:00 |
|
|
|
67b5f4ea19
|
fix for unsafe validator
Closes #8145 #8139 #11153
|
2016-03-22 23:31:16 +02:00 |
|
|
|
cd87d67f34
|
Global DOCS update: ~~~ replaced with ```
|
2015-12-02 23:15:28 +02:00 |
|
|
|
00a8a6270e
|
revised docs about Model::load()
thanks to @tom-- for review.
|
2015-08-12 16:01:41 +02:00 |
|
|
|
6d9fe671de
|
various code style and whitespace adjustments
|
2015-08-02 00:27:19 +02:00 |
|
|
|
9012aa66bf
|
Fixed documentation according to Chg #4911
|
2015-07-29 12:42:56 +02:00 |
|
|
|
d3bd7af956
|
improved documentation of Model::load() return value
fixes #8803
close #9216
|
2015-07-26 02:21:41 +02:00 |
|
|
|
0c5e4b7105
|
PSR-2 foreach statement
|
2015-06-08 23:21:21 +03:00 |
|
|
|
f68e970de2
|
link to PHP classes just as we do with normal classes
apidoc can handle this!
|
2015-06-05 21:53:24 +02:00 |
|
|
|
d5693cfe01
|
small improvements of Model phpdoc
|
2015-05-19 01:16:47 +02:00 |
|
|
|
a0cc77d78d
|
Update Model.php
close #8463
|
2015-05-19 01:16:30 +02:00 |
|
|
|
a4f760e798
|
Fixed yii\base\Model does not recognize scenario declared by rules using 'except'
|
2015-04-24 18:03:34 +03:00 |
|
|
|
851a914f67
|
phpdoc tweak: Model::scenarios()
|
2015-04-20 13:08:04 +02:00 |
|
|
|
85ca8c3712
|
Added ability to specify hints for model attributes
|
2015-04-17 14:16:28 +03:00 |
|
|
|
605c2d9eca
|
yii\base\Model::load() typo fix
|
2014-12-30 10:09:48 +03:00 |
|
|
|
7aae667e28
|
Fixes #6618: Added Model::addErrors()
|
2014-12-26 23:05:59 +03:00 |
|
|
|
8b79293ff2
|
added missing @since annotations
|
2014-11-27 18:11:14 +01:00 |
|
|
|
fe546cd22f
|
Fixes #5688: Added optional $formName to Model::loadMultiple() to support customizing form name directly
|
2014-11-07 10:47:38 -05:00 |
|
|
|
ecb113f1d0
|
fixed model serializtaion example
|
2014-11-01 14:05:56 +01:00 |
|
|
|
0ed6355ee1
|
test and docs to be clear about #4558
|
2014-08-01 15:35:23 +02:00 |
|
|
|
da544b2676
|
Fixes #4519: yii\base\Model::isAttributeRequired() should check if the when option of the validator is set
|
2014-07-29 21:01:24 -04:00 |
|
|
|
45ee387f92
|
It is not required by default when you set the "when" attribute
|
2014-07-29 20:59:21 -04:00 |
|
|
|
3a1e0f3a5c
|
property codestyle framework
|
2014-07-30 00:21:31 +02:00 |
|
|
|
0c14f47f9a
|
Fixes #3793: Changed inline autocomplete hints style to get more IDEs support
|
2014-06-20 17:40:00 +04:00 |
|
|
|
8c8a389844
|
Fixes #3772: Behaviors adding validation rules do not work as expected
|
2014-06-17 16:26:22 -04:00 |
|
|
|
7bce33f1da
|
Excess \yii\base\Model::resolveFields() method removed
|
2014-06-10 04:21:16 +04:00 |
|
|
|
0b29c9607d
|
fixed broken API links [skip ci]
|
2014-04-09 22:22:49 -04:00 |
|
|
|
fa767ceaca
|
renamed attributes to attributeNames in model
fixes #3034
|
2014-04-09 18:54:53 +02:00 |
|
|
|
bf3c75147d
|
reverted breaking PHPdoc codestyle changes
issue #2852
|
2014-03-23 20:51:09 +01:00 |
|
|
|
b5f8a4dc22
|
Reformat code te be PSR-2 compatible
|
2014-03-16 10:46:21 +06:00 |
|
|
|
40cb98bb02
|
updated @property annotations
|
2014-03-11 16:21:25 +01:00 |
|
|
|
c5ec3550de
|
Removed unused "use" statements
|
2014-03-07 02:10:32 +04:00 |
|
|
|
3f42d5826a
|
REST wip.
|
2014-03-05 13:29:24 -05:00 |
|
|
|
a8c7d36c02
|
Finished HATEOAS support.
|
2014-03-03 14:58:37 -05:00 |
|
|
|
39947be66b
|
rest WIP
|
2014-02-28 21:25:43 -05:00 |
|
|
|
9beba31fc0
|
rest WIP
|
2014-02-28 08:34:51 -05:00 |
|
|
|
9c0572bff9
|
Fixed $model->load($data) returned true if $data and formName were empty
|
2014-02-05 22:08:47 +04:00 |
|
|
|
d9d36006a7
|
Fixed default scenario constant in docs
|
2014-02-02 19:09:33 +04:00 |
|
|
|
91444b20c8
|
#2248: Renamed yii\base\Model::DEFAULT_SCENARIO to yii\base\Model::SCENARIO_DEFAULT
|
2014-02-01 01:06:08 +04:00 |
|
|
|
18d7224ac8
|
Fixes #2149: Added yii\base\DynamicModel to support ad-hoc data validation
|
2014-01-27 16:13:25 -05:00 |
|
|
|
9aa006e5ea
|
Removed implementation of Arrayable from yii\Object
|
2014-01-21 16:44:28 -05:00 |
|
|
|
0c38655217
|
psr-4 move
|
2014-01-10 21:41:43 -05:00 |
|