Completed
Push — master ( 000192...393fc2 )
by Carsten
15:23
created

Object::__unset()   A

Complexity

Conditions 3
Paths 3

Size

Total Lines 9
Code Lines 6

Duplication

Lines 0
Ratio 0 %

Code Coverage

Tests 7
CRAP Score 3

Importance

Changes 0
Metric Value
dl 0
loc 9
rs 9.6666
c 0
b 0
f 0
ccs 7
cts 7
cp 1
cc 3
eloc 6
nc 3
nop 1
crap 3
1
<?php
2
/**
3
 * @link http://www.yiiframework.com/
4
 * @copyright Copyright (c) 2008 Yii Software LLC
5
 * @license http://www.yiiframework.com/license/
6
 */
7
8
namespace yii\base;
9
10
use Yii;
11
12
/**
13
 * Object is the base class that implements the *property* feature.
14
 *
15
 * It has been replaced by [[BaseObject]] in version 2.0.13 because `object` has become a reserved word which can not be
16
 * used as class name in PHP 7.2.
17
 *
18
 * Please refer to [[BaseObject]] for detailed documentation and to the
19
 * [UPGRADE notes](https://github.com/yiisoft/yii2/blob/2.0.13/framework/UPGRADE.md#upgrade-from-yii-2012)
20
 * on how to migrate your application to use [[BaseObject]] class to make your application compatible with PHP 7.2.
21
 *
22
 * @author Qiang Xue <[email protected]>
23
 * @since 2.0
24
 * @deprecated since 2.0.13, the class name `Object` is invalid since PHP 7.2, use [[BaseObject]] instead.
25
 * @see https://wiki.php.net/rfc/object-typehint
26
 * @see https://github.com/yiisoft/yii2/issues/7936#issuecomment-315384669
27
 */
28
class Object extends BaseObject
29
{
30
}
31