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 FileSignedUrl extends AbstractPlugin |
||
| 8 | { |
||
| 9 | public function getMethod() |
||
| 10 | { |
||
| 11 | return 'getSignedUrl'; |
||
| 12 | } |
||
| 13 | |||
| 14 | public function handle(string $path, string $expires = null) |
||
| 15 | { |
||
| 16 | return $this->filesystem->getAdapter()->getSignedUrl($path, $expires); |
||
| 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