From a239e0252076e91bbadd8aecea2b4949f0a0907b Mon Sep 17 00:00:00 2001
From: Anton Vasiliev <1695147@gmail.com>
Date: Sat, 23 Nov 2024 10:01:16 +0000
Subject: [PATCH] #154 - Enable PHP 8.4 support
---
.github/workflows/ci.yml | 6 ++++--
package.xml | 16 ++++++++--------
zephir_parser.h | 2 +-
3 files changed, 13 insertions(+), 11 deletions(-)
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index aa7dc91f..ef12f040 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -28,7 +28,7 @@ jobs:
strategy:
fail-fast: false
matrix:
- php: [ '7.0', '7.1', '7.2', '7.3', '7.4', '8.0', '8.1', '8.2', '8.3' ]
+ php: [ '7.0', '7.1', '7.2', '7.3', '7.4', '8.0', '8.1', '8.2', '8.3', '8.4' ]
ts: [ 'ts', 'nts' ]
arch: [ 'x64' ]
@@ -62,6 +62,8 @@ jobs:
- { php: '8.2', ts: 'ts', arch: 'x64', name: 'windows2019-vs16', os: 'windows-2019', compiler: 'vs16', ccov: 'OFF' }
- { php: '8.3', ts: 'nts', arch: 'x64', name: 'windows2019-vs16', os: 'windows-2019', compiler: 'vs16', ccov: 'OFF' }
- { php: '8.3', ts: 'ts', arch: 'x64', name: 'windows2019-vs16', os: 'windows-2019', compiler: 'vs16', ccov: 'OFF' }
+ #- { php: '8.4', ts: 'nts', arch: 'x64', name: 'windows2019-vs16', os: 'windows-2019', compiler: 'vs16', ccov: 'OFF' }
+ #- { php: '8.4', ts: 'ts', arch: 'x64', name: 'windows2019-vs16', os: 'windows-2019', compiler: 'vs16', ccov: 'OFF' }
steps:
- uses: actions/checkout@v4
@@ -193,7 +195,7 @@ jobs:
- name: Install PHP
uses: shivammathur/setup-php@v2
with:
- php-version: '8.3'
+ php-version: '8.4'
tools: pecl
- name: Install System Dependencies
diff --git a/package.xml b/package.xml
index b03afd01..84f29659 100644
--- a/package.xml
+++ b/package.xml
@@ -12,11 +12,11 @@
anton@phalcon.io
yes
- 2024-06-03
-
+ 2024-11-23
+
- 1.6.1
- 1.6.1
+ 1.7.0
+ 1.7.0
stable
@@ -24,11 +24,11 @@
MIT
- Mon, Jun 03, 2024 - Zephir Parser 1.6.1
+ Sat, Nov 23, 2024 - Zephir Parser 1.7.0
- = Fixed:
+ = Added:
- - Fixed lcov coverage
+ - Enabled support for PHP 8.4
@@ -215,7 +215,7 @@
7.0.0
- 8.3.99
+ 8.4.99
1.10
diff --git a/zephir_parser.h b/zephir_parser.h
index abe6ce7b..7b265c56 100644
--- a/zephir_parser.h
+++ b/zephir_parser.h
@@ -15,7 +15,7 @@ extern zend_module_entry zephir_parser_module_entry;
#define phpext_zephir_parser_ptr &zephir_parser_module_entry
#define PHP_ZEPHIR_PARSER_NAME "zephir_parser"
-#define PHP_ZEPHIR_PARSER_VERSION "1.6.1"
+#define PHP_ZEPHIR_PARSER_VERSION "1.7.0"
#define PHP_ZEPHIR_PARSER_AUTHOR "Zephir Team and contributors"
#define PHP_ZEPHIR_PARSER_DESCRIPTION "The Zephir Parser delivered as a C extension for the PHP language."