Klimov Paul
|
71c541773f
|
PHPDoc fix
|
7 years ago |
Klimov Paul
|
65f6b59b35
|
`@inheritdoc` notation changed
|
7 years ago |
Dmitry Naumenko
|
d604d80823
|
Fixes #14043: Added `yii\helpers\IpHelper`
|
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 |
Alexander Makarov
|
1f26db9fb7
|
Applied code style fixes
|
7 years ago |
Robert Korulczyk
|
fe8a0a6a2e
|
Enable `no_useless_else` rule in php-cs-fixer (#14420)
|
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 |
Mikk Tendermann
|
59d3292399
|
[IpValidator] disable ipv6 checks (#13984)
* disable ipv6 checks
* remove empty line
* updated CHANGELOG.md
|
8 years ago |
Kolyunya
|
4eed7fb3da
|
Fixes #13901: Fixed passing unused parameter to `formatMessage()` call in `\yii\validators\IpValidator`
|
8 years ago |
Sam
|
06967f9018
|
Fixes #13254: Core validators no longer require Yii::$app to be set
|
8 years ago |
Vladimir Reznichenko
|
a182ce57fc
|
Fixes for issues found with Static Code Analysis with Php Inspections (EA Extended) (#13606)
* Php Inspections (EA Extended): language level migration fixes
* Php Inspections (EA Extended): instanceof a trait always return false
* Php Inspections (EA Extended): fixed preg_quote (/ is not escaped by default)
* Php Inspections (EA Extended): fixed a greedy regex
* Php Inspections (EA Extended): refereted instanceof self in a trait
* Php Inspections (EA Extended): revert language level changes in requirements checker
* Php Inspections (EA Extended): revert language level changes in requirements checker
* Php Inspections (EA Extended): more greedy regexes fixed
|
8 years ago |
SilverFire - Dmitry Naumenko
|
a132ee9a08
|
Fixed order or checks in IpValidator
Fixes #13198
|
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 |
Nikola Kovacs
|
9d327baa8b
|
coding style fixes
|
8 years ago |
Carsten Brandt
|
191f2a4943
|
fixed phpdoc type names
|
9 years ago |
Alexander Makarov
|
4bc7c51180
|
Removed unnecessary if
|
9 years ago |
Alexander Makarov
|
5c4e2d4372
|
Removed unnecessary parentheses
|
9 years ago |
Alexander Makarov
|
b6caff1952
|
Removed unused imports
|
9 years ago |
Carsten Brandt
|
9b5f6cb188
|
prepare for 2.0.7 release
- adjust version
- build classmap
- build phpdoc @property annotations
- build mime-type file
|
9 years ago |
SilverFire - Dmitry Naumenko
|
63eb47fb39
|
IpValidator - added examples to class PHPDoc
|
9 years ago |
SilverFire - Dmitry Naumenko
|
b804dbb98f
|
IpValidator JS validation: wrongIp->message renamed
|
9 years ago |
Carsten Brandt
|
f620f4de90
|
phpdoc fixes
|
9 years ago |
Carsten Brandt
|
93ed683502
|
IpValidator: use message property for default error
its better to use already existing `message` property for the default error message.
|
9 years ago |
Carsten Brandt
|
e41c2e3946
|
validators PHPdoc
|
9 years ago |
SilverFire - Dmitry Naumenko
|
8e68d2cd57
|
IpValidator::clientValidateAttribute - fixed passing of regular exressions to JS
|
9 years ago |
SilverFire - Dmitry Naumenko
|
f6477f312c
|
IpValidator - added skipOnEmpty to JS options
|
9 years ago |
SilverFire - Dima Naumenko
|
8edc1e5109
|
IpValidator PHPDoc update: removed links to private methods
|
9 years ago |
SilverFire - Dima Naumenko
|
377a3952a1
|
IpValidator default error messages moved to init(), PHPDoc updates
|
9 years ago |
SilverFire - Dima Naumenko
|
32d1b9512c
|
Added IpValidator description to `core-validators` ru,en guides. IpValidaor PHPDoc enhanced
|
9 years ago |
Alexander Makarov
|
5242765257
|
Fixes #3506: Added `\yii\validators\IpValidator` to perform validation of IP addresses and subnets
|
9 years ago |