Skip to content

Commit 9f241ac

Browse files
committed
Update yaml patch for PHP 8.5
1 parent 19ea0dc commit 9f241ac

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

scripts/patch-extensions.sh

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,11 @@ patch_igbinary() {
7171
[[ "$PHP_VERSION" = "8.5" ]] && sed -i 's#ext/standard/php_smart_string.h#Zend/zend_smart_string.h#' src/php7/php_igbinary.h
7272
}
7373

74+
# Function to path yaml source
75+
patch_yaml() {
76+
[[ "$PHP_VERSION" = "8.5" ]] && sed -i 's#ext/standard/php_smart_string.h#Zend/zend_smart_string.h#' php_yaml.h
77+
}
78+
7479
# Function to path zmq source
7580
patch_zmq() {
7681
[[ "$PHP_VERSION" = "8.5" ]] && sed -i 's/zend_exception_get_default()/zend_ce_exception/' zmq.c

0 commit comments

Comments
 (0)