Skip to content

Commit d0d82aa

Browse files
committed
Fix namespacing
1 parent aecf4a3 commit d0d82aa

File tree

5,838 files changed

+97884
-97884
lines changed

Some content is hidden

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

5,838 files changed

+97884
-97884
lines changed

etc/openapi-generator-config.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
spec: https://raw.githubusercontent.com/github/rest-api-description/main/descriptions-next/ghec/ghec.yaml
22
namespace:
3-
source: ApiClients\Client\Github
4-
test: ApiClients\Tests\Client\Github
3+
source: ApiClients\Client\GitHubEnterpriseCloud
4+
test: ApiClients\Tests\Client\GitHubEnterpriseCloud
55
destination:
66
root: ../
77
source: src

src/Client.php

Lines changed: 529 additions & 529 deletions
Large diffs are not rendered by default.

src/ClientInterface.php

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
<?php
22

33
declare (strict_types=1);
4-
namespace ApiClients\Client\Github;
4+
namespace ApiClients\Client\GitHubEnterpriseCloud;
55

6-
use ApiClients\Client\Github\Error as ErrorSchemas;
7-
use ApiClients\Client\Github\Hydrator;
8-
use ApiClients\Client\Github\Operation;
9-
use ApiClients\Client\Github\Schema;
10-
use ApiClients\Client\Github\WebHook;
6+
use ApiClients\Client\GitHubEnterpriseCloud\Error as ErrorSchemas;
7+
use ApiClients\Client\GitHubEnterpriseCloud\Hydrator;
8+
use ApiClients\Client\GitHubEnterpriseCloud\Operation;
9+
use ApiClients\Client\GitHubEnterpriseCloud\Schema;
10+
use ApiClients\Client\GitHubEnterpriseCloud\WebHook;
1111
interface ClientInterface
1212
{
1313
/**

src/Error/BasicError.php

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
<?php
22

33
declare (strict_types=1);
4-
namespace ApiClients\Client\Github\Error;
4+
namespace ApiClients\Client\GitHubEnterpriseCloud\Error;
55

6-
use ApiClients\Client\Github\Error as ErrorSchemas;
7-
use ApiClients\Client\Github\Hydrator;
8-
use ApiClients\Client\Github\Operation;
9-
use ApiClients\Client\Github\Schema;
10-
use ApiClients\Client\Github\WebHook;
6+
use ApiClients\Client\GitHubEnterpriseCloud\Error as ErrorSchemas;
7+
use ApiClients\Client\GitHubEnterpriseCloud\Hydrator;
8+
use ApiClients\Client\GitHubEnterpriseCloud\Operation;
9+
use ApiClients\Client\GitHubEnterpriseCloud\Schema;
10+
use ApiClients\Client\GitHubEnterpriseCloud\WebHook;
1111
final class BasicError extends \Error
1212
{
1313
public function __construct(public int $status, public Schema\BasicError $error)

src/Error/Operation/CodeScanning/ListAlertsForEnterprise/Response/Applicationjson/H503.php

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
<?php
22

33
declare (strict_types=1);
4-
namespace ApiClients\Client\Github\Error\Operation\CodeScanning\ListAlertsForEnterprise\Response\Applicationjson;
4+
namespace ApiClients\Client\GitHubEnterpriseCloud\Error\Operation\CodeScanning\ListAlertsForEnterprise\Response\Applicationjson;
55

6-
use ApiClients\Client\Github\Error as ErrorSchemas;
7-
use ApiClients\Client\Github\Hydrator;
8-
use ApiClients\Client\Github\Operation;
9-
use ApiClients\Client\Github\Schema;
10-
use ApiClients\Client\Github\WebHook;
6+
use ApiClients\Client\GitHubEnterpriseCloud\Error as ErrorSchemas;
7+
use ApiClients\Client\GitHubEnterpriseCloud\Hydrator;
8+
use ApiClients\Client\GitHubEnterpriseCloud\Operation;
9+
use ApiClients\Client\GitHubEnterpriseCloud\Schema;
10+
use ApiClients\Client\GitHubEnterpriseCloud\WebHook;
1111
final class H503 extends \Error
1212
{
1313
public function __construct(public int $status, public Schema\Operation\CodeScanning\ListAlertsForEnterprise\Response\Applicationjson\H503 $error)

src/Error/Operation/Gists/CheckIsStarred/Response/Applicationjson/H404.php

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
<?php
22

33
declare (strict_types=1);
4-
namespace ApiClients\Client\Github\Error\Operation\Gists\CheckIsStarred\Response\Applicationjson;
4+
namespace ApiClients\Client\GitHubEnterpriseCloud\Error\Operation\Gists\CheckIsStarred\Response\Applicationjson;
55

6-
use ApiClients\Client\Github\Error as ErrorSchemas;
7-
use ApiClients\Client\Github\Hydrator;
8-
use ApiClients\Client\Github\Operation;
9-
use ApiClients\Client\Github\Schema;
10-
use ApiClients\Client\Github\WebHook;
6+
use ApiClients\Client\GitHubEnterpriseCloud\Error as ErrorSchemas;
7+
use ApiClients\Client\GitHubEnterpriseCloud\Hydrator;
8+
use ApiClients\Client\GitHubEnterpriseCloud\Operation;
9+
use ApiClients\Client\GitHubEnterpriseCloud\Schema;
10+
use ApiClients\Client\GitHubEnterpriseCloud\WebHook;
1111
final class H404 extends \Error
1212
{
1313
public function __construct(public int $status, public Schema\Operation\Gists\CheckIsStarred\Response\Applicationjson\H404 $error)

src/Error/Operation/Gists/Get/Response/Applicationjson/H403.php

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
<?php
22

33
declare (strict_types=1);
4-
namespace ApiClients\Client\Github\Error\Operation\Gists\Get\Response\Applicationjson;
4+
namespace ApiClients\Client\GitHubEnterpriseCloud\Error\Operation\Gists\Get\Response\Applicationjson;
55

6-
use ApiClients\Client\Github\Error as ErrorSchemas;
7-
use ApiClients\Client\Github\Hydrator;
8-
use ApiClients\Client\Github\Operation;
9-
use ApiClients\Client\Github\Schema;
10-
use ApiClients\Client\Github\WebHook;
6+
use ApiClients\Client\GitHubEnterpriseCloud\Error as ErrorSchemas;
7+
use ApiClients\Client\GitHubEnterpriseCloud\Hydrator;
8+
use ApiClients\Client\GitHubEnterpriseCloud\Operation;
9+
use ApiClients\Client\GitHubEnterpriseCloud\Schema;
10+
use ApiClients\Client\GitHubEnterpriseCloud\WebHook;
1111
final class H403 extends \Error
1212
{
1313
public function __construct(public int $status, public Schema\Operation\Gists\Get\Response\Applicationjson\H403 $error)

src/Error/Operation/Orgs/RemoveOutsideCollaborator/Response/Applicationjson/H422.php

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
<?php
22

33
declare (strict_types=1);
4-
namespace ApiClients\Client\Github\Error\Operation\Orgs\RemoveOutsideCollaborator\Response\Applicationjson;
4+
namespace ApiClients\Client\GitHubEnterpriseCloud\Error\Operation\Orgs\RemoveOutsideCollaborator\Response\Applicationjson;
55

6-
use ApiClients\Client\Github\Error as ErrorSchemas;
7-
use ApiClients\Client\Github\Hydrator;
8-
use ApiClients\Client\Github\Operation;
9-
use ApiClients\Client\Github\Schema;
10-
use ApiClients\Client\Github\WebHook;
6+
use ApiClients\Client\GitHubEnterpriseCloud\Error as ErrorSchemas;
7+
use ApiClients\Client\GitHubEnterpriseCloud\Hydrator;
8+
use ApiClients\Client\GitHubEnterpriseCloud\Operation;
9+
use ApiClients\Client\GitHubEnterpriseCloud\Schema;
10+
use ApiClients\Client\GitHubEnterpriseCloud\WebHook;
1111
final class H422 extends \Error
1212
{
1313
public function __construct(public int $status, public Schema\Operation\Orgs\RemoveOutsideCollaborator\Response\Applicationjson\H422 $error)

src/Error/Operation/Orgs/Update/Response/Applicationjson/H422.php

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
<?php
22

33
declare (strict_types=1);
4-
namespace ApiClients\Client\Github\Error\Operation\Orgs\Update\Response\Applicationjson;
4+
namespace ApiClients\Client\GitHubEnterpriseCloud\Error\Operation\Orgs\Update\Response\Applicationjson;
55

6-
use ApiClients\Client\Github\Error as ErrorSchemas;
7-
use ApiClients\Client\Github\Hydrator;
8-
use ApiClients\Client\Github\Operation;
9-
use ApiClients\Client\Github\Schema;
10-
use ApiClients\Client\Github\WebHook;
6+
use ApiClients\Client\GitHubEnterpriseCloud\Error as ErrorSchemas;
7+
use ApiClients\Client\GitHubEnterpriseCloud\Hydrator;
8+
use ApiClients\Client\GitHubEnterpriseCloud\Operation;
9+
use ApiClients\Client\GitHubEnterpriseCloud\Schema;
10+
use ApiClients\Client\GitHubEnterpriseCloud\WebHook;
1111
final class H422 extends \Error
1212
{
1313
public function __construct(public int $status, public Schema\Operation\Orgs\Update\Response\Applicationjson\H422 $error)

src/Error/Operation/Projects/DeleteCard/Response/Applicationjson/H403.php

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
<?php
22

33
declare (strict_types=1);
4-
namespace ApiClients\Client\Github\Error\Operation\Projects\DeleteCard\Response\Applicationjson;
4+
namespace ApiClients\Client\GitHubEnterpriseCloud\Error\Operation\Projects\DeleteCard\Response\Applicationjson;
55

6-
use ApiClients\Client\Github\Error as ErrorSchemas;
7-
use ApiClients\Client\Github\Hydrator;
8-
use ApiClients\Client\Github\Operation;
9-
use ApiClients\Client\Github\Schema;
10-
use ApiClients\Client\Github\WebHook;
6+
use ApiClients\Client\GitHubEnterpriseCloud\Error as ErrorSchemas;
7+
use ApiClients\Client\GitHubEnterpriseCloud\Hydrator;
8+
use ApiClients\Client\GitHubEnterpriseCloud\Operation;
9+
use ApiClients\Client\GitHubEnterpriseCloud\Schema;
10+
use ApiClients\Client\GitHubEnterpriseCloud\WebHook;
1111
final class H403 extends \Error
1212
{
1313
public function __construct(public int $status, public Schema\Operation\Projects\DeleteCard\Response\Applicationjson\H403 $error)

0 commit comments

Comments
 (0)