Skip to content

Commit fc29f2f

Browse files
committed
Reserved keywords fix
1 parent 2a35781 commit fc29f2f

File tree

241 files changed

+2866
-64
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

241 files changed

+2866
-64
lines changed

composer.lock

Lines changed: 17 additions & 17 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/OpenAPI/ApiGitHubCom/Client.php

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1609,14 +1609,14 @@ public function call(string $call, array $params = array()) : \React\Promise\Pro
16091609
return $operation->createResponse($response);
16101610
});
16111611
break;
1612-
case \ApiClients\Client\Github\OpenAPI\ApiGitHubCom\Operation\Gists\List::OPERATION_MATCH:
1612+
case \ApiClients\Client\Github\OpenAPI\ApiGitHubCom\Operation\Gists\List_::OPERATION_MATCH:
16131613
$requestBodyData = array();
16141614
foreach (\array_keys($params) as $param) {
16151615
if (\in_array($param, array('since', 'per_page', 'page')) != false) {
16161616
\array_push($requestBodyData, $param);
16171617
}
16181618
}
1619-
$operation = $this->gists()->list($params['since'], $params['per_page'], $params['page']);
1619+
$operation = $this->gists()->list_($params['since'], $params['per_page'], $params['page']);
16201620
$request = $operation->createRequest($requestBodyData);
16211621
return $this->browser->request($request->getMethod(), $request->getUri(), $request->withHeader('Authorization', $this->authentication->authHeader())->getHeaders(), $request->getBody())->then(function (\Psr\Http\Message\ResponseInterface $response) use($operation) : \Rx\Observable|int|\ApiClients\Client\Github\OpenAPI\ApiGitHubCom\Schema\BasicError {
16221622
return $operation->createResponse($response);
@@ -1895,14 +1895,14 @@ public function call(string $call, array $params = array()) : \React\Promise\Pro
18951895
return $operation->createResponse($response);
18961896
});
18971897
break;
1898-
case \ApiClients\Client\Github\OpenAPI\ApiGitHubCom\Operation\Issues\List::OPERATION_MATCH:
1898+
case \ApiClients\Client\Github\OpenAPI\ApiGitHubCom\Operation\Issues\List_::OPERATION_MATCH:
18991899
$requestBodyData = array();
19001900
foreach (\array_keys($params) as $param) {
19011901
if (\in_array($param, array('filter', 'state', 'labels', 'sort', 'direction', 'since', 'collab', 'orgs', 'owned', 'pulls', 'per_page', 'page')) != false) {
19021902
\array_push($requestBodyData, $param);
19031903
}
19041904
}
1905-
$operation = $this->issues()->list($params['filter'], $params['state'], $params['labels'], $params['sort'], $params['direction'], $params['since'], $params['collab'], $params['orgs'], $params['owned'], $params['pulls'], $params['per_page'], $params['page']);
1905+
$operation = $this->issues()->list_($params['filter'], $params['state'], $params['labels'], $params['sort'], $params['direction'], $params['since'], $params['collab'], $params['orgs'], $params['owned'], $params['pulls'], $params['per_page'], $params['page']);
19061906
$request = $operation->createRequest($requestBodyData);
19071907
return $this->browser->request($request->getMethod(), $request->getUri(), $request->withHeader('Authorization', $this->authentication->authHeader())->getHeaders(), $request->getBody())->then(function (\Psr\Http\Message\ResponseInterface $response) use($operation) : \Rx\Observable|\ApiClients\Client\Github\OpenAPI\ApiGitHubCom\Schema\ValidationError|int|\ApiClients\Client\Github\OpenAPI\ApiGitHubCom\Schema\BasicError {
19081908
return $operation->createResponse($response);
@@ -2480,14 +2480,14 @@ public function call(string $call, array $params = array()) : \React\Promise\Pro
24802480
return $operation->createResponse($response);
24812481
});
24822482
break;
2483-
case \ApiClients\Client\Github\OpenAPI\ApiGitHubCom\Operation\Orgs\List::OPERATION_MATCH:
2483+
case \ApiClients\Client\Github\OpenAPI\ApiGitHubCom\Operation\Orgs\List_::OPERATION_MATCH:
24842484
$requestBodyData = array();
24852485
foreach (\array_keys($params) as $param) {
24862486
if (\in_array($param, array('since', 'per_page')) != false) {
24872487
\array_push($requestBodyData, $param);
24882488
}
24892489
}
2490-
$operation = $this->orgs()->list($params['since'], $params['per_page']);
2490+
$operation = $this->orgs()->list_($params['since'], $params['per_page']);
24912491
$request = $operation->createRequest($requestBodyData);
24922492
return $this->browser->request($request->getMethod(), $request->getUri(), $request->withHeader('Authorization', $this->authentication->authHeader())->getHeaders(), $request->getBody())->then(function (\Psr\Http\Message\ResponseInterface $response) use($operation) : \Rx\Observable|int {
24932493
return $operation->createResponse($response);
@@ -9032,14 +9032,14 @@ public function call(string $call, array $params = array()) : \React\Promise\Pro
90329032
return $operation->createResponse($response);
90339033
});
90349034
break;
9035-
case \ApiClients\Client\Github\OpenAPI\ApiGitHubCom\Operation\Teams\List::OPERATION_MATCH:
9035+
case \ApiClients\Client\Github\OpenAPI\ApiGitHubCom\Operation\Teams\List_::OPERATION_MATCH:
90369036
$requestBodyData = array();
90379037
foreach (\array_keys($params) as $param) {
90389038
if (\in_array($param, array('org', 'per_page', 'page')) != false) {
90399039
\array_push($requestBodyData, $param);
90409040
}
90419041
}
9042-
$operation = $this->teams()->list($params['org'], $params['per_page'], $params['page']);
9042+
$operation = $this->teams()->list_($params['org'], $params['per_page'], $params['page']);
90439043
$request = $operation->createRequest($requestBodyData);
90449044
return $this->browser->request($request->getMethod(), $request->getUri(), $request->withHeader('Authorization', $this->authentication->authHeader())->getHeaders(), $request->getBody())->then(function (\Psr\Http\Message\ResponseInterface $response) use($operation) : \Rx\Observable|\ApiClients\Client\Github\OpenAPI\ApiGitHubCom\Schema\BasicError {
90459045
return $operation->createResponse($response);
@@ -10501,14 +10501,14 @@ public function call(string $call, array $params = array()) : \React\Promise\Pro
1050110501
return $operation->createResponse($response);
1050210502
});
1050310503
break;
10504-
case \ApiClients\Client\Github\OpenAPI\ApiGitHubCom\Operation\Pulls\List::OPERATION_MATCH:
10504+
case \ApiClients\Client\Github\OpenAPI\ApiGitHubCom\Operation\Pulls\List_::OPERATION_MATCH:
1050510505
$requestBodyData = array();
1050610506
foreach (\array_keys($params) as $param) {
1050710507
if (\in_array($param, array('owner', 'repo', 'state', 'head', 'base', 'sort', 'direction', 'per_page', 'page')) != false) {
1050810508
\array_push($requestBodyData, $param);
1050910509
}
1051010510
}
10511-
$operation = $this->pulls()->list($params['owner'], $params['repo'], $params['state'], $params['head'], $params['base'], $params['sort'], $params['direction'], $params['per_page'], $params['page']);
10511+
$operation = $this->pulls()->list_($params['owner'], $params['repo'], $params['state'], $params['head'], $params['base'], $params['sort'], $params['direction'], $params['per_page'], $params['page']);
1051210512
$request = $operation->createRequest($requestBodyData);
1051310513
return $this->browser->request($request->getMethod(), $request->getUri(), $request->withHeader('Authorization', $this->authentication->authHeader())->getHeaders(), $request->getBody())->then(function (\Psr\Http\Message\ResponseInterface $response) use($operation) : \Rx\Observable|int|\ApiClients\Client\Github\OpenAPI\ApiGitHubCom\Schema\ValidationError {
1051410514
return $operation->createResponse($response);
@@ -11307,14 +11307,14 @@ public function call(string $call, array $params = array()) : \React\Promise\Pro
1130711307
return $operation->createResponse($response);
1130811308
});
1130911309
break;
11310-
case \ApiClients\Client\Github\OpenAPI\ApiGitHubCom\Operation\Users\List::OPERATION_MATCH:
11310+
case \ApiClients\Client\Github\OpenAPI\ApiGitHubCom\Operation\Users\List_::OPERATION_MATCH:
1131111311
$requestBodyData = array();
1131211312
foreach (\array_keys($params) as $param) {
1131311313
if (\in_array($param, array('since', 'per_page')) != false) {
1131411314
\array_push($requestBodyData, $param);
1131511315
}
1131611316
}
11317-
$operation = $this->users()->list($params['since'], $params['per_page']);
11317+
$operation = $this->users()->list_($params['since'], $params['per_page']);
1131811318
$request = $operation->createRequest($requestBodyData);
1131911319
return $this->browser->request($request->getMethod(), $request->getUri(), $request->withHeader('Authorization', $this->authentication->authHeader())->getHeaders(), $request->getBody())->then(function (\Psr\Http\Message\ResponseInterface $response) use($operation) : \Rx\Observable|int {
1132011320
return $operation->createResponse($response);

src/OpenAPI/ApiGitHubCom/Operation/Gists.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,9 @@ public function __construct(\League\OpenAPIValidation\Schema\SchemaValidator $re
1111
$this->requestSchemaValidator = $requestSchemaValidator;
1212
$this->responseSchemaValidator = $responseSchemaValidator;
1313
}
14-
public function list(string $since, int $per_page = 30, int $page = 1) : \ApiClients\Client\Github\OpenAPI\ApiGitHubCom\Operation\Gists\List
14+
public function list_(string $since, int $per_page = 30, int $page = 1) : \ApiClients\Client\Github\OpenAPI\ApiGitHubCom\Operation\Gists\List_
1515
{
16-
return new \ApiClients\Client\Github\OpenAPI\ApiGitHubCom\Operation\Gists\List($this->requestSchemaValidator, $this->responseSchemaValidator, $since, $per_page, $page);
16+
return new \ApiClients\Client\Github\OpenAPI\ApiGitHubCom\Operation\Gists\List_($this->requestSchemaValidator, $this->responseSchemaValidator, $since, $per_page, $page);
1717
}
1818
public function create() : \ApiClients\Client\Github\OpenAPI\ApiGitHubCom\Operation\Gists\Create
1919
{

src/OpenAPI/ApiGitHubCom/Operation/Gists/List.php renamed to src/OpenAPI/ApiGitHubCom/Operation/Gists/List_.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
namespace ApiClients\Client\Github\OpenAPI\ApiGitHubCom\Operation\Gists;
44

5-
final class List
5+
final class List_
66
{
77
private const OPERATION_ID = 'gists/list';
88
public const OPERATION_MATCH = 'GET /gists';

src/OpenAPI/ApiGitHubCom/Operation/Issues.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,9 @@ public function __construct(\League\OpenAPIValidation\Schema\SchemaValidator $re
1111
$this->requestSchemaValidator = $requestSchemaValidator;
1212
$this->responseSchemaValidator = $responseSchemaValidator;
1313
}
14-
public function list(string $filter = 'assigned', string $state = 'open', string $labels, string $sort = 'created', string $direction = 'desc', string $since, bool $collab, bool $orgs, bool $owned, bool $pulls, int $per_page = 30, int $page = 1) : \ApiClients\Client\Github\OpenAPI\ApiGitHubCom\Operation\Issues\List
14+
public function list_(string $filter = 'assigned', string $state = 'open', string $labels, string $sort = 'created', string $direction = 'desc', string $since, bool $collab, bool $orgs, bool $owned, bool $pulls, int $per_page = 30, int $page = 1) : \ApiClients\Client\Github\OpenAPI\ApiGitHubCom\Operation\Issues\List_
1515
{
16-
return new \ApiClients\Client\Github\OpenAPI\ApiGitHubCom\Operation\Issues\List($this->requestSchemaValidator, $this->responseSchemaValidator, $filter, $state, $labels, $sort, $direction, $since, $collab, $orgs, $owned, $pulls, $per_page, $page);
16+
return new \ApiClients\Client\Github\OpenAPI\ApiGitHubCom\Operation\Issues\List_($this->requestSchemaValidator, $this->responseSchemaValidator, $filter, $state, $labels, $sort, $direction, $since, $collab, $orgs, $owned, $pulls, $per_page, $page);
1717
}
1818
public function listForOrg(string $org, string $filter = 'assigned', string $state = 'open', string $labels, string $sort = 'created', string $direction = 'desc', string $since, int $per_page = 30, int $page = 1) : \ApiClients\Client\Github\OpenAPI\ApiGitHubCom\Operation\Issues\ListForOrg
1919
{

src/OpenAPI/ApiGitHubCom/Operation/Issues/List.php renamed to src/OpenAPI/ApiGitHubCom/Operation/Issues/List_.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
namespace ApiClients\Client\Github\OpenAPI\ApiGitHubCom\Operation\Issues;
44

5-
final class List
5+
final class List_
66
{
77
private const OPERATION_ID = 'issues/list';
88
public const OPERATION_MATCH = 'GET /issues';

src/OpenAPI/ApiGitHubCom/Operation/Orgs.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,9 @@ public function __construct(\League\OpenAPIValidation\Schema\SchemaValidator $re
1111
$this->requestSchemaValidator = $requestSchemaValidator;
1212
$this->responseSchemaValidator = $responseSchemaValidator;
1313
}
14-
public function list(int $since, int $per_page = 30) : \ApiClients\Client\Github\OpenAPI\ApiGitHubCom\Operation\Orgs\List
14+
public function list_(int $since, int $per_page = 30) : \ApiClients\Client\Github\OpenAPI\ApiGitHubCom\Operation\Orgs\List_
1515
{
16-
return new \ApiClients\Client\Github\OpenAPI\ApiGitHubCom\Operation\Orgs\List($this->requestSchemaValidator, $this->responseSchemaValidator, $since, $per_page);
16+
return new \ApiClients\Client\Github\OpenAPI\ApiGitHubCom\Operation\Orgs\List_($this->requestSchemaValidator, $this->responseSchemaValidator, $since, $per_page);
1717
}
1818
public function get(string $org) : \ApiClients\Client\Github\OpenAPI\ApiGitHubCom\Operation\Orgs\Get
1919
{

src/OpenAPI/ApiGitHubCom/Operation/Orgs/List.php renamed to src/OpenAPI/ApiGitHubCom/Operation/Orgs/List_.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
namespace ApiClients\Client\Github\OpenAPI\ApiGitHubCom\Operation\Orgs;
44

5-
final class List
5+
final class List_
66
{
77
private const OPERATION_ID = 'orgs/list';
88
public const OPERATION_MATCH = 'GET /organizations';

src/OpenAPI/ApiGitHubCom/Operation/Pulls.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,9 @@ public function __construct(\League\OpenAPIValidation\Schema\SchemaValidator $re
1111
$this->requestSchemaValidator = $requestSchemaValidator;
1212
$this->responseSchemaValidator = $responseSchemaValidator;
1313
}
14-
public function list(string $owner, string $repo, string $state = 'open', string $head, string $base, string $sort = 'created', string $direction, int $per_page = 30, int $page = 1) : \ApiClients\Client\Github\OpenAPI\ApiGitHubCom\Operation\Pulls\List
14+
public function list_(string $owner, string $repo, string $state = 'open', string $head, string $base, string $sort = 'created', string $direction, int $per_page = 30, int $page = 1) : \ApiClients\Client\Github\OpenAPI\ApiGitHubCom\Operation\Pulls\List_
1515
{
16-
return new \ApiClients\Client\Github\OpenAPI\ApiGitHubCom\Operation\Pulls\List($this->requestSchemaValidator, $this->responseSchemaValidator, $owner, $repo, $state, $head, $base, $sort, $direction, $per_page, $page);
16+
return new \ApiClients\Client\Github\OpenAPI\ApiGitHubCom\Operation\Pulls\List_($this->requestSchemaValidator, $this->responseSchemaValidator, $owner, $repo, $state, $head, $base, $sort, $direction, $per_page, $page);
1717
}
1818
public function create(string $owner, string $repo) : \ApiClients\Client\Github\OpenAPI\ApiGitHubCom\Operation\Pulls\Create
1919
{

src/OpenAPI/ApiGitHubCom/Operation/Pulls/List.php renamed to src/OpenAPI/ApiGitHubCom/Operation/Pulls/List_.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
namespace ApiClients\Client\Github\OpenAPI\ApiGitHubCom\Operation\Pulls;
44

5-
final class List
5+
final class List_
66
{
77
private const OPERATION_ID = 'pulls/list';
88
public const OPERATION_MATCH = 'GET /repos/{owner}/{repo}/pulls';

0 commit comments

Comments
 (0)