-
-
Notifications
You must be signed in to change notification settings - Fork 585
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' into replace_data
* master: (77 commits) use explicit boolean comparison Added tests to ensure SerializeNull policy Revert "Default `$serializeNull` to false" Start with the 1.3.x branch Added tests for 'hasData' $context is not used Fix Doctrine PHPCR ODM 2.0 compatibility Start with the 1.2.x branch added hhvm-nightly Make tests working on HHVM Use camel case for skipWhenEmpty annotation Lookup for local namespaces when creating elements Use always xpath to find nodes, when the namespace is empty, simplexml fails Allow to decide when skip empty arrays when serializing to xml Added skip_when_empty xml collection option Do not skip empty not inline array root node Allow to use custom serializer with primitive type Composer is not able to resolve a dependency Fix xml-attribute-map for the xml driver makes sure that explicit lists are serialized as lists ...
- Loading branch information
Showing
75 changed files
with
1,336 additions
and
2,917 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
vendor/ | ||
phpunit.xml | ||
composer.lock | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
tools: | ||
external_code_coverage: | ||
timeout: 600 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,22 +1,40 @@ | ||
language: php | ||
|
||
matrix: | ||
allow_failures: | ||
- php: hhvm | ||
sudo: false | ||
|
||
git: | ||
depth: 1 | ||
|
||
php: | ||
- 5.3 | ||
- 5.4 | ||
- 5.5 | ||
- hhvm | ||
cache: | ||
directories: | ||
- $HOME/.composer/cache | ||
|
||
matrix: | ||
include: | ||
- php: hhvm | ||
sudo: required | ||
dist: trusty | ||
group: edge | ||
- php: hhvm-nightly | ||
sudo: required | ||
dist: trusty | ||
group: edge | ||
- php: 5.5 | ||
- php: 5.6 | ||
- php: 7.0 | ||
- php: 5.5 | ||
env: COMPOSER_FLAGS='--prefer-lowest --prefer-stable' | ||
fast_finish: true | ||
|
||
before_script: | ||
- if [[ $TRAVIS_PHP_VERSION = '5.6' ]]; then PHPUNIT_FLAGS="--coverage-clover clover"; else PHPUNIT_FLAGS=""; fi | ||
- if [[ $TRAVIS_PHP_VERSION != '5.6' && ! $TRAVIS_PHP_VERSION = hhvm* ]]; then phpenv config-rm xdebug.ini; fi | ||
- composer self-update | ||
- composer install --dev | ||
- composer update $COMPOSER_FLAGS | ||
|
||
script: vendor/bin/phpunit --coverage-clover clover | ||
script: vendor/bin/phpunit $PHPUNIT_FLAGS | ||
|
||
after_success: | ||
- wget https://scrutinizer-ci.com/ocular.phar | ||
- php ocular.phar code-coverage:upload --format=php-clover clover | ||
- if [[ $TRAVIS_PHP_VERSION = '5.6' ]]; then wget https://scrutinizer-ci.com/ocular.phar; fi | ||
- if [[ $TRAVIS_PHP_VERSION = '5.6' ]]; then php ocular.phar code-coverage:upload --format=php-clover clover; fi | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
Serializer [![Scrutinizer Quality Score](https://scrutinizer-ci.com/g/schmittjoh/serializer/badges/quality-score.png?s=189df68e00c75d3fe155bc0da0b53b53709a9895)](https://scrutinizer-ci.com/g/schmittjoh/serializer/) | ||
Serializer [![Scrutinizer Quality Score](https://scrutinizer-ci.com/g/schmittjoh/serializer/badges/quality-score.png?s=189df68e00c75d3fe155bc0da0b53b53709a9895)](https://scrutinizer-ci.com/g/schmittjoh/serializer/) [![Build Status](https://travis-ci.org/schmittjoh/serializer.svg?branch=master)](https://travis-ci.org/schmittjoh/serializer) | ||
========== | ||
|
||
Learn more about it in its [documentation](http://jmsyst.com/libs/serializer). |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.