pestphp / drift

[WIP] Command-line tool to migrate your PHPUnit tests to Pest
https://pestphp.com/docs/guides/drift
MIT License
28 stars 7 forks source link

bug: "config/phpunit-to-pest.yml" was not found #31

Closed nunomaduro closed 4 years ago

nunomaduro commented 4 years ago

Got this error just after a fresh installation of drift. Any ideas?

Screenshot 2020-08-27 at 22 33 32
owenvoke commented 4 years ago

Rector now uses PHP for configuration instead of YAML. So these references should be updated: https://github.com/pestphp/drift/blob/master/src/RectorRunner.php#L20

nunomaduro commented 4 years ago

@owenvoke @olivernybroe Maybe we can lock the rector version to avoid this kind of things?

olivernybroe commented 4 years ago

@nunomaduro No need, what @owenvoke means is that rector recommends PHP configs instead of YAML, so we made the change. We just forgot to update everything.

We really need some tests that checks the whole application and not just the rectors.