rector / custom-phpspec-to-phpunit
Rector migration rules for PHPSpec to PHPUnit
Installs: 13 597
Dependents: 0
Suggesters: 0
Security: 0
Stars: 5
Watchers: 2
Forks: 3
Open Issues: 0
Type:rector-extension
Requires
- php: >=7.4
- dev-main
- 0.6.2
- 0.6.1
- 0.6.0
- 0.5.0
- 0.4.13
- 0.4.12
- 0.4.11
- 0.4.10
- 0.4.9
- 0.4.8
- 0.4.7
- 0.4.6
- 0.4.5
- 0.4.4
- 0.4.3
- 0.4.2
- 0.4.1
- 0.4.0
- 0.3.14
- 0.3.13
- 0.3.12
- 0.3.11
- 0.3.10
- 0.3.9
- 0.3.8
- 0.3.7
- 0.3.6
- 0.3.5
- 0.3.4
- 0.3.3
- 0.3.2
- 0.3.1
- 0.3.0
- 0.2.2
- 0.2.1
- 0.2.0
- 0.1.9
- 0.1.8
- 0.1.7
- 0.1.6
- 0.1.5
- 0.1.4
- 0.1.3
- 0.1.2
- 0.1.1
- 0.1.0
- dev-tv-sole-setup
- dev-tv-cleanup-post-set
- dev-tv-add-cd
- dev-tv-setup
This package is auto-updated.
Last update: 2025-04-15 08:17:39 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: