Skip to content

Commit 9c28f9b

Browse files
committed
Fix support for phalcon on PHP 7.4
1 parent b9f1db4 commit 9c28f9b

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

src/scripts/extensions/phalcon.sh

+5-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,11 @@
11
# Helper function to get phalcon version
22
get_phalcon_version() {
33
if [ "$extension" = "phalcon5" ]; then
4-
get_pecl_version phalcon stable 5
4+
if [ "${version:?}" = "7.4" ]; then
5+
echo '5.4.0'
6+
else
7+
get_pecl_version phalcon stable 5
8+
fi
59
elif [ "$extension" = "phalcon4" ]; then
610
echo '4.1.2'
711
elif [ "$extension" = "phalcon3" ]; then

0 commit comments

Comments
 (0)