53256fdd24
Fix #20513 : Fix code examples in PHPDoc
2025-09-06 00:22:56 +03:00
52e4a3e645
release version 2.0.50
2024-05-30 20:23:31 +03:00
e2a167028b
Upgrade to PSR12 coding standard ( #20121 )
2024-03-19 17:21:27 +03:00
c8c0ea97c4
Fix #19899 : Fixed GridView in some cases calling Model::generateAttributeLabel() to generate label values that are never used
2023-07-24 11:52:38 +03:00
55ea8eee1e
Fix sorting link for multisort with default order ( #19733 )
...
* Add sort tests
* Fix link for multisort
* changelog
* Fix test
2023-01-10 12:16:04 +01:00
161526cd41
HTTPS everywhere ( #19503 )
2022-08-03 12:32:18 +03:00
a87c02c712
Fix more types ( #19333 )
...
* Migration::upsert() returns void
* Unneeded `@property` tags
* Add missing `null` param/return types
* Null types for db\Query + db\ActiveQuery
* Fixed testSelect
* Null types for Validator
* Several more null types
* One more
* Make AccessRule::$allow always a boolean
It doesn't have any special null handling, so it's safe to default to false
* Validator::$skipOnEmpty is always a boolean
* Catch all throwable from Widget::widget()
* Don't limit $previous args to \Exception
The actual \Exception allows $previous to be any throwable in PHP 7+
* Add Throwable catch block to Instance::get()
* Throwable cleanup
Comment changes only.
- Document \Throwable instead of \Exception wherever appropriate
- Removed redundant exception/error classes when \Throwable is referenced
* Yii::setlogger() accepts null
* ArrayHelper::removeValue() can remove any type of value
* Change default $allow value to false
2022-04-03 11:20:21 +02:00
655786b7ed
release version 2.0.44
2021-12-30 10:50:56 +03:00
fa6f0ef658
Fix variable references in phpdoc ( #19006 )
2021-11-10 13:26:55 +03:00
463a67bc73
Add ability to turn the sorting off for a clicked column in GridView with multisort ( #18826 )
...
* Add ability to turn the sorting off for a clicked column in GridView with multisort
* Update Sort.php
* Fix SortTest
* Update CHANGELOG.md
Co-authored-by: Bizley <pawel@positive.codes>
2021-08-11 13:37:37 +02:00
4e2045c040
release version 2.0.41
2021-03-04 00:51:35 +03:00
ccb14ff667
release version 2.0.39
2020-11-10 13:58:35 +03:00
70f9ab858b
release version 2.0.33
2020-03-24 23:03:06 +03:00
a19dd48b79
Fix #7622 : Allow yii\data\ArrayDataProvider to control the sort flags for sortModels through yii\data\Sort::sortFlags property
2020-02-04 11:56:35 +03:00
561242be5e
Fix Sort:: setAttributeOrders() phpdoc ( #17663 ) [skip ci]
2019-11-12 20:18:10 +02:00
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
2018-03-12 01:37:19 +03:00
1f26db9fb7
Applied code style fixes
2017-07-21 15:42:06 +03:00
69673c0c94
Rename Object -> BaseObject for PHP 7.2 compatibility
...
issue #7936
2017-07-19 10:51:46 +02:00
fe8a0a6a2e
Enable no_useless_else rule in php-cs-fixer ( #14420 )
2017-07-10 11:26:21 +03:00
473598ac8c
Added support for sorting by expression to \yii\data\Sort
2017-05-09 17:26:49 +03:00
385eb88048
Added yii\data\Sort::parseSortParams
...
allowing customize other params request formats in descendant class.
close #13170
2017-04-26 01:42:45 +02: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
11fe407ad0
release version 2.0.10
2016-10-20 14:02:50 +02:00
088f15ee67
Cosmetic changes in DocBlocks ( #12788 ) [skip ci]
2016-10-20 00:31:25 +03:00
90b9ed87bd
Added yii\data\Sort::setAttributeOrders()
2016-08-31 14:03:34 +03:00
3a1e0f3a5c
property codestyle framework
2014-07-30 00:21:31 +02:00
474e664c5f
phpdoc code
2014-07-08 16:02:49 +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
43c17d99cc
Fixes #2426 : Changed URL creation method signatures to be consistent
2014-02-20 20:10:33 +04:00
26cb7b2a3c
Renamed fooVar to fooParam for various classes.
2014-02-15 18:18:27 -05:00
c0bac44f10
Fixes #1186 : Changed Sort to use comma to separate multiple sort fields and use negative sign to indicate descending sort
2014-02-15 17:54:33 -05:00
262189533a
huge amount of documentation link fixes
2014-01-28 17:54:40 +01:00
0d669f5e6b
refactored params methods in Request
...
issue #2043
2014-01-21 15:04:43 +01:00
ed14eaaae5
added docs about # link to sort and paginiation
...
fixes #2072
2014-01-20 14:33:04 +01:00
a766a00027
Sort updated
2014-01-19 13:51:01 +04:00
0c38655217
psr-4 move
2014-01-10 21:41:43 -05:00