Skip to content

Commit 3ccda03

Browse files
committed
Merge branch 'release/1.0.0rc02'
2 parents 04f0ed8 + ecc219e commit 3ccda03

23 files changed

+15
-7
lines changed

CHANGELOG.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,12 @@
11
CHANGELOG
22
=========
33

4+
1.0.0RC02
5+
---------
6+
- Major: update source code structure, put all classes under ```src``` folder, rename Tests to tests, update composer and phpunit accordingly
7+
48
1.0.0RC01
5-
---
9+
---------
610
- Update Readme
711
- Define interfaces that must be used as interfaces in order to be able to define a usable top class for any generated ServiceType/StructType/ArrayType class by the [PackageGenerator](https://github.com/WsdlToPhp/PackageGenerator)
812

README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ Here are the constants defined by this interface and their utility:
5656
- **WSDL_EXCEPTIONS**: boolean value defining whether soap errors throw exceptions of type SoapFault
5757
- **WSDL_CACHE_WSDL**: option is one of ```WSDL_CACHE_NONE```, ```WSDL_CACHE_DISK```, ```WSDL_CACHE_MEMORY``` or ```WSDL_CACHE_BOTH```
5858
- **WSDL_STREAM_CONTEXT**: a [resource](http://php.net/manual/en/language.types.resource.php) for [context](http://php.net/manual/en/context.php)
59-
- **WSDL_SOAP_VERSION**: one of either ```SOAP_1_1``` or ```SOAP_1_2``` to select SOAP 1.1 or 1.2, respectively. If omitted, 1.1 is used
59+
- **WSDL_SOAP_VERSION**: one of either ```SOAP_1_1``` or ```SOAP_1_2``` to select SOAP 1.1 or 1.2, respectively. If omitted, SOAP 1.1 is used
6060
- **WSDL_COMPRESSION**: allows to use compression of HTTP SOAP requests and responses
6161
- **WSDL_ENCODING**: internal character encoding. This option does not change the encoding of SOAP requests (it is always utf-8), but converts strings into it
6262
- **WSDL_CONNECTION_TIMEOUT**: defines a timeout in seconds for the connection to the SOAP service. This option does not define a timeout for services with slow responses. To limit the time to wait for calls to finish the [default_socket_timeout](http://php.net/manual/en/filesystem.configuration.php#ini.default-socket-timeout) setting is available
@@ -204,6 +204,7 @@ It's basically a decorator design pattern as the class has the [SoapClient](http
204204
Let's say you have this type of generate ```ServiceType``` class:
205205
```php
206206
namespace Api\ServiceType;
207+
use \WsdlToPhp\PackageBase\AbstractSoapClientBase
207208
class ApiUpdate extends AbstractSoapClientBase
208209
{
209210
public function UpdateBulkOrder(\Api\StructType\ApiUpdateBulkOrder $parameters)

composer.json

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,9 @@
2222
"fabpot/php-cs-fixer": "~1.8"
2323
},
2424
"autoload": {
25-
"psr-4": { "WsdlToPhp\\PackageBase\\": "" }
25+
"psr-4": {
26+
"WsdlToPhp\\PackageBase\\": "src",
27+
"WsdlToPhp\\PackageBase\\Tests\\": "tests"
28+
}
2629
}
2730
}

phpunit.xml.dist

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,21 +4,21 @@
44
xsi:noNamespaceSchemaLocation="http://schema.phpunit.de/4.1/phpunit.xsd"
55
backupGlobals="false"
66
colors="true"
7-
bootstrap="vendor/autoload.php"
8-
>
7+
bootstrap="vendor/autoload.php">
98
<php>
109
<ini name="error_reporting" value="-1" />
1110
</php>
1211

1312
<testsuite name="Test Suite">
14-
<directory>./Tests</directory>
13+
<directory>./tests/</directory>
1514
</testsuite>
1615

1716
<filter>
1817
<whitelist>
1918
<directory>./</directory>
2019
<exclude>
21-
<directory>Tests/</directory>
20+
<directory>./tests</directory>
21+
<directory>./vendor</directory>
2222
</exclude>
2323
</whitelist>
2424
</filter>
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)