<?php/** * This is project's console commands configuration for Robo task runner. * * @see http://robo.li/ */classRoboFileextends\Robo\Tasks{// define public methods as commandspublicfunctionprepare(){$config=json_decode(file_get_contents(__DIR__.'/composer.json'),true);$config['name']='codeception/phpunit-wrapper-test';$config['require-dev']['codeception/codeception']=getenv('CODECEPTION_VERSION');$config['replace']=['codeception/phpunit-wrapper'=>'*'];file_put_contents(__DIR__.'/composer.json',json_encode($config));}publicfunctiontest($params){return$this->taskExec(__DIR__.'/vendor/bin/codecept run '.$params)->dir(__DIR__.'/vendor/codeception/codeception')->run();}}