[PECL-CVS] [pecl-networking-gearman] master: Merge pull request #43 from esabol/update-ci-workflow

[email protected] (Rasmus Lerdorf via GitHub)
Newsgroups php.pecl.cvs
Message-ID <[email protected]>
Author: Rasmus Lerdorf (rlerdorf)
Committer: GitHub (web-flow)
Pusher: rlerdorf
Date: 2025-11-23T09:43:07-05:00

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

Merge pull request #43 from esabol/update-ci-workflow

Fix/update 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.