Skip to content

Commit

Permalink
Adjust error reporting for PHP 8.4 (#124)
Browse files Browse the repository at this point in the history
  • Loading branch information
eiriksm authored Aug 9, 2024
1 parent 7a4acf0 commit a315194
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions php-install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -197,3 +197,12 @@ mv /tmp/symfony /usr/local/bin/symfony
wget https://getcomposer.org/download/latest-2.2.x/composer.phar -O /tmp/composer22
chmod 755 /tmp/composer22
mv /tmp/composer22 /usr/local/bin/composer22

case $PHP_VERSION in
8.4*)
echo "error_reporting = E_ALL & ~E_DEPRECATED" > /usr/local/etc/php/conf.d/errors.ini
;;
*)
echo "No adjustment of error reporting on $PHP_VERSION"
;;
esac

0 comments on commit a315194

Please sign in to comment.