KnpLabs / KnpLabs/php-github-api
Add .phpstorm.meta.php to improve code completion
- Lenguaje dominante
- PHP
- Estrellas
- 2.2k
- Forks
- 587
- Métricas de merge de PR
- Sin PR fusionados en 30 d
Descripción
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?
Guía de contribución
No hay ninguna guía de contribución indexada para este repositorio
Línea de trabajo
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.
Escrito por el modelo de indexación a partir del texto del issue.
Evaluación
- Stack tecnológico
- php
- Área
- developer-experience
- Tipo de issue
- Nueva funcionalidad
- Dificultad
- 2/5
- Tiempo estimado
- 1-3 horas
- Estado de actividad
- Estancado
- Claridad
- Bastante claro
- Aptitud para principiantes
- 35/100