33 Commits

Author SHA1 Message Date
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()`
2018-02-11 01:48:29 +03:00
69673c0c94 Rename Object -> BaseObject for PHP 7.2 compatibility
issue #7936
2017-07-19 10:51:46 +02:00
c19b2f7dc8 release version 2.0.11 2017-02-01 17:46:29 +01:00
cb52c42cf5 more details about PHP 5 and 7 compatibility regarding Throwable 2016-12-17 00:43:48 +01:00
a3b6dfbb7b Catch \Throwable in critical places
Added catch `\Throwable` to be compatible with PHP7.
Added it in cases where object state needs to be kept consistent.

Mainly on transactions but also some other places where some values are
reset before exiting.

Most of them could probably be refactored by using `finally` in 2.1, as
that requires PHP 5.5.

fixes #12619
2016-12-16 02:20:02 +01:00
4aa935e69e Fixes #12055: Changed boolean to bool and integer to int in phpdoc 2016-11-07 02:51:39 +03:00
731769241b release version 2.0.8 2016-04-28 16:50:20 +02:00
191f2a4943 fixed phpdoc type names 2016-02-25 20:24:32 +01:00
af5f5d0e3e Fixes #9851: Fixed partial commit / rollback in nested transactions 2016-02-15 23:32:32 +03:00
1b3770fd21 Use === instead of == where possible 2015-10-10 01:04:35 +03:00
620ec4d132 added missing namespace on Exception in transaction docs
fixes #9429
2015-08-16 14:13:51 +02:00
3a1e0f3a5c property codestyle framework 2014-07-30 00:21:31 +02:00
4969f51e3f Fixes #3221: Added events for DB transaction commit/rollback 2014-06-26 16:08:18 -04:00
6578cfbdab updated phpdoc and classmap 2014-06-25 18:24:23 +02:00
cc8a8360cb added unit test and notes about dbms specific settings 2014-06-24 03:11:34 +02:00
bbbe2a3e4b Added support for transaction isolation levels
fixes #3220
2014-06-23 19:47:56 +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
bea9e3fc06 Fixes #1645: Added support for nested DB transactions 2014-02-15 22:16:09 -05:00
262189533a huge amount of documentation link fixes 2014-01-28 17:54:40 +01:00
0c38655217 psr-4 move 2014-01-10 21:41:43 -05:00
0d814fa523 Moved "framework" to "iii". 2013-05-09 12:00:15 -04:00
e9ad7d6e36 Rollback word consistencty over entire codebase (ref. #139). 2013-05-06 17:46:34 +06:00
e7295ad564 Use __METHOD__ as log category. 2013-03-28 20:07:49 -04:00
4fdaab3560 updated file header. 2013-03-04 08:03:46 -05:00
4726cf32f3 Copy paste error commit() -> rollBack() 2013-02-01 22:24:09 +01:00
abd3d827a2 refactoring. 2013-01-18 10:37:22 -05:00
6ed01e9645 DB cleanup. 2013-01-18 08:35:09 -05:00
1cbfcb1955 clean up 2013-01-15 20:52:29 -05:00
e150b7fae7 renamed Driver to Schema. 2013-01-15 20:16:27 -05:00
736d30684e refactored the active property of Connection and Transaction.
refactored Transaction.
2013-01-15 19:13:39 -05:00
8e05e6e62d changed copyright line. 2013-01-07 11:34:52 -05:00
8517ee9e50 reorganized DB classes. 2013-01-05 16:46:53 -05:00