summarylogtreecommitdiffstats
path: root/php-cs-fixer.install
blob: ff184db051341975dda03b77f561ee3238c2247d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
post_install() {
  if ! php -i | grep 'PHP Archive support => enabled' >/dev/null 2>&1; then
    echo
    echo "Error: phar.so must be enabled in your php.ini"
		echo
    exit 1
  fi
}

post_upgrade() {
  post_install
}