Skip to content

Conversation

@jrauh01
Copy link
Contributor

@jrauh01 jrauh01 commented Aug 11, 2025

Replaced the unused Zend_Config_Exception with a more appropriate NotWritableError in IniWriter::write().

  • The old Zend_Config_Exception was never caught anywhere in the codebase.
  • Changed to NotWritableError to better reflect file permission and write issues.
  • Added @ suppression to the file_put_contents() call so that the method can throw NotWritableError instead of crashing on PHP warnings.

Copy link
Contributor

@sukhwinder33445 sukhwinder33445 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants