Completed
Push — master ( 8a3baa...fa7e80 )
by Vuong
01:55
created

TaskRunnerErrorTest::run()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 4

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
dl 0
loc 4
rs 10
c 0
b 0
f 0
cc 1
nc 1
nop 0
1
<?php
2
/**
3
 * @link https://github.com/vuongxuongminh/yii2-async
4
 * @copyright Copyright (c) 2019 Vuong Xuong Minh
5
 * @license [New BSD License](http://www.opensource.org/licenses/bsd-license.php)
6
 */
7
8
namespace vxm\test\unit\async;
9
10
use yii\console\Exception;
11
12
use vxm\async\Task;
13
14
/**
15
 * Class TaskRunnerErrorTest
16
 *
17
 * @author Vuong Minh <[email protected]>
18
 * @since 1.0.0
19
 */
20
class TaskRunnerErrorTest extends Task
21
{
22
23
    public function run()
24
    {
25
        throw new Exception('Test Message');
26
    }
27
28
}
29