Last active
January 29, 2017 07:31
-
-
Save f3ath/6f32259df452fbc256c77da301c30652 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env php | |
<?php | |
require_once __DIR__ . '/vendor/autoload.php'; | |
$renamedClasses = (new NamespacePrefixAdder()) | |
->addPrefix( | |
'MyPrefix', | |
Files::inDirectories(['src', 'test']) | |
); | |
(new UsageChanger()) | |
->changeUsageOf( | |
$renamedClasses, | |
Files::inDirectories(['src', 'test', 'kohana']) | |
); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment