Skip to content
This repository has been archived by the owner on Mar 30, 2018. It is now read-only.

Support for optionally configuring phpunit executable #155

Merged
merged 4 commits into from
Apr 19, 2017

Conversation

daniel-mueller
Copy link
Contributor

This is my attempt to implement the feature requested by the user domnikl and me in Issue #154.

Behaviour of the application remains unchanged as long as the user doesn't include the location of a phpunit.phar in the configfile. If he does, path and name of the provided executable will be passed to the ExecutableFinder.

{
    "source": {
        "directories": [
            "src"
        ]
    },
    ...
    "phpunit": {
        "phar": "/absolute/path/to/phpunit-4.8.3.phar"
    }
}

If this pull request somehow doesn't measure up to your expectations for a proper PR or you don't want to implement the feature I would be glad to hear from you.

@daniel-mueller daniel-mueller changed the title Issue 154 Support for optionally configuring phpunit executable Aug 21, 2015
@padraic
Copy link
Collaborator

padraic commented Oct 23, 2015

Apologies for the delay in responding. I'll be reviewing over the weekend, and will look at merging.

@yvoyer
Copy link

yvoyer commented Feb 27, 2016

@padraic I made the finder path configurable through the construct in #170. This issue could be related with it.

@theofidry theofidry added this to the 1.0.0 milestone Apr 19, 2017
@theofidry theofidry merged commit aea7d8b into humbug:master Apr 19, 2017
tabbabi pushed a commit to tabbabi/humbug that referenced this pull request Aug 4, 2017
tabbabi pushed a commit to tabbabi/humbug that referenced this pull request Aug 4, 2017
Update README.md

markdown fix

Update README.md

Add migration notice & update clone URL

Update Travis CI and Scrutinizer badges in readme

Apply fixes from StyleCI

Run Travis builds for all branches

Unify version displaying format

Add a download counter to the readme (humbug#222)

Make Behat tests up and running (humbug#224)

Forces humbug to use the phpunit downloaded using Composer.

Handle mocking objects for both PHPUnit 4 and 5 (humbug#226)

Support for optionally configuring phpunit executable (humbug#155)

Change PHAR compression from bz2 to gzip (humbug#205)

Allow to be run with phpdbg (humbug#184)

Remove white spaces

Improve Travis matrix (humbug#207)

Support adding env variables; by default use this to disable Symfony deprecation notices.
Fixes @42
tabbabi pushed a commit to tabbabi/humbug that referenced this pull request Aug 4, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants