Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: ensure catch syntax compatibility with PHP 7.x #764

Merged
merged 1 commit into from
Feb 7, 2024
Merged

fix: ensure catch syntax compatibility with PHP 7.x #764

merged 1 commit into from
Feb 7, 2024

Conversation

maxnth
Copy link
Contributor

@maxnth maxnth commented Feb 7, 2024

This fixes the bug described in SemanticMediaWiki/SemanticMediaWiki#5590 by assigning the caught exception to a variable in SubObjectBuilder.php.
This ensures compatibility with PHP versions 7.x as support for omitting the variable starts with 8.0.0.

@maxnth maxnth changed the title fix: ensure catch syntax compatibility with PHP 7. fix: ensure catch syntax compatibility with PHP 7.x Feb 7, 2024
@JeroenDeDauw JeroenDeDauw merged commit aa2a45a into ProfessionalWiki:master Feb 7, 2024
5 checks passed
@maxnth maxnth deleted the fix/catch-syntax branch February 8, 2024 07:14
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.

2 participants