Convert PhpSpec tests to PHPUnit using the Prophecy library.
This tool takes a different approach to Rector's implementation. Whilst Rector will convert to PHPUnit's internal mocking library, this tool will instead rewrite the test to use PhpSpec's Prophecy library instead within PHPUnit. This tool also has a more linear pipeline.
- nikic/php-parser
- symfony/finder
- symfony/filesystem
php ./transunit.php spec tests/unit