runroom/rector-prophecy-to-mocking

Rector migration rules for Prophecy to Mocking

0.1.0 2024-10-24 07:32 UTC

This package is auto-updated.

Last update: 2024-10-24 08:11:32 UTC


README

Install

composer require runroom/rector-prophecy-to-mocking --dev

Usage

  1. Register set
$rectorConfig->sets([
    MigratePhpUnitSetList::PHPUNIT,
]);
  1. Run on specific spec directory
vendor/bin/rector process tests

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