diff --git a/.travis.yml b/.travis.yml
index d0442950..5abc15d9 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -8,6 +8,8 @@ php:
- 5.5
- 5.6
- 7.0
+ - 7.1
+ - 7.2
matrix:
include:
@@ -17,8 +19,8 @@ matrix:
before_script:
- pecl install xmldiff
- echo "xdebug.max_nesting_level=1000" >> ~/.phpenv/versions/$(phpenv version-name)/etc/php.ini
- - if [[ $TRAVIS_PHP_VERSION = '5.6' ]]; then PHPUNIT_FLAGS="--coverage-clover=coverage.clover"; else PHPUNIT_FLAGS=""; fi
- - if [[ $TRAVIS_PHP_VERSION != '5.6' ]]; then phpenv config-rm xdebug.ini; fi
+ - if [[ $TRAVIS_PHP_VERSION = '7.0' ]]; then PHPUNIT_FLAGS="--coverage-clover=coverage.clover"; else PHPUNIT_FLAGS=""; fi
+ - if [[ $TRAVIS_PHP_VERSION != '7.0' ]]; then phpenv config-rm xdebug.ini; fi
- composer self-update
- composer update $COMPOSER_FLAGS
@@ -28,5 +30,5 @@ script:
after_script:
- wget https://scrutinizer-ci.com/ocular.phar
- - if [[ $TRAVIS_PHP_VERSION = '5.6' ]] ; then php ocular.phar code-coverage:upload --format=php-clover coverage.clover; fi
+ - if [[ $TRAVIS_PHP_VERSION = '7.0' ]] ; then php ocular.phar code-coverage:upload --format=php-clover coverage.clover; fi
diff --git a/composer.json b/composer.json
index dde33e71..b1e920e5 100644
--- a/composer.json
+++ b/composer.json
@@ -4,7 +4,8 @@
"type": "library",
"authors": [
{
- "name": "Asmir Mustafic"
+ "name": "Asmir Mustafic",
+ "email" : "goetas@gmail.com"
}
],
"keywords": [
@@ -18,13 +19,11 @@
"license": "MIT",
"require": {
"php": "^5.5|^7.0",
- "symfony/console": "^2.7|^3.0",
- "symfony/dependency-injection": "^2.2|^3.0",
- "symfony/config": "^2.2|^3.0",
- "symfony/yaml": "^2.1|^3.0",
-
- "goetas-webservices/xsd-reader": "^0.2",
- "goetas-webservices/soap-reader": "^0.3",
+ "symfony/console": "^2.7|^3.0|^4.0",
+ "symfony/dependency-injection": "^2.2|^3.0|^4.0",
+ "symfony/yaml": "^2.1|^3.0|^4.0",
+ "symfony/config": "^2.2|^3.0|^4.0",
+ "goetas-webservices/xsd-reader": "^0.2|^0.3.1",
"doctrine/inflector": "^1.0",
"zendframework/zend-code": "~2.3",
diff --git a/src/Resources/config/services.xml b/src/Resources/config/services.xml
index 9209ecdc..e6f105ec 100644
--- a/src/Resources/config/services.xml
+++ b/src/Resources/config/services.xml
@@ -10,46 +10,46 @@
-
+
-
+
-
+
-
-
+
+
-
+
-
+
+ class="GoetasWebservices\Xsd\XsdToPhp\Php\ClassGenerator" public="true">
-
+