KnpLabs / KnpLabs/php-github-api
Add .phpstorm.meta.php to improve code completion
未关闭
- 主要语言
- PHP
- 星标
- 2.2k
- 派生
- 587
- PR 合并指标
- 30 天内没有已合并 PR
描述
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?
贡献指南
这个仓库没有索引到贡献指南
调研方向
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.
由索引模型根据 Issue 内容生成。
评估
- 技术栈
- php
- 领域
- developer-experience
- Issue 类型
- 功能
- 难度
- 2/5
- 预计耗时
- 1-3 小时
- 活跃度
- 停滞
- 描述清晰度
- 基本清楚
- 新手友好度
- 35/100