Skip to content

Commit

Permalink
Add patch to fix php_pcre_match_impl call in PCOV for PHP 8.4
Browse files Browse the repository at this point in the history
  • Loading branch information
shivammathur committed Dec 13, 2023
1 parent 9ab61d9 commit e9ffa3e
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions scripts/install-extension.sh
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,10 @@ patch_igbinary() {
[[ "$PHP_VERSION" = "8.3" || "$PHP_VERSION" = "8.4" ]] && find . -type f -exec sed -i 's/zend_uintptr_t/uintptr_t/g' {} +;
}

patch_pcov() {
[[ "$PHP_VERSION" = "8.4" ]] && sed -i 's/0, 0, 0, 0/0, 0, 0/' pcov.c
}

extension=$1
repo=$2
tag=$3
Expand Down

0 comments on commit e9ffa3e

Please sign in to comment.