Don't use two if when one else does the same job.
Don't use convoluted calculations when one return statement is sufficient.
Don't call a method that doesn't exist.
Don't write a try-catch block that does nothing.
Do send exceptions when a abnormal situation occurs.
Closed#962
* Accepts options for PID and log file.
* Uses posix_kill whenever available.
* Checks that the daemon actually started or stopped.
* Try to terminate then kill the daemon.
* Uses the logger or output instead of "echo".
Added a ProcessControl interface and implementations.
Closed#908
This avoid issues when push handlers/processors to that logger.
Use the Monolog\ErrorHandler to log errors and exceptions.
PHPCI/Logging/Handler becomes PHPCI/ErrorHandler.
And it only throws ErrorException for reported errors.
No need to initialize a second $loggerConfig in daemonise.
Close#892
Some tests compare the result to english strings.
Do not test UnixCommandExecutor on Windows.
PharTest: explain why PHAR writing test are skipped.
InstallCommandTest: mock checkRequirements to allow the tests to run.
Run php_parallel_lint before all other tests.
Close#846
This variable allows to change where the build happens.
It defaults to PHPCI_DIR.'PHPCI/build/'.
Moved build path calculate and build removal into the Build class.
Also remove the build directory when deleting the build.
Close#834
Fixed docblocks.
Reworked WebhookController to enforce Json responses in ::handleAction.
Check the project type match the webhook.
When creating several builds, do not stop on first error.
Try to create every builds and report 'ok' if at least one succeeds.
CS fix.
Fixed Uses.
Fixed the types accepted by the git webhook.
Added some really basic test.
Added another test case from #571.
Updated the output of TapParser::processTestLine.
Broke TapParser::parse down in simpler methods.
TapParser: ignore leading garbage and properly complain on missing TAP log.
TapParser: detect and report duplicated TAP log.
TapParser: got rid of the "test" and "suite" values.
They are only available with PHPUnit.
TapParser: append the message from yaml diagnostic to existing message.
Reworked the dispaly of test results.
PHPUnit plugin: pretty print test data.
Added an AnsiConverter helper.
Use the AnsiConverter in the email and page templates that display the build log.
Use a dedicated stylesheet for the ANSI converter.
It can be customized.
It can be inlined in the notifications.
Do not use ProphecyTestCase when not needed.