Klimov Paul
|
71c541773f
|
PHPDoc fix
|
7 years ago |
Klimov Paul
|
65f6b59b35
|
`@inheritdoc` notation changed
|
7 years ago |
bscheshirwork
|
1453eeaa4a
|
Added example to validateValue PHPDoc [skip ci] (#15193)
|
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 |
Dmitry Dorogin
|
8ae2223c6a
|
Fixes #14370: Fixed creating built-in validator in model with same function name
|
7 years ago |
Robert Korulczyk
|
fe8a0a6a2e
|
Enable `no_useless_else` rule in php-cs-fixer (#14420)
|
7 years ago |
Konstantin Tsukur
|
cb09e1e463
|
calling getAttributeNames() only once
close #14389
|
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
|
be658f82bf
|
release version 2.0.12
|
7 years ago |
Kolyunya
|
4a17032717
|
Fix validators documentation
|
8 years ago |
Paul Klimov
|
3598f8180c
|
Fixes #13087: Fixed getting active validators for safe attribute
|
8 years ago |
Sam
|
06967f9018
|
Fixes #13254: Core validators no longer require Yii::$app to be set
|
8 years ago |
Alexander Makarov
|
3536c7c4f9
|
Additional fixes for #13087
|
8 years ago |
Elvira Sheina
|
2de18cf9a5
|
Fixes #13087: Fixed getting active validators for safe attribute
|
8 years ago |
Nikola Kovacs
|
f5beaf3edf
|
Make validator getClientOptions public
This allows implementing custom client-side validation
without extending every validator.
Fixes #11163
close #13145
|
8 years ago |
Alexey Rogachev
|
76e253e140
|
`yii\validators\Validator` - added separate methods for client-side validation options
Closes #11163
|
8 years ago |
Robert Korulczyk
|
4aa935e69e
|
Fixes #12055: Changed `boolean` to `bool` and `integer` to `int` in phpdoc
|
8 years ago |
Boudewijn Vahrmeijer
|
32f4dc8997
|
Fixes #5385: links created from classes to corresponding guide articles (#12920)
|
8 years ago |
Nikola Kovacs
|
1414b18835
|
Add short validator names `time` and `datetime`.
These map to `DateValidator` with `$type` set to
TYPE_TIME and TYPE_DATETIME.
close #12198
|
8 years ago |
SilverFire - Dmitry Naumenko
|
b42b8d6458
|
Updated PHPDoc for `Validator::createValidator()`. Closes #12564
|
8 years ago |
SilverFire - Dmitry Naumenko
|
494842636e
|
📖 Fixed `client-side` and `server-side` grammar in all files
|
8 years ago |
Aleksey Loban
|
5307d50852
|
Typos yii\validators\Validator::$whenClient [skip ci]
|
8 years ago |
Sam Mousa
|
b30b5a99ea
|
Fixes #11672: Fixed `yii\validators\NumberValidator` erroring when value is an object without `__toString()` method
|
8 years ago |
Nikola Kovacs
|
662f86acb5
|
fix missing closing bracket in documentation (#11716)
|
8 years ago |
Alexander Makarov
|
f312163258
|
Fixes #11220: NumberValidator now handles objects properly
|
9 years ago |
SilverFire - Dmitry Naumenko
|
5db2afbaeb
|
Code style fixed, PHPDoc updated
|
9 years ago |
mdmunir
|
67b5f4ea19
|
fix for unsafe validator
Closes #8145 #8139 #11153
|
9 years ago |
SilverFire - Dmitry Naumenko
|
a0e614eb20
|
`yii\validators\EachValidator` injects specific attribute value in error message parameters
Closes #11139
|
9 years ago |
Alexander Makarov
|
5242765257
|
Fixes #3506: Added `\yii\validators\IpValidator` to perform validation of IP addresses and subnets
|
9 years ago |
Nikola Kovacs
|
4c0bcaf12e
|
Fixes #8822, fixes #9298. Clientside validator docs enhancements.
|
9 years ago |
Alexander Makarov
|
4f6f041e8b
|
The stricter the better
|
9 years ago |
Thiago Talma
|
4b50ace287
|
Update Validator.php
|
9 years ago |
Klimov Paul
|
4672a8c83f
|
Doc comments at `yii\validators\Validator::isEmpty()` fixed
|
10 years ago |
Klimov Paul
|
e29fcc8ea2
|
Docs about `yii\validators\EachValidator` adjusted
|
10 years ago |
Klimov Paul
|
35eb833a2b
|
Added `yii\validators\EachValidator`
|
10 years ago |
Alexander Makarov
|
f66b8ba571
|
Fixes #6589: updated code style guide to mention else after return, adjusted code involved in the issue
|
10 years ago |
Qiang Xue
|
7c48837a67
|
Fixes #5836: doc fixes.
|
10 years ago |
Arthur Khachaturov
|
5794534a26
|
Unused InvalidConfigException
|
10 years ago |
Qiang Xue
|
2ef7eda249
|
Fixes #4611.
|
10 years ago |
Tomek Romik
|
24d0314928
|
Update docs for clientValidateAttribute()
|
10 years ago |
RichWeber
|
92cd13a913
|
pull origin
|
10 years ago |
Carsten Brandt
|
3a1e0f3a5c
|
property codestyle framework
|
10 years ago |
Alexander Makarov
|
0edd8bc65a
|
Fixed missing and incorrect phpdoc
|
10 years ago |
Qiang Xue
|
9f08d18f96
|
Fixes #3020 [skip ci]
|
10 years ago |
Qiang Xue
|
01e5ffdceb
|
guide WIP [skip ci]
|
10 years ago |
Maikel Brouwer
|
46add80ac2
|
Add missing Exception when wrong validator is used
|
11 years ago |
Carsten Brandt
|
b65b0ce591
|
better exception message for non existing validator
|
11 years ago |
Carsten Brandt
|
bf3c75147d
|
reverted breaking PHPdoc codestyle changes
issue #2852
|
11 years ago |
Qiang Xue
|
d1363d9684
|
Added Validator::whenClient.
|
11 years ago |
David Renty
|
7ea52fb262
|
Implemented conditional validators (see #2406)
|
11 years ago |