#!/bin/bash
vendor/bin/phpunit $*
if [ $? -eq 0 ]; then
  ./vendor/bin/php-cs-fixer fix -v --dry-run || echo 'vendor/bin/php-cs-fixer fix -v'
  fi
