Total Complexity | 5 |
Total Lines | 35 |
Duplicated Lines | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
14 | class GetProcessUrl extends AbstractPlugin |
||
15 | { |
||
16 | |||
17 | /** |
||
18 | * Get the method name. |
||
19 | * |
||
20 | * @return string |
||
21 | */ |
||
22 | public function getMethod() |
||
23 | { |
||
24 | return 'getProcessUrl'; |
||
25 | } |
||
26 | |||
27 | /** |
||
28 | * 对oss图片进行操作 |
||
29 | * 阿里云 oss 帮助文档:https://help.aliyun.com/document_detail/44688.html?spm=a2c4g.11186623.6.1199.40572e934MoHWu |
||
30 | * @param $path 文件路径 |
||
31 | * @param string $action 操作名称 |
||
32 | * @param array $option 操作参数 |
||
33 | * @return string 返回 url 链接地址 |
||
34 | * @throws \Exception |
||
35 | */ |
||
36 | public function handle($path, $action = 'resize', $option = ['m' => 'fixed','h' => '100','w' => '100']){ |
||
49 | } |
||
50 | } |
||
51 |
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:For further information see https://scrutinizer-ci.com/docs/tools/php/php-scrutinizer/#list-dependency-paths