#!/bin/sh
set -eu
find app config -name '*.php' -print | while read -r f; do php -l "$f" >/dev/null; done
for f in player_api.php get.php live.php movie.php series.php hls.php; do php -l "$f" >/dev/null; done
php tests/unit.php >/dev/null
echo PASS
