mirror of https://github.com/FriendsOfTYPO3/tea.git synced 2024-09-19 23:36:13 +02:00

[TASK] Validate the composer.json

This commit is contained in:
Oliver Klee 2018-01-13 00:26:51 +01:00
parent aedcf4530c
commit 97783b5459

View file

@ -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;