runroom/rector-prophecy-to-mocking

Rector migration rules for Prophecy to Mocking

Installs: 1 001

Dependents: 1

Suggesters: 0

Security: 0

Stars: 1

Watchers: 2

Forks: 0

Open Issues: 0

Type:rector-extension

0.1.0 2024-10-24 07:32 UTC

This package is auto-updated.

Last update: 2025-07-24 09:47:54 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: