Skip to content

Commit

Permalink
Merge branch '1.5' into 1
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions[bot] committed Dec 7, 2023
2 parents a3c9199 + 958cb65 commit 37f9c88
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -210,6 +210,17 @@ jobs:
if [[ "${{ matrix.phpcoverage }}" != "true" ]]; then
sudo sh -c "echo ';zend_extension=xdebug.so' > /etc/php/${{ matrix.php }}/mods-available/xdebug.ini"
fi
# Remove php8.x-psr extension which may be pre-installed with ubuntu
# The extension adds a PHP PsrExt namespace aliased to Psr and the implementation of
# PsrExt\Log\LoggerInterface::emergency() has a signature that conflicts with Monolog\Logger::emergency()
match=$(sudo dpkg --get-selections | grep php | grep psr) || true
if [[ "$match" =~ ^(php[0-9\.]+\-psr) ]]; then
extension=${BASH_REMATCH[1]};
sudo apt remove "$extension"
echo "Removed PHP extension $extension"
fi
echo "PHP has been configured"
- name: Install additional requirements
Expand Down

0 comments on commit 37f9c88

Please sign in to comment.