You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feature #860 Replace deprecated Organization\Teams api calls (lolos)
This PR was squashed before being merged into the 2.13.x-dev branch.
Discussion
----------
This Pull Request fixes the API calls for the functions:
- \Github\Api\Organization\Teams::show
- \Github\Api\Organization\Teams::update
- \Github\Api\Organization\Teams::remove
- \Github\Api\Organization\Teams::members
- \Github\Api\Organization\Teams::check
- \Github\Api\Organization\Teams::addMember
- \Github\Api\Organization\Teams::removeMember
based on the official Github's v3 API documentation:
- https://developer.github.com/v3/teams/
- https://developer.github.com/v3/teams/members/
since those functions incorrectly threw `Github\Exception\RuntimeException: Not Found`
Commits
-------
624da98 Ignore PHPStorm's .idea directory
3f332ed Fix various Teams' URIs
7742bd1 Revert "Ignore PHPStorm's .idea directory"
ca63e29 fixes backward compatibility check
9f5071c fix update()
6ecdb0a style fix
6ceeb55 changes based on @acrobat's suggestions
2550444 styling fix
@trigger_error('Not passing the $organisation parameter is deprecated in knpLabs/php-github-api v2.14 and will be mandatory in v3.0.', E_USER_DEPRECATED);
@trigger_error('Not passing the $organisation parameter is deprecated in knpLabs/php-github-api v2.14 and will be mandatory in v3.0.', E_USER_DEPRECATED);
@trigger_error('Not passing the $organisation parameter is deprecated in knpLabs/php-github-api v2.14 and will be mandatory in v3.0.', E_USER_DEPRECATED);
@trigger_error('Not passing the $organisation parameter is deprecated in knpLabs/php-github-api v2.14 and will be mandatory in v3.0.', E_USER_DEPRECATED);
@trigger_error('Not passing the $organisation parameter is deprecated in knpLabs/php-github-api v2.14 and will be mandatory in v3.0.', E_USER_DEPRECATED);
@trigger_error('Not passing the $organisation parameter is deprecated in knpLabs/php-github-api v2.14 and will be mandatory in v3.0.', E_USER_DEPRECATED);
@trigger_error('Not passing the $organisation parameter is deprecated in knpLabs/php-github-api v2.14 and will be mandatory in v3.0.', E_USER_DEPRECATED);
0 commit comments