Skip to content

Commit 3d36916

Browse files
resolved code review comments
1 parent 4e971d8 commit 3d36916

File tree

6 files changed

+6
-44
lines changed

6 files changed

+6
-44
lines changed

.travis.yml

-30
This file was deleted.

README.md

+2-7
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,10 @@
11
# A SoftLayer API PHP client.
22

3-
[![Build Status](https://travis-ci.org/softlayer/softlayer-api-php-client.svg?branch=master)](https://travis-ci.org/softlayer/softlayer-api-php-client)
3+
![Build Status](https://github.com/softlayer/softlayer-api-php-client/actions/workflows/test.yml/badge.svg)
44

55
## Warning
66

7-
```
8-
The latest version 1.x is not backwards-compatible.
9-
It is necessary to update scripts to function properly with the new version.
10-
```
11-
12-
Use [v1.2.0](https://github.com/softlayer/softlayer-api-php-client/releases/tag/v1.2) for older PHP versions. [v2.0.0](https://github.com/softlayer/softlayer-api-php-client/releases/tag/v2.0.0) for php 8.1 or higher.
7+
Use [v1.2.0](https://github.com/softlayer/softlayer-api-php-client/releases/tag/v1.2) for older PHP versions (php < 8.0) . [v2.0.0](https://github.com/softlayer/softlayer-api-php-client/releases/tag/v2.0.0) for php 8.0 or higher.
138

149
[PHP 8.0 removed XMLRPC](https://php.watch/versions/8.0/xmlrpc) as a built in extension. As such, it is no longer required as part of the composer file in this project. The XmlRpcClient still exists here if you need it, but we assume most users are using the SoapClient. If there are any issues with this [Let us know on github](https://github.com/softlayer/softlayer-api-php-client/issues)
1510

composer.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"name": "softlayer/softlayer-api-php-client",
33
"description": "SoftLayer API PHP client",
44
"keywords": ["softlayer"],
5-
"homepage": "http://sldn.softlayer.com/article/PHP",
5+
"homepage": "https://sldn.softlayer.com/php/",
66
"license": "MIT",
77
"authors": [
88
{

example.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?php
22
/**
3-
* Copyright (c) 2010, SoftLayer Technologies, Inc. All rights reserved.
3+
* Copyright (c) 2022, SoftLayer Technologies, Inc. All rights reserved.
44
*
55
* Redistribution and use in source and binary forms, with or without
66
* modification, are permitted provided that the following conditions are met:

src/SoapClient.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -523,7 +523,7 @@ public function getHeaders()
523523
/**
524524
* Returns the service name
525525
*
526-
* @return array
526+
* @return string
527527
*/
528528
public function getServiceName()
529529
{
@@ -533,7 +533,7 @@ public function getServiceName()
533533
/**
534534
* Returns the endpoint URL
535535
*
536-
* @return array
536+
* @return string
537537
*/
538538
public function getEndpointUrl()
539539
{

tests/SoapClientTest.php

-3
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,6 @@
55
use PHPUnit\Framework\TestCase;
66
use SoftLayer\SoapClient;
77

8-
/**
9-
* @author Javier Spagnoletti <[email protected]>
10-
*/
118
class SoapClientTest extends TestCase
129
{
1310

0 commit comments

Comments
 (0)