diff --git a/.travis.yml b/.travis.yml index 85ba4794..454942ab 100644 --- a/.travis.yml +++ b/.travis.yml @@ -16,6 +16,7 @@ install: - composer install --dev --prefer-source script: + - find ./src -name "*.php" -print0 | xargs -0 -n1 -P8 php -l - phpunit - vendor/bin/phpspec run -f pretty --no-interaction - ./vendor/bin/phpcs --standard=./phpcs-ruleset.xml --ignore=./vendor --ignore=./doc --ignore=./spec . diff --git a/src/Drupal/Driver/Fields/Drupal6/TaxonomyHandler.php b/src/Drupal/Driver/Fields/Drupal6/TaxonomyHandler.php index 7d5cc5b1..7c635870 100644 --- a/src/Drupal/Driver/Fields/Drupal6/TaxonomyHandler.php +++ b/src/Drupal/Driver/Fields/Drupal6/TaxonomyHandler.php @@ -18,7 +18,7 @@ class TaxonomyHandler implements FieldHandlerInterface { * {@inheritdoc} */ public function expand($values) { - $result = []; + $result = array(); $values = (array) $values; foreach ($values as $entry) { $terms = explode(',', $entry);