fuel / oil

Fuel PHP Framework - Fuel v1.x Oil command-line package
http://fuelphp.com/docs/packages/oil/intro.html
106 stars 67 forks source link

Allow oil test to run on modern version of PHPUnit #270

Closed nickhagen closed 4 years ago

nickhagen commented 4 years ago

Not a huge fan of 'and' and 'or' syntax in the conditionals but that seems to be the style of the file!

This will allow you to composer require phpunit/phpunit, update app/config/oil.php paths and run php oil test on versions of PHPUnit greater than 6!

nickhagen commented 4 years ago

example oil.php config file

return [
    'phpunit' => [
        'autoload_path' => VENDORPATH . 'autoload.php',
        'binary_path' => VENDORPATH . 'bin/phpunit',
    ],
];
WanWizard commented 4 years ago

Thanks. Bumped into this issue recently but didn't have time to look into it.