rector / custom-phpspec-to-phpunit
Rector migration rules for PHPSpec to PHPUnit
Installs: 4 655
Dependents: 0
Suggesters: 0
Security: 0
Stars: 2
Watchers: 2
Forks: 1
Open Issues: 0
Type:rector-extension
Requires
- php: >=7.2
This package is auto-updated.
Last update: 2024-10-24 11:54:07 UTC
README
Install
- runs on PHP 7.2+
composer require rector/custom-phpspec-to-phpunit --dev
Usage
- Register set
$rectorConfig->sets([ \Rector\PhpSpecToPHPUnit\Set\MigrationSetList::PHPSPEC_TO_PHPUNIT, ]);
- Run on specific spec directory
vendor/bin/rector process spec
This package handles 99 % of changes. Explore these resources to handle edge-cases manually: