KnpLabs / KnpLabs/php-github-api
Add .phpstorm.meta.php to improve code completion
- Ngôn ngữ chính
- PHP
- Star
- 2.2k
- Fork
- 587
- Chỉ số merge pull request
- Không có pull request nào được merge trong 30 ngày
Mô tả
Folks, adding a `.phpstorm.meta.php` file with something like this below, would make users' experience with the package in PhpStorm a bit better when using calls like `->api('issue')`:
```php
\Github\Api\Issue::class,
//...
]));
}
```
Would you be interested in adding it?
Hướng dẫn đóng góp
Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này
Hướng nghiên cứu
Start with the proposed .phpstorm.meta.php file and inspect the \Github\Client::api(0) entry point to identify the API names that need metadata mappings. The work is complete when PhpStorm can infer the returned type for calls such as api('issue'), with the mappings covering the package's relevant API classes.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Đánh giá
- Công nghệ
- php
- Lĩnh vực
- developer-experience
- Loại issue
- Tính năng
- Độ khó
- 2/5
- Thời gian dự kiến
- 1-3 giờ
- Mức độ hoạt động
- Đình trệ
- Độ rõ ràng
- Khá rõ ràng
- Mức phù hợp với người mới
- 35/100