overtrue /
flysystem-cos
| 1 | <?php |
||
| 2 | |||
| 3 | namespace Overtrue\Flysystem\Cos\Plugins; |
||
| 4 | |||
| 5 | use League\Flysystem\Plugin\AbstractPlugin; |
||
|
0 ignored issues
–
show
|
|||
| 6 | |||
| 7 | class FileUrl extends AbstractPlugin |
||
| 8 | { |
||
| 9 | public function getMethod() |
||
| 10 | { |
||
| 11 | return 'getUrl'; |
||
| 12 | } |
||
| 13 | |||
| 14 | public function handle($path) |
||
| 15 | { |
||
| 16 | return $this->filesystem->getAdapter()->getUrl($path); |
||
| 17 | } |
||
| 18 | } |
||
| 19 |
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