Skip to content

Commit

Permalink
Add psr for PHP 7.0 and above
Browse files Browse the repository at this point in the history
  • Loading branch information
shivammathur committed Dec 6, 2023
1 parent dd230b7 commit 83d1155
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions scripts/install-php-packages.sh
Original file line number Diff line number Diff line change
Expand Up @@ -116,6 +116,10 @@ if [[ $PHP_VERSION != "5.6" ]]; then
DEBIAN_FRONTEND=noninteractive apt-fast install -y --no-install-recommends php$PHP_VERSION-ds
fi

if [[ $PHP_VERSION != "5.6" ]]; then
DEBIAN_FRONTEND=noninteractive apt-fast install -y --no-install-recommends php$PHP_VERSION-psr || true
fi

if [[ $PHP_VERSION = "7.0" || $PHP_VERSION = "7.1" ]]; then
DEBIAN_FRONTEND=noninteractive apt-fast install -y --no-install-recommends php$PHP_VERSION-sodium
[ "${BUILDS:?}" = "debug" ] && apt-fast install -y --no-install-recommends php$PHP_VERSION-sodium$PHP_PKG_SUFFIX
Expand Down

0 comments on commit 83d1155

Please sign in to comment.