diff --git a/.travis.yml b/.travis.yml index 51d15ab..d1ea6ab 100644 --- a/.travis.yml +++ b/.travis.yml @@ -18,5 +18,12 @@ install: - composer install script: - # Run PHP lint on all PHP files. - - find Classes/ Tests/ -name '*.php' -print0 | xargs -0 -n 1 -P 4 php -l +- > + echo; + echo "Validating the composer.json"; + composer validate --no-check-all --no-check-lock --strict; + +- > + echo; + echo "Linting all PHP files"; + find Classes/ Tests/ -name '*.php' -print0 | xargs -0 -n 1 -P 4 php -l;