rector / custom-phpspec-to-phpunit
Rector migration rules for PHPSpec to PHPUnit
Package info
github.com/rectorphp/custom-phpspec-to-phpunit
Type:rector-extension
pkg:composer/rector/custom-phpspec-to-phpunit
0.6.2
2025-04-15 08:17 UTC
Requires
- php: >=7.4
This package is auto-updated.
Last update: 2026-02-15 10:00:09 UTC
README
Install
- runs on PHP 7.4+
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: