Facade
last analyzed

Complexity

Total Complexity 0

Size/Duplication

Total Lines 2
Duplicated Lines 0 %

Importance

Changes 2
Bugs 0 Features 0
Metric Value
wmc 0
eloc 1
c 2
b 0
f 0
dl 0
loc 2
1
<?php
2
/**
3
 * Created by PhpStorm.
4
 * User: hugh.li
5
 * Date: 2022/5/19
6
 * Time: 17:28
7
 */
8
9
namespace HughCube\Laravel\WeChat;
10
11
use Overtrue\LaravelWeChat\EasyWeChat;
0 ignored issues
show
Bug introduced by
The type Overtrue\LaravelWeChat\EasyWeChat was not found. Maybe you did not declare it correctly or list all dependencies?

The issue could also be caused by a filter entry in the build configuration. If the path has been excluded in your configuration, e.g. excluded_paths: ["lib/*"], you can move it to the dependency path list as follows:

filter:
    dependency_paths: ["lib/*"]

For further information see https://scrutinizer-ci.com/docs/tools/php/php-scrutinizer/#list-dependency-paths

Loading history...
12
use Overtrue\LaravelWeChat\Facade as EasyWeChatFacade;
13
14
if (class_exists(EasyWeChat::class)) {
15
    class Facade extends EasyWeChat
16
    {
17
    }
18
} else {
19
    class Facade extends EasyWeChatFacade
20
    {
21
    }
22
}
23