Skip to content

Change PHP 7 Exception handling to catch Throwable#7198

Merged
Bakual merged 1 commit intojoomla:3.5-devfrom
mbabker:Throwable
Jun 19, 2015
Merged

Change PHP 7 Exception handling to catch Throwable#7198
Bakual merged 1 commit intojoomla:3.5-devfrom
mbabker:Throwable

Conversation

@mbabker
Copy link
Copy Markdown
Contributor

@mbabker mbabker commented Jun 19, 2015

Per PHP's Throwable RFC, a change has been made in PHP 7's error handling. Long and short, the BaseException class is gone and the two error branches (Exception and Error (previously EngineException)) now implement the Throwable interface. This PR updates our adoption of the previous exception objects to follow the newly implemented interfaces.

Note that this change is now implemented in the PHP 7 branch. Travis-CI (as of the time this was opened) may not yet be updated with this change.

Bakual pushed a commit that referenced this pull request Jun 19, 2015
Change PHP 7 Exception handling to catch Throwable
@Bakual Bakual merged commit cb62859 into joomla:3.5-dev Jun 19, 2015
@Bakual
Copy link
Copy Markdown
Contributor

Bakual commented Jun 19, 2015

Merged on review.

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.

4 participants