PHPackages                             basster/rector-phpunit - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Testing &amp; Quality](/categories/testing)
4. /
5. basster/rector-phpunit

ActiveRector-extension[Testing &amp; Quality](/categories/testing)

basster/rector-phpunit
======================

Rector upgrades rules for PHPUnit

1.1.0(3y ago)11.3k[2 issues](https://github.com/Basster/rector-phpunit/issues)MITPHPPHP &gt;=8.1

Since Jul 8Pushed 3y ago1 watchersCompare

[ Source](https://github.com/Basster/rector-phpunit)[ Packagist](https://packagist.org/packages/basster/rector-phpunit)[ RSS](/packages/basster-rector-phpunit/feed)WikiDiscussions main Synced 1mo ago

READMEChangelogDependencies (15)Versions (4)Used By (0)

Additional Rector Rules for PHPUnit
===================================

[](#additional-rector-rules-for-phpunit)

See available [PHPUnit rules](/docs/rector_rules_overview.md)

Install
-------

[](#install)

```
composer require --dev basster/rector-phpunit
```

###  Health Score

24

—

LowBetter than 32% of packages

Maintenance0

Infrequent updates — may be unmaintained

Popularity16

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity58

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 90% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~0 days

Total

2

Last Release

1411d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/1265783?v=4)[Ole Rößner](/maintainers/Basster)[@Basster](https://github.com/Basster)

---

Top Contributors

[![Basster](https://avatars.githubusercontent.com/u/1265783?v=4)](https://github.com/Basster "Basster (9 commits)")[![actions-user](https://avatars.githubusercontent.com/u/65916846?v=4)](https://github.com/actions-user "actions-user (1 commits)")

---

Tags

astinstant-upgradesphpphpunitrectorrefactoring

###  Code Quality

TestsPHPUnit

Static AnalysisPHPStan

Code StyleECS

Type Coverage Yes

### Embed Badge

![Health badge](/badges/basster-rector-phpunit/health.svg)

```
[![Health](https://phpackages.com/badges/basster-rector-phpunit/health.svg)](https://phpackages.com/packages/basster-rector-phpunit)
```

###  Alternatives

[liip/test-fixtures-bundle

This bundles enables efficient loading of Doctrine fixtures in functional test-cases for Symfony applications

1798.3M42](/packages/liip-test-fixtures-bundle)[lchrusciel/api-test-case

Perfect PHPUnit TestCase for JSON/XML API TDD with Symfony.

4115.5M63](/packages/lchrusciel-api-test-case)[zenstruck/mailer-test

Alternative, opinionated helpers for testing emails sent with symfony/mailer.

46671.1k3](/packages/zenstruck-mailer-test)[pierstoval/smoke-testing

Smoke testing automator for Symfony applications

4032.6k](/packages/pierstoval-smoke-testing)[trappar/alice-generator-bundle

Symfony bundle for generating Alice fixtures from Doctrine entities

45169.6k1](/packages/trappar-alice-generator-bundle)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
