Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MakeGood with PHP 7 fail #91

Open
maggo2801 opened this issue May 24, 2016 · 2 comments
Open

MakeGood with PHP 7 fail #91

maggo2801 opened this issue May 24, 2016 · 2 comments

Comments

@maggo2801
Copy link

Fatal error: Cannot use Stagehand\TestRunner\Util\String as String because 'String' is a special class name in /home/XXXX/eclipse-neon-php/plugins/com.piece_framework.makegood.stagehandtestrunner_3.1.1.v201409021510/resources/php/vendor/piece/stagehand-testrunner/src/DependencyInjection/Transformation/Transformation.php on line 46

@fabicz
Copy link

fabicz commented Jun 28, 2016

Run into same issue. Seems MakeGood project is dead as it doesnt support PHP7 nor PHPUnit 5+. RIP.

@gtsiou
Copy link

gtsiou commented Aug 26, 2016

I was able to use MakeGood with Eclipse Oxygen but updating the composer.json is [eclipse-folder]/plugins/com.piece_framework.makegood.stagehandtestrunner_3.1.1.v201409021510/resources/php/ to be like :

{
    "require": {
        "php": ">=5.3.3",
        "piece/stagehand-testrunner": "4.2.0",
        "phpunit/phpunit": "5.5.*"
    },
    "scripts": {
        "post-autoload-dump": [
            "Stagehand\\TestRunner\\Composer\\Script::compile"
        ]
    }
}

and then I run composer update (in that folder). That will get is working properly.

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

No branches or pull requests

3 participants