Skip to content
This repository was archived by the owner on Jan 31, 2020. It is now read-only.

Commit 6b7b338

Browse files
committed
Merge branch 'hotfix/qa-tooling'
Close #5 Close #3
2 parents 69fc1af + 92706a4 commit 6b7b338

20 files changed

+1839
-148
lines changed

Diff for: .gitattributes

+1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
/docs export-ignore
12
/test export-ignore
23
/vendor export-ignore
34
.coveralls.yml export-ignore

Diff for: .gitignore

+1-2
Original file line numberDiff line numberDiff line change
@@ -6,12 +6,11 @@
66
.*.sw*
77
.*.un~
88
nbproject
9-
doc/html/
9+
docs/html/
1010
tmp/
1111
vendor/
1212
zf-mkdoc-theme/
1313

1414
clover.xml
15-
composer.lock
1615
coveralls-upload.json
1716
phpunit.xml

Diff for: .travis.yml

+51-29
Original file line numberDiff line numberDiff line change
@@ -10,53 +10,75 @@ branches:
1010
cache:
1111
directories:
1212
- $HOME/.composer/cache
13-
- $HOME/.local
14-
- zf-mkdoc-theme
1513

1614
env:
1715
global:
18-
- SITE_URL=https://zendframework.github.io/zend-json-server
19-
- GH_USER_NAME="Matthew Weier O'Phinney"
20-
21-
- GH_REF=github.com/zendframework/zend-json-server.git
22-
- secure: "KvztcHanoXLkqi+yL3o5el7ypu/jcyHqKy0VtOKGB483sg2wn6wJyAuVLBJscmzgazjPzQa57MBe9an7OOpuoJNPtE5m9huk41KByK2ibzMnC4F7D8lox5CUoV0jRaohYQmpZitbj/BKPlFbYaT42d+/R2o9CEQUJ4T3nYltzAydvB3T1CJE1u7HtZ8mB/Kgkfjqcyx+/bnmvmeGlwop4rDxHmEmrfApdWSUMSKUKjJqUlZt0ASpa2fJy3HL4don6WV1ufPcKVI7bQN1dkn+zZhW5zQ7PRg0hMEMxEMC8MLyLZvDXxL4rUmt2i3I0NtK6E357QdoX13NQKJZiH47jFpJA3DFQl2vE7Vu3kEkMqsrM2fbp9xTCyN9Gg5ZHueUd+iUxVCTy5Twlqt8MqBd2Z4tbljOsgBQkRuKxRg+JkNcWGM5RIWhA169nGY25867Bah/hh25blpsj77RVsvJdeUzAqCHWm5ey+2rNcUWbJXUK2nQdlonCLNsP0LweA5344GFFw+U+93btEw/5mpADbjhaYuZKXhMOcnqJgTGghxkp0cnExb7w5p6KxAsQ+E/C5X7RDwwhaTb6LUuKrTgar4/3RVUIqujdVVUntB1161S6Qnut1TqdaRHbgGOBSlCNWAB960icfdNbN+y4mtJZf9AVgvkoN8QGlncVPF+6GI="
16+
- COMPOSER_ARGS="--no-interaction"
17+
- COVERAGE_DEPS="satooshi/php-coveralls"
18+
- LEGACY_DEPS="phpunit/phpunit"
2319

2420
matrix:
2521
fast_finish: true
2622
include:
27-
- php: 5.5
23+
- php: 5.6
24+
env:
25+
- DEPS=lowest
26+
- php: 5.6
2827
env:
29-
- EXECUTE_CS_CHECK=true
28+
- DEPS=locked
29+
- TEST_COVERAGE=true
3030
- php: 5.6
3131
env:
32-
- EXECUTE_TEST_COVERALLS=true
33-
- DEPLOY_DOCS="$(if [[ $TRAVIS_BRANCH == 'master' && $TRAVIS_PULL_REQUEST == 'false' ]]; then echo -n 'true' ; else echo -n 'false' ; fi)"
34-
- PATH="$HOME/.local/bin:$PATH"
32+
- DEPS=latest
3533
- php: 7
36-
- php: hhvm
34+
env:
35+
- DEPS=lowest
36+
- php: 7
37+
env:
38+
- DEPS=locked
39+
- CS_CHECK=true
40+
- php: 7
41+
env:
42+
- DEPS=latest
43+
- php: 7.1
44+
env:
45+
- DEPS=lowest
46+
- php: 7.1
47+
env:
48+
- DEPS=locked
49+
- php: 7.1
50+
env:
51+
- DEPS=latest
52+
- php: 7.2
53+
env:
54+
- DEPS=lowest
55+
- php: 7.2
56+
env:
57+
- DEPS=locked
58+
- php: 7.2
59+
env:
60+
- DEPS=latest
3761
allow_failures:
38-
- php: hhvm
39-
40-
notifications:
41-
irc: "irc.freenode.org#zftalk.dev"
42-
email: false
62+
- php: 7.2
4363

4464
before_install:
45-
- if [[ $EXECUTE_TEST_COVERALLS != 'true' ]]; then phpenv config-rm xdebug.ini || return 0 ; fi
65+
- if [[ $TEST_COVERAGE != 'true' && "$(php --version | grep xdebug -ci)" -ge 1 ]]; then phpenv config-rm xdebug.ini || return 0 ; fi
4666
- travis_retry composer self-update
47-
- if [[ $EXECUTE_TEST_COVERALLS == 'true' ]]; then composer require --dev --no-update satooshi/php-coveralls ; fi
4867

4968
install:
50-
- travis_retry composer install --no-interaction --ignore-platform-reqs
69+
- travis_retry composer install $COMPOSER_ARGS --ignore-platform-reqs
70+
- if [[ $TRAVIS_PHP_VERSION =~ ^5.6 ]]; then travis_retry composer update $COMPOSER_ARGS --with-dependencies $LEGACY_DEPS ; fi
71+
- if [[ $DEPS == 'latest' ]]; then travis_retry composer update $COMPOSER_ARGS ; fi
72+
- if [[ $DEPS == 'lowest' ]]; then travis_retry composer update --prefer-lowest --prefer-stable $COMPOSER_ARGS ; fi
73+
- if [[ $TEST_COVERAGE == 'true' ]]; then travis_retry composer require --dev $COMPOSER_ARGS $COVERAGE_DEPS ; fi
74+
- stty cols 120 && composer show
5175

5276
script:
53-
- if [[ $EXECUTE_TEST_COVERALLS == 'true' ]]; then composer test-coverage ; fi
54-
- if [[ $EXECUTE_TEST_COVERALLS != 'true' ]]; then composer test ; fi
55-
- if [[ $EXECUTE_CS_CHECK == 'true' ]]; then composer cs-check ; fi
56-
- if [[ $DEPLOY_DOCS == "true" && "$TRAVIS_TEST_RESULT" == "0" ]]; then wget -O theme-installer.sh "https://raw.githubusercontent.com/zendframework/zf-mkdoc-theme/master/theme-installer.sh" ; chmod 755 theme-installer.sh ; ./theme-installer.sh ; fi
57-
58-
after_success:
59-
- if [[ $DEPLOY_DOCS == "true" ]]; then echo "Preparing to build and deploy documentation" ; ./zf-mkdoc-theme/deploy.sh ; echo "Completed deploying documentation" ; fi
77+
- if [[ $TEST_COVERAGE == 'true' ]]; then composer test-coverage ; else composer test ; fi
78+
- if [[ $CS_CHECK == 'true' ]]; then composer cs-check ; fi
6079

6180
after_script:
62-
- if [[ $EXECUTE_TEST_COVERALLS == 'true' ]]; then composer upload-coverage ; fi
81+
- if [[ $TEST_COVERAGE == 'true' ]]; then composer upload-coverage ; fi
82+
83+
notifications:
84+
email: false

Diff for: CHANGELOG.md

+10-2
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,12 @@
22

33
All notable changes to this project will be documented in this file, in reverse chronological order by release.
44

5-
## 3.0.1 - TBD
5+
## 3.1.0 - 2017-10-16
66

77
### Added
88

9-
- Nothing.
9+
- [#5](https://github.com/zendframework/zend-xml2json/pull/5) adds support for
10+
PHP 7.1 and 7.2.
1011

1112
### Changed
1213

@@ -21,6 +22,13 @@ All notable changes to this project will be documented in this file, in reverse
2122
- [#1](https://github.com/zendframework/zend-xml2json/pull/1) removes an
2223
obsolete `@deprecated` annotation.
2324

25+
- [#5](https://github.com/zendframework/zend-xml2json/pull/5) removes support
26+
for PHP 5.5. The code likely still runs on that version, but we no longer
27+
support it.
28+
29+
- [#5](https://github.com/zendframework/zend-xml2json/pull/5) removes support
30+
for HHVM.
31+
2432
### Fixed
2533

2634
- Nothing.

Diff for: LICENSE.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
Copyright (c) 2005-2016, Zend Technologies USA, Inc.
1+
Copyright (c) 2005-2017, Zend Technologies USA, Inc.
22

33
All rights reserved.
44

Diff for: README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,4 @@
66
zend-xml2json provides functionality for converting XML structures to JSON.
77

88
- File issues at https://github.com/zendframework/zend-xml2json/issues
9-
- Documentation is at https://zendframework.github.io/zend-xml2json/
9+
- Documentation is at https://docs.zendframework.com/zend-xml2json/

Diff for: composer.json

+6-3
Original file line numberDiff line numberDiff line change
@@ -8,20 +8,23 @@
88
"xml"
99
],
1010
"homepage": "https://github.com/zendframework/zend-xml2json",
11+
"config": {
12+
"sort-packages": true
13+
},
1114
"extra": {
1215
"branch-alias": {
1316
"dev-master": "3.0-dev",
1417
"dev-develop": "3.1-dev"
1518
}
1619
},
1720
"require": {
18-
"php": "^5.5 || ^7.0",
21+
"php": "^5.6 || ^7.0",
1922
"zendframework/zend-json": "^2.6.1 || ^3.0",
2023
"zendframework/zendxml": "^1.0.2"
2124
},
2225
"require-dev": {
23-
"squizlabs/php_codesniffer": "^2.3",
24-
"phpunit/PHPUnit": "~4.0"
26+
"phpunit/phpunit": "^5.7.22 || ^6.4.1",
27+
"zendframework/zend-coding-standard": "~1.0.0"
2528
},
2629
"autoload": {
2730
"psr-4": {

0 commit comments

Comments
 (0)