File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1212 *
1313 * @author Miloslav Hůla (https://github.com/milo)
1414 */
15- class Api extends Sanity
15+ class Api
1616{
17+ use Strict;
18+
1719 /** @var string */
1820 private $ url = 'https://api.github.com ' ;
1921
Original file line number Diff line number Diff line change 1212 *
1313 * @author Miloslav Hůla (https://github.com/milo)
1414 */
15- abstract class AbstractClient extends Github \Sanity implements IClient
15+ abstract class AbstractClient implements IClient
1616{
17+ use Github \Strict;
18+
1719 /** @var int[] will follow Location header on these response codes */
1820 public $ redirectCodes = [
1921 Response::S301_MOVED_PERMANENTLY ,
Original file line number Diff line number Diff line change 1313 *
1414 * @author Miloslav Hůla (https://github.com/milo)
1515 */
16- class CachedClient extends Github \Sanity implements IClient
16+ class CachedClient implements IClient
1717{
18+ use Github \Strict;
19+
1820 /** @var Storages\ICache|null */
1921 private $ cache ;
2022
Original file line number Diff line number Diff line change 1212 *
1313 * @author Miloslav Hůla (https://github.com/milo)
1414 */
15- abstract class Message extends Github \Sanity
15+ abstract class Message
1616{
17+ use Github \Strict;
18+
1719 /** @var array[name => value] */
1820 private $ headers = [];
1921
Original file line number Diff line number Diff line change 1212 *
1313 * @author Miloslav Hůla (https://github.com/milo)
1414 */
15- class Configuration extends Github \Sanity
15+ class Configuration
1616{
17+ use Github \Strict;
18+
1719 /** @var string */
1820 public $ clientId ;
1921
Original file line number Diff line number Diff line change 1414 *
1515 * @author Miloslav Hůla (https://github.com/milo)
1616 */
17- class Login extends Github \Sanity
17+ class Login
1818{
19+ use Github \Strict;
20+
1921 /** @var string */
2022 private $ authUrl = 'https://github.com/login/oauth/authorize ' ;
2123
Original file line number Diff line number Diff line change 1212 *
1313 * @author Miloslav Hůla (https://github.com/milo)
1414 */
15- class Token extends Github \Sanity
15+ class Token
1616{
17+ use Github \Strict;
18+
1719 /** @var string */
1820 private $ value ;
1921
Original file line number Diff line number Diff line change 1212 *
1313 * @author Miloslav Hůla (https://github.com/milo)
1414 */
15- class Paginator extends Sanity implements \Iterator
15+ class Paginator implements \Iterator
1616{
17+ use Strict;
18+
1719 /** @var Api */
1820 private $ api ;
1921
Original file line number Diff line number Diff line change 1212 *
1313 * @author Miloslav Hůla (https://github.com/milo)
1414 */
15- class FileCache extends Github \Sanity implements ICache
15+ class FileCache implements ICache
1616{
17+ use Github \Strict;
18+
1719 /** @var string */
1820 private $ dir ;
1921
Original file line number Diff line number Diff line change 1212 *
1313 * @author Miloslav Hůla (https://github.com/milo)
1414 */
15- class SessionStorage extends Github \Sanity implements ISessionStorage
15+ class SessionStorage implements ISessionStorage
1616{
17+ use Github \Strict;
18+
1719 const SESSION_KEY = 'milo.github-api ' ;
1820
1921 /** @var string */
You can’t perform that action at this time.
0 commit comments