Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

rectorphp/custom-phpspec-to-phpunit

Open more actions menu

Repository files navigation

Rector Rules for PhpSpec to PHPUnit migration

Install

  • runs on PHP 7.4+
composer require rector/custom-phpspec-to-phpunit --dev

Usage

  1. Register set
$rectorConfig->sets([
    \Rector\PhpSpecToPHPUnit\Set\MigrationSetList::PHPSPEC_TO_PHPUNIT,
]);
  1. Run on specific spec directory
vendor/bin/rector process spec

This package handles 99 % of changes. Explore these resources to handle edge-cases manually:

About

From PHPSpec and Prophecy to PHPUnit - use at own risk

Resources

License

Stars

Watchers

Forks

Contributors 3

  •  
  •  
  •  

Languages

Morty Proxy This is a proxified and sanitized view of the page, visit original site.