| Total Complexity | 3 |
| Total Lines | 35 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 13 | class file extends types { |
||
|
|
|||
| 14 | /** Keep all of properties which has sub properties */ |
||
| 15 | private const subs = []; |
||
| 16 | |||
| 17 | /** Identifier for this file, which can be used to download or reuse the file */ |
||
| 18 | public string $id; |
||
| 19 | |||
| 20 | /** Identifier for this file, which can be used to download or reuse the file */ |
||
| 21 | public string $file_id; |
||
| 22 | |||
| 23 | /** |
||
| 24 | * Unique identifier for this file, which is supposed to be the same over time and for different bots. Can't be |
||
| 25 | * used to download or reuse the file. |
||
| 26 | */ |
||
| 27 | public string $file_unique_id; |
||
| 28 | |||
| 29 | /** |
||
| 30 | * Optional. File size in bytes. It can be bigger than 2^31 and some programming languages may have |
||
| 31 | * difficulty/silent defects in interpreting it. But it has at most 52 significant bits, so a signed 64-bit |
||
| 32 | * integer or double-precision float type are safe for storing this value. |
||
| 33 | */ |
||
| 34 | public null|int $file_size = null; |
||
| 35 | |||
| 36 | /** Optional. File path. Use https://api.telegram.org/file/bot<token>/<file_path> to get the file. */ |
||
| 37 | public null|string $file_path = null; |
||
| 38 | |||
| 39 | |||
| 40 | public function __construct(stdClass|null $object = null) { |
||
| 41 | if ($object != null) { |
||
| 42 | parent::__construct($object, self::subs); |
||
| 43 | } |
||
| 44 | } |
||
| 45 | |||
| 46 | public function link(): string { |
||
| 48 | } |
||
| 49 | } |
||
| 50 |
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