- Notifications
You must be signed in to change notification settings - Fork60
Rector upgrade rules for PHPUnit
License
rectorphp/rector-phpunit
Folders and files
| Name | Name | Last commit message | Last commit date | |
|---|---|---|---|---|
Repository files navigation
See availablePHPUnit rules
This package is already part ofrector/rector package, so it works out of the box.
All you need to do is install the main package, and you're good to go:
composer require rector/rector --dev
To add a set to your config, useRector\PHPUnit\Set\PHPUnitSetList class and pick one of constants:
useRector\Config\RectorConfig;useRector\PHPUnit\Set\PHPUnitSetList;return RectorConfig::configure() ->withSets([ PHPUnitSetList::PHPUNIT_90, ]);
Rector is a tool thatwe develop and share for free, so anyone can save hundreds of hours on refactoring. But not everyone has time to understand Rector and AST complexity. You have 2 ways to speed this process up:
- read a book -The Power of Automated Refactoring
- hire our experienced team toimprove your code base
Both ways support us to and improve Rector in sustainable way by learning from practical projects.
About
Rector upgrade rules for PHPUnit
Topics
Resources
License
Uh oh!
There was an error while loading.Please reload this page.
Stars
Watchers
Forks
Uh oh!
There was an error while loading.Please reload this page.