| Total Complexity | 4 |
| Total Lines | 67 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 17 | class SendDocument extends AbstractMethod |
||
| 18 | { |
||
| 19 | use File; |
||
| 20 | |||
| 21 | const NAME = 'sendDocument'; |
||
| 22 | |||
| 23 | const RETURN_ENTITY = Message::class; |
||
| 24 | |||
| 25 | protected $chat_id; |
||
| 26 | |||
| 27 | protected $document; |
||
| 28 | |||
| 29 | protected $caption; |
||
| 30 | |||
| 31 | protected $disable_notification; |
||
| 32 | |||
| 33 | protected $reply_to_message_id; |
||
| 34 | |||
| 35 | protected $reply_markup; |
||
| 36 | |||
| 37 | protected $supportedProperties = [ |
||
| 38 | 'chat_id' => true, |
||
| 39 | 'document' => true, |
||
| 40 | 'caption' => false, |
||
| 41 | 'disable_notification' => false, |
||
| 42 | 'reply_to_message_id' => false, |
||
| 43 | 'reply_markup' => false |
||
| 44 | ]; |
||
| 45 | |||
| 46 | /** |
||
| 47 | * @return mixed |
||
| 48 | */ |
||
| 49 | public function getChatId() |
||
| 50 | { |
||
| 51 | return $this->chat_id; |
||
| 52 | } |
||
| 53 | |||
| 54 | /** |
||
| 55 | * @param mixed $chat_id |
||
| 56 | * |
||
| 57 | * @return $this |
||
| 58 | */ |
||
| 59 | public function setChatId($chat_id) |
||
| 60 | { |
||
| 61 | $this->chat_id = $chat_id; |
||
| 62 | |||
| 63 | return $this; |
||
| 64 | } |
||
| 65 | |||
| 66 | /** |
||
| 67 | * @return \CURLFile|string |
||
|
|
|||
| 68 | */ |
||
| 69 | public function getDocument() |
||
| 72 | } |
||
| 73 | |||
| 74 | /** |
||
| 75 | * @param string $document |
||
| 76 | * |
||
| 77 | * @return $this |
||
| 78 | */ |
||
| 79 | public function setDocument($document) |
||
| 84 | } |
||
| 85 | } |
||
| 86 |
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