Skip to content

Throw LogicException when proc_open() is not installed#49

Merged
WyriHaximus merged 1 commit intoreactphp:masterfrom
mdrost:procopen-exception
Aug 14, 2017
Merged

Throw LogicException when proc_open() is not installed#49
WyriHaximus merged 1 commit intoreactphp:masterfrom
mdrost:procopen-exception

Conversation

@mdrost
Copy link
Copy Markdown
Contributor

@mdrost mdrost commented Aug 12, 2017

Unfortunately I don't see any tests for exceptions — this would require mocking global functions.

Copy link
Copy Markdown
Member

@WyriHaximus WyriHaximus left a comment

Choose a reason for hiding this comment

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

LGTM, thanks for making this PR 👍

@kelunik
Copy link
Copy Markdown

kelunik commented Aug 12, 2017

You could test it with a PHPT test specifying -d disable_functions or something like that.

@clue clue added the BC break label Aug 14, 2017
@WyriHaximus WyriHaximus merged commit ba1e939 into reactphp:master Aug 14, 2017
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.

5 participants