#!/usr/bin/env bash

if [ ! -f box.phar ]; then
    wget https://github.com/humbug/box/releases/download/3.1.0/box.phar -O box.phar
fi

#!/usr/bin/env bash

if [ ! -f box.phar ]; then
    wget https://github.com/box-project/box/releases/download/3.9.0/box.phar -O box.phar
fi

Use a more recent (and less buggy?) version of box
Use a more recent (and less buggy?) version of box

3.1.0 crashes with syntax error, unexpected 'fn' (T_FN), expecting
  identifier (T_STRING)
