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

Object::__isset()   A

Complexity

Conditions 2
Paths 2

Size

Total Lines 9
Code Lines 5

Duplication

Lines 0
Ratio 0 %

Code Coverage

Tests 5
CRAP Score 2

Importance

Changes 0
Metric Value
dl 0
loc 9
ccs 5
cts 5
cp 1
rs 9.6666
c 0
b 0
f 0
cc 2
eloc 5
nc 2
nop 1
crap 2
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