Skip to content

fix: avoid addon function redeclaration - #2

Merged
cseufert merged 1 commit into
mainfrom
release/v3.1.1
Aug 28, 2026
Merged

cseufert merged 1 commit into
mainfrom
release/v3.1.1

Conversation

@cseufert

Copy link
Copy Markdown
Member

Fix the frontend fatal error caused when WHMCS loads hooks.php before loading the addon module entry point. Hooks now load only their shared dependencies, and the addon version is bumped to 3.1.1.\n\nChecks:\n- PHPUnit\n- PHPStan\n- hook-first/module-second load-order regression

@cseufert
cseufert merged commit 0732b5f into main Aug 28, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant