Skip to content

Commit 9a2a3a2

Browse files
committed
Code style fixes
1 parent 84687d8 commit 9a2a3a2

File tree

263 files changed

+815
-729
lines changed

Some content is hidden

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

263 files changed

+815
-729
lines changed

.gitignore

+1
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,3 @@
11
/vendor/
22
.idea
3+
.php_cs.cache

composer.json

+1
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
"description": "A PHP client based on Combell's own OpenAPI spec generated with JanePHP.",
44
"type": "library",
55
"require": {
6+
"php": "^7.2 || ^8.0",
67
"jane-php/open-api-runtime": "^6.3"
78
},
89
"require-dev": {

src/Client/Client.php

+107-107
Large diffs are not rendered by default.

src/Client/Endpoint/AddScheduledTasks.php

+3-3
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,10 @@ class AddScheduledTasks extends \Combell\Client\Runtime\Client\BaseEndpoint impl
66
{
77
protected $domain_name;
88
/**
9-
*
9+
*
1010
*
1111
* @param string $domainName Linux hosting domain name.
12-
* @param null|\Combell\Client\Model\ScheduledTask $requestBody
12+
* @param null|\Combell\Client\Model\ScheduledTask $requestBody
1313
*/
1414
public function __construct(string $domainName, ?\Combell\Client\Model\ScheduledTask $requestBody = null)
1515
{
@@ -48,4 +48,4 @@ public function getAuthenticationScopes() : array
4848
{
4949
return array();
5050
}
51-
}
51+
}

src/Client/Endpoint/AddSshKey.php

+3-3
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,10 @@ class AddSshKey extends \Combell\Client\Runtime\Client\BaseEndpoint implements \
66
{
77
protected $domain_name;
88
/**
9-
*
9+
*
1010
*
1111
* @param string $domainName Linux hosting domain name.
12-
* @param null|\Combell\Client\Model\AddSshKeyRequest $requestBody
12+
* @param null|\Combell\Client\Model\AddSshKeyRequest $requestBody
1313
*/
1414
public function __construct(string $domainName, ?\Combell\Client\Model\AddSshKeyRequest $requestBody = null)
1515
{
@@ -48,4 +48,4 @@ public function getAuthenticationScopes() : array
4848
{
4949
return array();
5050
}
51-
}
51+
}

src/Client/Endpoint/AddSslCertificateRequest.php

+4-4
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,11 @@
55
class AddSslCertificateRequest extends \Combell\Client\Runtime\Client\BaseEndpoint implements \Combell\Client\Runtime\Client\Endpoint
66
{
77
/**
8-
* Executing this method causes the purchase of a paying product.<br />
9-
Log on to our website to see your current (renewal) prices or contact our Sales department.<br />
8+
* Executing this method causes the purchase of a paying product.<br />
9+
Log on to our website to see your current (renewal) prices or contact our Sales department.<br />
1010
Please note that promotional pricing does not apply for purchases made through our API.
1111
*
12-
* @param null|\Combell\Client\Model\CreateSslCertificateRequest $requestBody
12+
* @param null|\Combell\Client\Model\CreateSslCertificateRequest $requestBody
1313
*/
1414
public function __construct(?\Combell\Client\Model\CreateSslCertificateRequest $requestBody = null)
1515
{
@@ -47,4 +47,4 @@ public function getAuthenticationScopes() : array
4747
{
4848
return array();
4949
}
50-
}
50+
}

src/Client/Endpoint/ChangeApcu.php

+3-3
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,10 @@ class ChangeApcu extends \Combell\Client\Runtime\Client\BaseEndpoint implements
66
{
77
protected $domain_name;
88
/**
9-
*
9+
*
1010
*
1111
* @param string $domainName Linux hosting domain name
12-
* @param null|\Combell\Client\Model\UpdatePhpAPcuRequest $requestBody
12+
* @param null|\Combell\Client\Model\UpdatePhpAPcuRequest $requestBody
1313
*/
1414
public function __construct(string $domainName, ?\Combell\Client\Model\UpdatePhpAPcuRequest $requestBody = null)
1515
{
@@ -48,4 +48,4 @@ public function getAuthenticationScopes() : array
4848
{
4949
return array();
5050
}
51-
}
51+
}

src/Client/Endpoint/ChangeAutoRedirect.php

+3-3
Original file line numberDiff line numberDiff line change
@@ -7,11 +7,11 @@ class ChangeAutoRedirect extends \Combell\Client\Runtime\Client\BaseEndpoint imp
77
protected $domain_name;
88
protected $hostname;
99
/**
10-
*
10+
*
1111
*
1212
* @param string $domainName Linux hosting domain name.
1313
* @param string $hostname Specific hostname.
14-
* @param null|\Combell\Client\Model\AutoRedirectConfig $requestBody
14+
* @param null|\Combell\Client\Model\AutoRedirectConfig $requestBody
1515
*/
1616
public function __construct(string $domainName, string $hostname, ?\Combell\Client\Model\AutoRedirectConfig $requestBody = null)
1717
{
@@ -51,4 +51,4 @@ public function getAuthenticationScopes() : array
5151
{
5252
return array();
5353
}
54-
}
54+
}

src/Client/Endpoint/ChangeDatabaseUserPassword.php

+3-3
Original file line numberDiff line numberDiff line change
@@ -7,11 +7,11 @@ class ChangeDatabaseUserPassword extends \Combell\Client\Runtime\Client\BaseEndp
77
protected $database_name;
88
protected $user_name;
99
/**
10-
*
10+
*
1111
*
1212
* @param string $databaseName Name of the database.
1313
* @param string $userName Name of the user.
14-
* @param null|\Combell\Client\Model\UpdateUserPasswordRequest $requestBody
14+
* @param null|\Combell\Client\Model\UpdateUserPasswordRequest $requestBody
1515
*/
1616
public function __construct(string $databaseName, string $userName, ?\Combell\Client\Model\UpdateUserPasswordRequest $requestBody = null)
1717
{
@@ -51,4 +51,4 @@ public function getAuthenticationScopes() : array
5151
{
5252
return array();
5353
}
54-
}
54+
}

src/Client/Endpoint/ChangeDatabaseUserStatus.php

+3-3
Original file line numberDiff line numberDiff line change
@@ -7,11 +7,11 @@ class ChangeDatabaseUserStatus extends \Combell\Client\Runtime\Client\BaseEndpoi
77
protected $database_name;
88
protected $user_name;
99
/**
10-
*
10+
*
1111
*
1212
* @param string $databaseName Name of the database.
1313
* @param string $userName Name of the user.
14-
* @param null|\Combell\Client\Model\UpdateUserStatusRequest $requestBody
14+
* @param null|\Combell\Client\Model\UpdateUserStatusRequest $requestBody
1515
*/
1616
public function __construct(string $databaseName, string $userName, ?\Combell\Client\Model\UpdateUserStatusRequest $requestBody = null)
1717
{
@@ -51,4 +51,4 @@ public function getAuthenticationScopes() : array
5151
{
5252
return array();
5353
}
54-
}
54+
}

src/Client/Endpoint/ChangeGzipCompression.php

+3-3
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,10 @@ class ChangeGzipCompression extends \Combell\Client\Runtime\Client\BaseEndpoint
66
{
77
protected $domain_name;
88
/**
9-
*
9+
*
1010
*
1111
* @param string $domainName Linux hosting domain name
12-
* @param null|\Combell\Client\Model\GzipConfig $requestBody
12+
* @param null|\Combell\Client\Model\GzipConfig $requestBody
1313
*/
1414
public function __construct(string $domainName, ?\Combell\Client\Model\GzipConfig $requestBody = null)
1515
{
@@ -48,4 +48,4 @@ public function getAuthenticationScopes() : array
4848
{
4949
return array();
5050
}
51-
}
51+
}

src/Client/Endpoint/ChangeLetsEncrypt.php

+3-3
Original file line numberDiff line numberDiff line change
@@ -7,11 +7,11 @@ class ChangeLetsEncrypt extends \Combell\Client\Runtime\Client\BaseEndpoint impl
77
protected $domain_name;
88
protected $hostname;
99
/**
10-
*
10+
*
1111
*
1212
* @param string $domainName Linux hosting domain name.
1313
* @param string $hostname Specific hostname.
14-
* @param null|\Combell\Client\Model\LetsEncryptConfig $requestBody
14+
* @param null|\Combell\Client\Model\LetsEncryptConfig $requestBody
1515
*/
1616
public function __construct(string $domainName, string $hostname, ?\Combell\Client\Model\LetsEncryptConfig $requestBody = null)
1717
{
@@ -51,4 +51,4 @@ public function getAuthenticationScopes() : array
5151
{
5252
return array();
5353
}
54-
}
54+
}

src/Client/Endpoint/ChangeMailboxPassword.php

+3-3
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,10 @@ class ChangeMailboxPassword extends \Combell\Client\Runtime\Client\BaseEndpoint
66
{
77
protected $mailbox_name;
88
/**
9-
*
9+
*
1010
*
1111
* @param string $mailboxName Mailbox name.
12-
* @param null|\Combell\Client\Model\UpdateMailboxPasswordRequest $requestBody
12+
* @param null|\Combell\Client\Model\UpdateMailboxPasswordRequest $requestBody
1313
*/
1414
public function __construct(string $mailboxName, ?\Combell\Client\Model\UpdateMailboxPasswordRequest $requestBody = null)
1515
{
@@ -48,4 +48,4 @@ public function getAuthenticationScopes() : array
4848
{
4949
return array();
5050
}
51-
}
51+
}

src/Client/Endpoint/ChangePhpMemoryLimit.php

+3-3
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,10 @@ class ChangePhpMemoryLimit extends \Combell\Client\Runtime\Client\BaseEndpoint i
66
{
77
protected $domain_name;
88
/**
9-
*
9+
*
1010
*
1111
* @param string $domainName Linux hosting domain name.
12-
* @param null|\Combell\Client\Model\UpdatePhpMemoryLimitRequest $requestBody
12+
* @param null|\Combell\Client\Model\UpdatePhpMemoryLimitRequest $requestBody
1313
*/
1414
public function __construct(string $domainName, ?\Combell\Client\Model\UpdatePhpMemoryLimitRequest $requestBody = null)
1515
{
@@ -48,4 +48,4 @@ public function getAuthenticationScopes() : array
4848
{
4949
return array();
5050
}
51-
}
51+
}

src/Client/Endpoint/ChangePhpVersion.php

+3-3
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,10 @@ class ChangePhpVersion extends \Combell\Client\Runtime\Client\BaseEndpoint imple
66
{
77
protected $domain_name;
88
/**
9-
*
9+
*
1010
*
1111
* @param string $domainName Linux hosting domain name.
12-
* @param null|\Combell\Client\Model\PhpVersion $requestBody
12+
* @param null|\Combell\Client\Model\PhpVersion $requestBody
1313
*/
1414
public function __construct(string $domainName, ?\Combell\Client\Model\PhpVersion $requestBody = null)
1515
{
@@ -48,4 +48,4 @@ public function getAuthenticationScopes() : array
4848
{
4949
return array();
5050
}
51-
}
51+
}

src/Client/Endpoint/ConfigureAlias.php

+3-3
Original file line numberDiff line numberDiff line change
@@ -7,11 +7,11 @@ class ConfigureAlias extends \Combell\Client\Runtime\Client\BaseEndpoint impleme
77
protected $domain_name;
88
protected $email_address;
99
/**
10-
*
10+
*
1111
*
1212
* @param string $domainName Mail zone domain name.
1313
* @param string $emailAddress Alias e-mail address.
14-
* @param null|\Combell\Client\Model\UpdateAliasRequest $requestBody
14+
* @param null|\Combell\Client\Model\UpdateAliasRequest $requestBody
1515
*/
1616
public function __construct(string $domainName, string $emailAddress, ?\Combell\Client\Model\UpdateAliasRequest $requestBody = null)
1717
{
@@ -59,4 +59,4 @@ public function getAuthenticationScopes() : array
5959
{
6060
return array();
6161
}
62-
}
62+
}

src/Client/Endpoint/ConfigureAntiSpam.php

+3-3
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,10 @@ class ConfigureAntiSpam extends \Combell\Client\Runtime\Client\BaseEndpoint impl
66
{
77
protected $domain_name;
88
/**
9-
*
9+
*
1010
*
1111
* @param string $domainName Mail zone domain name.
12-
* @param null|\Combell\Client\Model\UpdateAntiSpamRequest $requestBody
12+
* @param null|\Combell\Client\Model\UpdateAntiSpamRequest $requestBody
1313
*/
1414
public function __construct(string $domainName, ?\Combell\Client\Model\UpdateAntiSpamRequest $requestBody = null)
1515
{
@@ -48,4 +48,4 @@ public function getAuthenticationScopes() : array
4848
{
4949
return array();
5050
}
51-
}
51+
}

src/Client/Endpoint/ConfigureDomain.php

+3-3
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,11 @@ class ConfigureDomain extends \Combell\Client\Runtime\Client\BaseEndpoint implem
66
{
77
protected $domain_name;
88
/**
9-
* Allowed if can_toggle_renew is true on the domain detail:<br /><ul><li>If there are no unpaid invoices for the domain name anymore.</li><li>If the renewal won't start within 1 month.</li></ul>
9+
* Allowed if can_toggle_renew is true on the domain detail:<br /><ul><li>If there are no unpaid invoices for the domain name anymore.</li><li>If the renewal won't start within 1 month.</li></ul>
1010
Allowed if the requesting user has the finance role.
1111
*
1212
* @param string $domainName The domain name
13-
* @param null|\Combell\Client\Model\EditDomainWillRenewRequest $requestBody
13+
* @param null|\Combell\Client\Model\EditDomainWillRenewRequest $requestBody
1414
*/
1515
public function __construct(string $domainName, ?\Combell\Client\Model\EditDomainWillRenewRequest $requestBody = null)
1616
{
@@ -49,4 +49,4 @@ public function getAuthenticationScopes() : array
4949
{
5050
return array();
5151
}
52-
}
52+
}

src/Client/Endpoint/ConfigureFtp.php

+3-3
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,10 @@ class ConfigureFtp extends \Combell\Client\Runtime\Client\BaseEndpoint implement
66
{
77
protected $domain_name;
88
/**
9-
*
9+
*
1010
*
1111
* @param string $domainName Linux hosting domain name.
12-
* @param null|\Combell\Client\Model\FtpConfiguration $requestBody
12+
* @param null|\Combell\Client\Model\FtpConfiguration $requestBody
1313
*/
1414
public function __construct(string $domainName, ?\Combell\Client\Model\FtpConfiguration $requestBody = null)
1515
{
@@ -52,4 +52,4 @@ public function getAuthenticationScopes() : array
5252
{
5353
return array();
5454
}
55-
}
55+
}

src/Client/Endpoint/ConfigureHttp2.php

+4-4
Original file line numberDiff line numberDiff line change
@@ -7,12 +7,12 @@ class ConfigureHttp2 extends \Combell\Client\Runtime\Client\BaseEndpoint impleme
77
protected $domain_name;
88
protected $site_name;
99
/**
10-
*
10+
*
1111
*
1212
* @param string $domainName Linux hosting domain name.
13-
* @param string $siteName Site name where HTTP/2 should be configured.<br />
13+
* @param string $siteName Site name where HTTP/2 should be configured.<br />
1414
For HTTP/2 to work correctly, the site must have ssl enabled.
15-
* @param null|\Combell\Client\Model\Http2Configuration $requestBody
15+
* @param null|\Combell\Client\Model\Http2Configuration $requestBody
1616
*/
1717
public function __construct(string $domainName, string $siteName, ?\Combell\Client\Model\Http2Configuration $requestBody = null)
1818
{
@@ -56,4 +56,4 @@ public function getAuthenticationScopes() : array
5656
{
5757
return array();
5858
}
59-
}
59+
}

src/Client/Endpoint/ConfigureMailboxAutoForward.php

+3-3
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,10 @@ class ConfigureMailboxAutoForward extends \Combell\Client\Runtime\Client\BaseEnd
66
{
77
protected $mailbox_name;
88
/**
9-
*
9+
*
1010
*
1111
* @param string $mailboxName Mailbox name.
12-
* @param null|\Combell\Client\Model\AutoForward $requestBody
12+
* @param null|\Combell\Client\Model\AutoForward $requestBody
1313
*/
1414
public function __construct(string $mailboxName, ?\Combell\Client\Model\AutoForward $requestBody = null)
1515
{
@@ -48,4 +48,4 @@ public function getAuthenticationScopes() : array
4848
{
4949
return array();
5050
}
51-
}
51+
}

0 commit comments

Comments
 (0)