Skip to content

Commit f2393d9

Browse files
committed
Happy New Year!
1 parent 1f79b72 commit f2393d9

File tree

100 files changed

+194
-183
lines changed

Some content is hidden

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

100 files changed

+194
-183
lines changed

Gruntfile.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright 1999-2016. Parallels IP Holdings GmbH.
1+
// Copyright 1999-2019. Plesk International GmbH.
22

33
module.exports = function(grunt) {
44
grunt.initConfig({

LICENSE

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
Copyright 1999-2016. Parallels IP Holdings GmbH.
1+
Copyright 1999-2019. Plesk International GmbH.
22

33
Licensed under the Apache License, Version 2.0 (the "License");
44
you may not use this file except in compliance with the License.

composer.json

+8-5
Original file line numberDiff line numberDiff line change
@@ -9,14 +9,15 @@
99
"email": "sibprogrammer@gmail.com"
1010
},
1111
{
12-
"name": "Plesk",
12+
"name": "Plesk International GmbH.",
1313
"email": "plesk-dev-leads@plesk.com"
1414
}
1515
],
1616
"require": {
17-
"php": "^5.6 | ^7.0",
17+
"php": "^5.6 || ^7.0",
1818
"ext-curl": "*",
19-
"ext-xml": "*"
19+
"ext-xml": "*",
20+
"ext-simplexml": "*"
2021
},
2122
"require-dev": {
2223
"phpunit/phpunit": "^7.0"
@@ -29,11 +30,13 @@
2930
},
3031
"autoload": {
3132
"psr-4": {
32-
"PleskX\\": "src/PleskX/"
33+
"PleskX\\": "src/"
3334
}
3435
},
3536
"autoload-dev": {
36-
"classmap": ["tests/"]
37+
"psr-4": {
38+
"PleskXTest\\": "tests/"
39+
}
3740
},
3841
"extra": {
3942
"branch-alias": {

phpunit.xml.dist

+18-3
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,24 @@
11
<?xml version="1.0" encoding="UTF-8"?>
2-
<!-- Copyright 1999-2016. Parallels IP Holdings GmbH. -->
3-
<phpunit>
2+
<!-- Copyright 1999-2019. Plesk International GmbH. -->
3+
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
4+
xsi:noNamespaceSchemaLocation="vendor/phpunit/phpunit/phpunit.xsd"
5+
bootstrap="vendor/autoload.php"
6+
verbose="true"
7+
colors="true">
48
<testsuites>
59
<testsuite name="E2E">
6-
<directory suffix="Test.php">tests/</directory>
10+
<directory>./tests</directory>
711
</testsuite>
812
</testsuites>
13+
14+
<filter>
15+
<whitelist processUncoveredFilesFromWhitelist="true">
16+
<directory suffix=".php">./src</directory>
17+
</whitelist>
18+
</filter>
19+
20+
<php>
21+
<env name="REMOTE_URL" value=""/>
22+
<env name="REMOTE_PASSWORD" value=""/>
23+
</php>
924
</phpunit>

src/PleskX/Api/Client.php renamed to src/Api/Client.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<?php
2-
// Copyright 1999-2016. Parallels IP Holdings GmbH.
2+
// Copyright 1999-2019. Plesk International GmbH.
33

44
namespace PleskX\Api;
55
use SimpleXMLElement;
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<?php
2-
// Copyright 1999-2016. Parallels IP Holdings GmbH.
2+
// Copyright 1999-2019. Plesk International GmbH.
33

44
namespace PleskX\Api\Client;
55

@@ -8,4 +8,4 @@
88
*/
99
class Exception extends \Exception
1010
{
11-
}
11+
}
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<?php
2-
// Copyright 1999-2016. Parallels IP Holdings GmbH.
2+
// Copyright 1999-2019. Plesk International GmbH.
33

44
namespace PleskX\Api;
55

@@ -8,4 +8,4 @@
88
*/
99
class Exception extends \Exception
1010
{
11-
}
11+
}

src/PleskX/Api/InternalClient.php renamed to src/Api/InternalClient.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<?php
2-
// Copyright 1999-2016. Parallels IP Holdings GmbH.
2+
// Copyright 1999-2019. Plesk International GmbH.
33

44
namespace PleskX\Api;
55

src/PleskX/Api/Operator.php renamed to src/Api/Operator.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<?php
2-
// Copyright 1999-2016. Parallels IP Holdings GmbH.
2+
// Copyright 1999-2019. Plesk International GmbH.
33

44
namespace PleskX\Api;
55

src/PleskX/Api/Operator/Aps.php renamed to src/Api/Operator/Aps.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<?php
2-
// Copyright 1999-2016. Parallels IP Holdings GmbH.
2+
// Copyright 1999-2019. Plesk International GmbH.
33

44
namespace PleskX\Api\Operator;
55

src/PleskX/Api/Operator/Certificate.php renamed to src/Api/Operator/Certificate.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<?php
2-
// Copyright 1999-2016. Parallels IP Holdings GmbH.
2+
// Copyright 1999-2019. Plesk International GmbH.
33

44
namespace PleskX\Api\Operator;
55
use PleskX\Api\Struct\Certificate as Struct;

src/PleskX/Api/Operator/Customer.php renamed to src/Api/Operator/Customer.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<?php
2-
// Copyright 1999-2016. Parallels IP Holdings GmbH.
2+
// Copyright 1999-2019. Plesk International GmbH.
33

44
namespace PleskX\Api\Operator;
55
use PleskX\Api\Struct\Customer as Struct;

src/PleskX/Api/Operator/Database.php renamed to src/Api/Operator/Database.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<?php
2-
// Copyright 1999-2016. Parallels IP Holdings GmbH.
2+
// Copyright 1999-2019. Plesk International GmbH.
33

44
namespace PleskX\Api\Operator;
55
use PleskX\Api\Struct\Database as Struct;

src/PleskX/Api/Operator/DatabaseServer.php renamed to src/Api/Operator/DatabaseServer.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<?php
2-
// Copyright 1999-2016. Parallels IP Holdings GmbH.
2+
// Copyright 1999-2019. Plesk International GmbH.
33

44
namespace PleskX\Api\Operator;
55
use PleskX\Api\Struct\DatabaseServer as Struct;

src/PleskX/Api/Operator/Dns.php renamed to src/Api/Operator/Dns.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<?php
2-
// Copyright 1999-2016. Parallels IP Holdings GmbH.
2+
// Copyright 1999-2019. Plesk International GmbH.
33
namespace PleskX\Api\Operator;
44
use PleskX\Api\Struct\Dns as Struct;
55

src/PleskX/Api/Operator/DnsTemplate.php renamed to src/Api/Operator/DnsTemplate.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<?php
2-
// Copyright 1999-2018. Plesk International GmbH.
2+
// Copyright 1999-2019. Plesk International GmbH.
33
namespace PleskX\Api\Operator;
44
use PleskX\Api\Struct\Dns as Struct;
55

src/PleskX/Api/Operator/EventLog.php renamed to src/Api/Operator/EventLog.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<?php
2-
// Copyright 1999-2016. Parallels IP Holdings GmbH.
2+
// Copyright 1999-2019. Plesk International GmbH.
33

44
namespace PleskX\Api\Operator;
55
use PleskX\Api\Struct\EventLog as Struct;

src/PleskX/Api/Operator/Ip.php renamed to src/Api/Operator/Ip.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<?php
2-
// Copyright 1999-2016. Parallels IP Holdings GmbH.
2+
// Copyright 1999-2019. Plesk International GmbH.
33

44
namespace PleskX\Api\Operator;
55
use PleskX\Api\Struct\Ip as Struct;

src/PleskX/Api/Operator/Locale.php renamed to src/Api/Operator/Locale.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<?php
2-
// Copyright 1999-2016. Parallels IP Holdings GmbH.
2+
// Copyright 1999-2019. Plesk International GmbH.
33

44
namespace PleskX\Api\Operator;
55
use PleskX\Api\Struct\Locale as Struct;

src/PleskX/Api/Operator/LogRotation.php renamed to src/Api/Operator/LogRotation.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<?php
2-
// Copyright 1999-2016. Parallels IP Holdings GmbH.
2+
// Copyright 1999-2019. Plesk International GmbH.
33

44
namespace PleskX\Api\Operator;
55

src/PleskX/Api/Operator/Mail.php renamed to src/Api/Operator/Mail.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<?php
2-
// Copyright 1999-2016. Parallels IP Holdings GmbH.
2+
// Copyright 1999-2019. Plesk International GmbH.
33

44
namespace PleskX\Api\Operator;
55
use PleskX\Api\Struct\Mail as Struct;

src/PleskX/Api/Operator/PhpHandler.php renamed to src/Api/Operator/PhpHandler.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<?php
2-
// Copyright 1999-2018. Parallels IP Holdings GmbH.
2+
// Copyright 1999-2019. Plesk International GmbH.
33

44
namespace PleskX\Api\Operator;
55

src/PleskX/Api/Operator/ProtectedDirectory.php renamed to src/Api/Operator/ProtectedDirectory.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<?php
2-
// Copyright 1999-2016. Parallels IP Holdings GmbH.
2+
// Copyright 1999-2019. Plesk International GmbH.
33

44
namespace PleskX\Api\Operator;
55

src/PleskX/Api/Operator/Reseller.php renamed to src/Api/Operator/Reseller.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<?php
2-
// Copyright 1999-2016. Parallels IP Holdings GmbH.
2+
// Copyright 1999-2019. Plesk International GmbH.
33

44
namespace PleskX\Api\Operator;
55
use PleskX\Api\Struct\Reseller as Struct;

src/PleskX/Api/Operator/ResellerPlan.php renamed to src/Api/Operator/ResellerPlan.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<?php
2-
// Copyright 1999-2016. Parallels IP Holdings GmbH.
2+
// Copyright 1999-2019. Plesk International GmbH.
33

44
namespace PleskX\Api\Operator;
55

src/PleskX/Api/Operator/SecretKey.php renamed to src/Api/Operator/SecretKey.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<?php
2-
// Copyright 1999-2016. Parallels IP Holdings GmbH.
2+
// Copyright 1999-2019. Plesk International GmbH.
33

44
namespace PleskX\Api\Operator;
55
use PleskX\Api\Struct\SecretKey as Struct;

src/PleskX/Api/Operator/Server.php renamed to src/Api/Operator/Server.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<?php
2-
// Copyright 1999-2016. Parallels IP Holdings GmbH.
2+
// Copyright 1999-2019. Plesk International GmbH.
33

44
namespace PleskX\Api\Operator;
55
use PleskX\Api\Struct\Server as Struct;

src/PleskX/Api/Operator/ServicePlan.php renamed to src/Api/Operator/ServicePlan.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<?php
2-
// Copyright 1999-2016. Parallels IP Holdings GmbH.
2+
// Copyright 1999-2019. Plesk International GmbH.
33

44
namespace PleskX\Api\Operator;
55
use PleskX\Api\Struct\ServicePlan as Struct;

src/PleskX/Api/Operator/ServicePlanAddon.php renamed to src/Api/Operator/ServicePlanAddon.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<?php
2-
// Copyright 1999-2016. Parallels IP Holdings GmbH.
2+
// Copyright 1999-2019. Plesk International GmbH.
33

44
namespace PleskX\Api\Operator;
55

src/PleskX/Api/Operator/Session.php renamed to src/Api/Operator/Session.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<?php
2-
// Copyright 1999-2016. Parallels IP Holdings GmbH.
2+
// Copyright 1999-2019. Plesk International GmbH.
33

44
namespace PleskX\Api\Operator;
55
use PleskX\Api\Struct\Session as Struct;

src/PleskX/Api/Operator/Site.php renamed to src/Api/Operator/Site.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<?php
2-
// Copyright 1999-2016. Parallels IP Holdings GmbH.
2+
// Copyright 1999-2019. Plesk International GmbH.
33

44
namespace PleskX\Api\Operator;
55
use PleskX\Api\Struct\Site as Struct;

src/PleskX/Api/Operator/SiteAlias.php renamed to src/Api/Operator/SiteAlias.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<?php
2-
// Copyright 1999-2016. Parallels IP Holdings GmbH.
2+
// Copyright 1999-2019. Plesk International GmbH.
33

44
namespace PleskX\Api\Operator;
55

src/PleskX/Api/Operator/Subdomain.php renamed to src/Api/Operator/Subdomain.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<?php
2-
// Copyright 1999-2016. Parallels IP Holdings GmbH.
2+
// Copyright 1999-2019. Plesk International GmbH.
33

44
namespace PleskX\Api\Operator;
55
use PleskX\Api\Struct\Subdomain as Struct;

src/PleskX/Api/Operator/Ui.php renamed to src/Api/Operator/Ui.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<?php
2-
// Copyright 1999-2016. Parallels IP Holdings GmbH.
2+
// Copyright 1999-2019. Plesk International GmbH.
33

44
namespace PleskX\Api\Operator;
55
use PleskX\Api\Struct\Ui as Struct;

src/PleskX/Api/Operator/VirtualDirectory.php renamed to src/Api/Operator/VirtualDirectory.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<?php
2-
// Copyright 1999-2016. Parallels IP Holdings GmbH.
2+
// Copyright 1999-2019. Plesk International GmbH.
33

44
namespace PleskX\Api\Operator;
55

src/PleskX/Api/Operator/Webspace.php renamed to src/Api/Operator/Webspace.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<?php
2-
// Copyright 1999-2016. Parallels IP Holdings GmbH.
2+
// Copyright 1999-2019. Plesk International GmbH.
33

44
namespace PleskX\Api\Operator;
55
use PleskX\Api\Struct\Webspace as Struct;

src/PleskX/Api/Struct.php renamed to src/Api/Struct.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<?php
2-
// Copyright 1999-2016. Parallels IP Holdings GmbH.
2+
// Copyright 1999-2019. Plesk International GmbH.
33

44
namespace PleskX\Api;
55

@@ -59,4 +59,4 @@ private function _underToCamel($under)
5959
return ltrim(str_replace(' ', '', ucwords($under)), '_');
6060
}
6161

62-
}
62+
}

src/PleskX/Api/Struct/Certificate/Info.php renamed to src/Api/Struct/Certificate/Info.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<?php
2-
// Copyright 1999-2016. Parallels IP Holdings GmbH.
2+
// Copyright 1999-2019. Plesk International GmbH.
33

44
namespace PleskX\Api\Struct\Certificate;
55

@@ -18,4 +18,4 @@ public function __construct($apiResponse)
1818
['pvt' => 'privateKey'],
1919
]);
2020
}
21-
}
21+
}

src/PleskX/Api/Struct/Customer/GeneralInfo.php renamed to src/Api/Struct/Customer/GeneralInfo.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<?php
2-
// Copyright 1999-2016. Parallels IP Holdings GmbH.
2+
// Copyright 1999-2019. Plesk International GmbH.
33

44
namespace PleskX\Api\Struct\Customer;
55

src/PleskX/Api/Struct/Customer/Info.php renamed to src/Api/Struct/Customer/Info.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<?php
2-
// Copyright 1999-2016. Parallels IP Holdings GmbH.
2+
// Copyright 1999-2019. Plesk International GmbH.
33

44
namespace PleskX\Api\Struct\Customer;
55

@@ -18,4 +18,4 @@ public function __construct($apiResponse)
1818
'guid',
1919
]);
2020
}
21-
}
21+
}

src/PleskX/Api/Struct/Database/Info.php renamed to src/Api/Struct/Database/Info.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<?php
2-
// Copyright 1999-2016. Parallels IP Holdings GmbH.
2+
// Copyright 1999-2019. Plesk International GmbH.
33

44
namespace PleskX\Api\Struct\Database;
55

src/PleskX/Api/Struct/Database/UserInfo.php renamed to src/Api/Struct/Database/UserInfo.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<?php
2-
// Copyright 1999-2016. Parallels IP Holdings GmbH.
2+
// Copyright 1999-2019. Plesk International GmbH.
33

44
namespace PleskX\Api\Struct\Database;
55

src/PleskX/Api/Struct/DatabaseServer/Info.php renamed to src/Api/Struct/DatabaseServer/Info.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<?php
2-
// Copyright 1999-2016. Parallels IP Holdings GmbH.
2+
// Copyright 1999-2019. Plesk International GmbH.
33

44
namespace PleskX\Api\Struct\DatabaseServer;
55

@@ -26,4 +26,4 @@ public function __construct($apiResponse)
2626
'type',
2727
]);
2828
}
29-
}
29+
}

src/PleskX/Api/Struct/Dns/Info.php renamed to src/Api/Struct/Dns/Info.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<?php
2-
// Copyright 1999-2016. Parallels IP Holdings GmbH.
2+
// Copyright 1999-2019. Plesk International GmbH.
33

44
namespace PleskX\Api\Struct\Dns;
55

0 commit comments

Comments
 (0)