Skip to content

Commit 91fad73

Browse files
authored
Merge pull request #48 from mrsombre/master
Happy New Year!
2 parents 1f79b72 + f2393d9 commit 91fad73

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

Lines changed: 1 addition & 1 deletion
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

Lines changed: 1 addition & 1 deletion
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

Lines changed: 8 additions & 5 deletions
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

Lines changed: 18 additions & 3 deletions
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

Lines changed: 1 addition & 1 deletion
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;
Lines changed: 2 additions & 2 deletions
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+
}
Lines changed: 2 additions & 2 deletions
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

Lines changed: 1 addition & 1 deletion
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

Lines changed: 1 addition & 1 deletion
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

Lines changed: 1 addition & 1 deletion
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

0 commit comments

Comments
 (0)