Vladimir Reznichenko
1a74b3d4f8
[minor] SCA with Php Inspections (EA Ultimate) ( #15871 )
...
* Php Inspections (EA Ultimate): use type casting where applicable
* Php Inspections (EA Ultimate): use constants where applicable
* Php Inspections (EA Ultimate): CS
* Php Inspections (EA Ultimate): address some of one-time used variables
* Php Inspections (EA Ultimate): address some of performance-related findings
* Php Inspections (EA Ultimate): address some of performance-related findings
* Php Inspections (EA Ultimate): revert a constant usage
* Php Inspections (EA Ultimate): revert sequential assignments
* Php Inspections (EA Ultimate): build is green again
* Php Inspections (EA Ultimate): revert array_merge tweaks
* Php Inspections (EA Ultimate): revert BC-incompatible one-time used variable tweak
* Update description [skip ci]
* Php Inspections (EA Ultimate): CS
7 years ago
SilverFire - Dmitry Naumenko
22832b7c49
release version 2.0.14
7 years ago
Brandon Kelly
e6f5c46cdc
Fixes #15633 : Deprecate some things going away/changing in 2.1
...
- Deprecated `yii\base\BaseObject::className()` in favor of native PHP syntax `::class`, which does not trigger autoloading
- Deprecated XCache and Zend data cache support as caching backends
- Deprecated `yii\BaseYii::powered()` method
- Added `yii\base\InvalidArgumentException` and deprecated `yii\base\InvalidParamException`
- Added `yii\BaseYii::debug()` and deprecated `yii\BaseYii::trace()`
7 years ago
Mikk Tendermann
5550ad2021
Fixes #15595 : `yii\data\DataFilter` can now handle `lt`,`gt`,`lte` and `gte` on `yii\validators\DateValidator`
7 years ago
Klimov Paul
65f6b59b35
`@inheritdoc` notation changed
7 years ago
Alexander Makarov
2d672b6722
release version 2.0.13
7 years ago
Alexander Makarov
ec76b624a9
Adjusted new message quotes style [skip ci]
7 years ago
Alexander Makarov
fb23b0d0ea
Code style fixes
7 years ago
Alexander Makarov
376006a2d5
Data filter enhancements and docs
...
- Added docs.
- Moved to "data" namespace.
- Moved messages to "yii" category.
- Added Russian messages translation.
7 years ago
Paul Klimov
d68789a195
Fixes #13779 , fixes #5786
...
- #13779 : Fixed `yii\db\ActiveRecord::joinWith()` unable to use relation defined via attached behavior.
- #5786 : Allowed to use custom constructors in ActiveRecord-based classes.
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
Alexander Makarov
1f26db9fb7
Applied code style fixes
7 years ago
Carsten Brandt
69673c0c94
Rename Object -> BaseObject for PHP 7.2 compatibility
...
issue #7936
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
Carsten Brandt
be658f82bf
release version 2.0.12
7 years ago
Klimov Paul
473598ac8c
Added support for sorting by expression to `\yii\data\Sort`
7 years ago
Alex
533da6240e
Update phpdoc, \yii\db\ActiveRecord => \yii\db\ActiveRecordInterface [skip ci] ( #14076 )
8 years ago
Nikolay Oleynikov
da6eada8c8
Fix an invalid phpDocumentor annotation
...
Fixed an invalid phpDocumentor annotation of `yii\data\DataProviderInterface::getPagination()`.
8 years ago
Leandro Guindani Gehlen
385eb88048
Added `yii\data\Sort::parseSortParams`
...
allowing customize other params request formats in descendant class.
close #13170
8 years ago
Sam Mousa
98871123c9
Fixed ignored params when using count in `SqlDataProvider`
8 years ago
Sam Mousa
ae7378974e
Fixes #13376 : Data provider now automatically sets an ID so there is no need to set it manually in case multiple data providers are used with pagination
8 years ago
Alexander Makarov
78a0035703
Removed unnecessary else
8 years ago
Sam Mousa
79f16b1492
Fixes #13883 : `\yii\data\SqlDataProvider` now provides automatic fallback for the case when `totalCount` is not specified
8 years ago
Nikolay Oleynikov
7d82bbcd37
Fixes #13467 : `yii\data\ActiveDataProvider` no longer queries models if models count is zero
8 years ago
Carsten Brandt
c19b2f7dc8
release version 2.0.11
8 years ago
Evgeniy Tkachenko
69de8f8460
Update ActiveDataProvider.php
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
Lanrik
333c4b6b4f
Remove unnecessary comparsion ( #12833 )
...
* Remove unnecessary comparsion
* Clarify condition
8 years ago
Carsten Brandt
11fe407ad0
release version 2.0.10
8 years ago
Roman Grinyov
6bffb78391
Added `public` keyword to example ( #12789 ) [skip ci]
8 years ago
Roman Grinyov
088f15ee67
Cosmetic changes in DocBlocks ( #12788 ) [skip ci]
8 years ago
Klimov Paul
90b9ed87bd
Added `yii\data\Sort::setAttributeOrders()`
8 years ago
Evgeniy Tkachenko
976acc6146
Update BaseDataProvider.php ( #12168 ) [skip ci]
8 years ago
Carsten Brandt
217d50e4ff
improved PHPdoc and `@since` annotations
8 years ago
Nikola Kovacs
2a05754ede
Fix link in documentation ( #11861 ) [skip ci]
8 years ago
Nikola Kovacs
7e96db253d
Add missing documentation for getSort ( #11862 ) [skip ci]
8 years ago
cuiliang
c0df003ac0
merge from master
8 years ago
SilverFire - Dmitry Naumenko
030913e7f0
Fixed code style and indentations
9 years ago
PowerGamer1
7f3511a908
Update ArrayDataProvider.php
...
Update DataColumn.php
Update CHANGELOG.md
9 years ago
Carsten Brandt
731769241b
release version 2.0.8
9 years ago
Evgeniy Tkachenko
8001f2b259
Update BaseDataProvider.php ( #11342 )
9 years ago
Evgeniy Tkachenko
f6094ee519
Update Pagination.php ( #11343 )
9 years ago
SilverFire - Dmitry Naumenko
cd87d67f34
Global DOCS update: ~~~ replaced with ```
9 years ago
Alexander Makarov
b53bbb34e9
Fixed typo
9 years ago
╃巡洋艦㊣
586684b050
2.0.5 bf7edc5
9 years ago
Alexander Mohorev
0c5e4b7105
PSR-2 foreach statement
9 years ago
Klimov Paul
bb4bed4833
Fixed `yii\data\ArrayDataProvider::getKeys()` return wrong when `yii\data\ArrayDataProvider::$allModels` contain integer key
10 years ago
Carsten Brandt
0a6715bd0b
enhanced default value for ListView Sort attribute labels
...
fixes #7530
close #7561
10 years ago