Would you accept a PR adding a travis job for phpstan? ... and additional PRs to introduce more specific typehints, e.g. more concrete array return-types etc see https://github.com/KnpLabs/php-github-api/blob/94dec1e3753fd9c28aaddba3985db011e445bde0/lib/Github/Api/Issue/Labels.php#L25 This would ease usage of the lib and allow to find errors faster when using it in a upstream project