docker-php-extension-installer/scripts/tests/blackfire

14 lines
225 B
Plaintext
Raw Normal View History

2021-08-08 16:52:40 +00:00
#!/bin/sh
set -o errexit
set -o nounset
if test -z "$(php --ri blackfire | grep 'Blackfire => enabled')"; then
echo 'Blackfire PHP Probe is disabled' >&2
rc=1
else
echo 'Blackfire PHP Probe is enabled'
rc=0
fi
exit $rc