[PECL-CVS] [pecl-networking-gearman] master: Fixed/updated the CI workflow for PHP 8.4 and 8.5.

[email protected] (Ed Sabol)
Newsgroups php.pecl.cvs
Message-ID <[email protected]>
Author: Ed Sabol (esabol)
Pusher: rlerdorf
Date: 2025-08-11T22:19:40-04:00

Commit: https://github.com/php/pecl-networking-gearman/commit/f72c2d92f27d5faf2b504e9940cdb2ba7b2ed2a7
Raw diff: https://github.com/php/pecl-networking-gearman/commit/f72c2d92f27d5faf2b504e9940cdb2ba7b2ed2a7.diff

Fixed/updated the CI workflow for PHP 8.4 and 8.5.

Changed paths:
  M  .github/workflows/ci.yml
  M  php_gearman.c


Diff:

diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index 1125fdf..e1ca77d 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -6,6 +6,7 @@ on:
   push:
     branches:
       - master
+  workflow_dispatch:
 
 jobs:
   build:
@@ -16,14 +17,14 @@ jobs:
       fail-fast: false
       matrix:
         os: [ubuntu-latest, macos-latest]
-        version: ['8.0', '8.1', '8.2', '8.3']
+        version: ['8.0', '8.1', '8.2', '8.3', '8.4']
         stable: [true]
         include:
           - os: ubuntu-latest
-            version: '8.4'
+            version: '8.5'
             stable: false
           - os: macos-latest
-            version: '8.4'
+            version: '8.5'
             stable: false
     steps:
       - name: Setup PHP
diff --git a/php_gearman.c b/php_gearman.c
index 9d885cf..fc8bf74 100644
--- a/php_gearman.c
+++ b/php_gearman.c
@@ -120,7 +120,7 @@ PHP_MINIT_FUNCTION(gearman) {
 	gearman_job_obj_handlers.offset = XtOffsetOf(gearman_job_obj, std);
 
 	/* XXX exception class */
-	INIT_CLASS_ENTRY(ce, "GearmanException", class_GearmanException_methods)
+	INIT_CLASS_ENTRY(ce, "GearmanException", NULL)
 	gearman_exception_ce = zend_register_internal_class_ex(&ce, zend_ce_exception);
 	gearman_exception_ce->ce_flags |= ZEND_ACC_FINAL;
 	zend_declare_property_long(gearman_exception_ce, "code", sizeof("code")-1, 0, ZEND_ACC_PUBLIC);
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.