mirror of
https://github.com/shivammathur/setup-php.git
synced 2026-03-14 13:23:15 +07:00
Add support for zephir parser for PHP 8.5 [skip ci]
This commit is contained in:
2
dist/index.js
vendored
2
dist/index.js
vendored
File diff suppressed because one or more lines are too long
@@ -143,7 +143,7 @@ export async function addExtensionWindows(
|
||||
// match 5.3ioncube...8.4ioncube
|
||||
// match 7.0phalcon3...7.3phalcon3, 7.2phalcon4...7.4phalcon4, and 7.4phalcon5...8.4phalcon5
|
||||
// match 7.1pecl_http...8.5pecl_http and 7.1http...8.5http
|
||||
// match 7.0zephir_parser...8.4zephir_parser
|
||||
// match 7.0zephir_parser...8.5zephir_parser
|
||||
case /^(5\.[3-6]|7\.[0-4]|8\.[0-5])blackfire(-\d+\.\d+\.\d+)?$/.test(
|
||||
version_extension
|
||||
):
|
||||
@@ -156,7 +156,7 @@ export async function addExtensionWindows(
|
||||
):
|
||||
case /^(7\.[1-4]|8\.[0-5])(pecl_)?http/.test(version_extension):
|
||||
case /(?<!5\.[3-6])(pdo_)?sqlsrv$/.test(version_extension):
|
||||
case /^(7\.[0-4]|8\.[0-4])zephir_parser(-v?\d+\.\d+\.\d+)?$/.test(
|
||||
case /^(7\.[0-4]|8\.[0-5])zephir_parser(-v?\d+\.\d+\.\d+)?$/.test(
|
||||
version_extension
|
||||
):
|
||||
add_script += await utils.customPackage(
|
||||
|
||||
Reference in New Issue
Block a user