Skip to content
This repository was archived by the owner on Feb 11, 2019. It is now read-only.

Show Composer failures to humans#55

Open
philsturgeon wants to merge 1 commit intovirtphp:masterfrom
philsturgeon:output-composer-failures
Open

Show Composer failures to humans#55
philsturgeon wants to merge 1 commit intovirtphp:masterfrom
philsturgeon:output-composer-failures

Conversation

@philsturgeon
Copy link
Copy Markdown
Contributor

There are so many things that can go wrong, that it would be useful to see what the actual issue was. For me in here (#28 (comment)) it was because I was not using a version of PHP that had openssl available. Without me seeing the output I'd never have had a clue about that.

@philsturgeon
Copy link
Copy Markdown
Contributor Author

Ok I know how to fix the tests but if I work on this any longer I'm gonna be late for dinner with @coderabbi. Will get it later/tomorrow.

@jakerella
Copy link
Copy Markdown
Member

Thanks for the work so far!

@philsturgeon
Copy link
Copy Markdown
Contributor Author

I dont really understand the Virtphp\Test\Mock\ProcessMock class.

It's a fake process class, which doesn't have getErrorOutput() and manually making one would be a bit of an arse. What should I do here folks?

There are so many things that can go wrong, that it would be useful to see what the actual issue was. For me in here #28 (comment) it was because I was not using a version of PHP that had openssl available. Without me seeing the output I'd never have had a clue about that.
@jwoodcock
Copy link
Copy Markdown
Member

@philsturgeon again, sorry for limbo.

Looks like you got the tests passing. Any other issues you are having?

Also, can you pull master again and re-run the tests as the changes you made to ProcessMock might affect other tests.

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants