From 14fd1ecb6d95b9eecf3356fb2b3f01d937d2e4b5 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Wed, 4 Aug 2021 14:05:13 +0200 Subject: [PATCH 1/4] relax test for 8.1.0beta2 --- tests/023.phpt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/023.phpt b/tests/023.phpt index 0dce792..1fc658a 100644 --- a/tests/023.phpt +++ b/tests/023.phpt @@ -9,4 +9,4 @@ yac.enable=0 class Sub extends Yac {}; ?> --EXPECTF-- -Fatal error: Class Sub may not inherit from final class (Yac) in %s023.php on line %d +Fatal error: Class Sub %s final class %s From 80bb1100858ca845a71b43df04a4d16f8ec72aa6 Mon Sep 17 00:00:00 2001 From: Xinchen Hui Date: Sat, 18 Dec 2021 15:45:57 +0800 Subject: [PATCH 2/4] enable 8.0 testing in appveyor --- .appveyor.yml | 26 ++++++++++++++++++-------- 1 file changed, 18 insertions(+), 8 deletions(-) diff --git a/.appveyor.yml b/.appveyor.yml index c00dbcb..34a162e 100644 --- a/.appveyor.yml +++ b/.appveyor.yml @@ -25,23 +25,33 @@ cache: environment: BIN_SDK_VER: 2.2.0 matrix: - - PHP_VER: 7.4.0 + - PHP_VER: 8.0.0 ARCH: x64 TS: 1 - VC: vc15 - APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2017 - - PHP_VER: 7.4.0 + VC: vs16 + APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2019 + - PHP_VER: 8.0.0 ARCH: x64 TS: 0 - VC: vc15 - APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2017 - - PHP_VER: 7.4.0 + VC: vs16 + APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2019 + - PHP_VER: 8.0.0 ARCH: x86 TS: 1 + VC: vs16 + APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2019 + - PHP_VER: 8.0.0 + ARCH: x86 + TS: 0 + VC: vs16 + APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2019 + - PHP_VER: 7.4.0 + ARCH: x64 + TS: 1 VC: vc15 APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2017 - PHP_VER: 7.4.0 - ARCH: x86 + ARCH: x64 TS: 0 VC: vc15 APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2017 From 567fae3b0d76b44dca1e10caf156a9f401d9e312 Mon Sep 17 00:00:00 2001 From: Xinchen Hui Date: Sat, 18 Dec 2021 16:16:08 +0800 Subject: [PATCH 3/4] preparing relase 2.3.1 --- package.xml | 28 +++++++++++++++++++++------- php_yac.h | 2 +- tests/023.phpt | 3 --- tests/024.phpt | 17 ----------------- 4 files changed, 22 insertions(+), 28 deletions(-) delete mode 100644 tests/024.phpt diff --git a/package.xml b/package.xml index 5621314..4c2b9f2 100644 --- a/package.xml +++ b/package.xml @@ -12,11 +12,11 @@ laruence@php.net yes - 2021-01-06 - + 2021-12-18 + - 2.3.0 - 2.3.0 + 2.3.1 + 2.3.1 stable @@ -24,7 +24,7 @@ PHP - - PHP8 Supported + - PHP8.1 Supports @@ -89,7 +89,6 @@ - @@ -111,6 +110,22 @@ + + 2021-12-18 + + 2.3.1 + 2.3.1 + + + stable + stable + + PHP License + + - PHP8.1 Supports + + + 2021-01-06 @@ -126,7 +141,6 @@ - PHP8 Supported - 2020-03-31 diff --git a/php_yac.h b/php_yac.h index 1f9096a..9efc14c 100644 --- a/php_yac.h +++ b/php_yac.h @@ -34,7 +34,7 @@ extern zend_module_entry yac_module_entry; #include "TSRM.h" #endif -#define PHP_YAC_VERSION "2.3.1-dev" +#define PHP_YAC_VERSION "2.3.1" #if PHP_VERSION_ID < 70400 #define YAC_WHANDLER void diff --git a/tests/023.phpt b/tests/023.phpt index 55df2a9..7f38f01 100644 --- a/tests/023.phpt +++ b/tests/023.phpt @@ -3,9 +3,6 @@ Check for inherit from Yac --SKIPIF-- =")) { - die("skip only PHP8.0 and below is supported"); -} ?> --INI-- yac.enable=0 diff --git a/tests/024.phpt b/tests/024.phpt deleted file mode 100644 index 7cfa499..0000000 --- a/tests/024.phpt +++ /dev/null @@ -1,17 +0,0 @@ ---TEST-- -Check for inherit from Yac ---SKIPIF-- - ---INI-- -yac.enable=0 ---FILE-- - ---EXPECTF-- -Fatal error: Class Sub cannot extend final class Yac in %s024.php on line %d From df64efc0ab34fa705a7019d38031cfa11c825e1b Mon Sep 17 00:00:00 2001 From: Xinchen Hui Date: Sat, 18 Dec 2021 17:22:53 +0800 Subject: [PATCH 4/4] back to dev --- php_yac.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/php_yac.h b/php_yac.h index 9efc14c..e7913d6 100644 --- a/php_yac.h +++ b/php_yac.h @@ -34,7 +34,7 @@ extern zend_module_entry yac_module_entry; #include "TSRM.h" #endif -#define PHP_YAC_VERSION "2.3.1" +#define PHP_YAC_VERSION "2.3.2-dev" #if PHP_VERSION_ID < 70400 #define YAC_WHANDLER void