PHPackages                             rasuvaeff/rector-datetime-immutable - 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. rasuvaeff/rector-datetime-immutable

ActiveLibrary

rasuvaeff/rector-datetime-immutable
===================================

Rector rules that migrate DateTime to DateTimeImmutable and auto-fix lost mutations whose return value is ignored

v1.0.0(2d ago)01↓100%BSD-3-ClausePHP 8.3 - 8.5

Since Jul 15Compare

[ Source](https://github.com/rasuvaeff/rector-datetime-immutable)[ Packagist](https://packagist.org/packages/rasuvaeff/rector-datetime-immutable)[ Docs](https://github.com/rasuvaeff/rector-datetime-immutable)[ RSS](/packages/rasuvaeff-rector-datetime-immutable/feed)WikiDiscussions Synced today

READMEChangelogDependencies (11)Versions (3)Used By (0)

### README not available

The README for this package hasn't been synced yet. View it on [GitHub](https://github.com/rasuvaeff/rector-datetime-immutable).

###  Release Activity

Cadence

Unknown

Total

1

Last Release

2d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/b0812d5572a7041dfe36e222d295b2e6dc55833a605350fcde58a51a5965ed30?d=identicon)[rasuvaeff](/maintainers/rasuvaeff)

---

Tags

refactoringdatetimerectorimmutabilityrector-ruledatetime-immutable

###  Code Quality

Static AnalysisPsalm

Code StylePHP CS Fixer

Type Coverage Yes

### Embed Badge

![Health badge](/badges/rasuvaeff-rector-datetime-immutable/health.svg)

```
[![Health](https://phpackages.com/badges/rasuvaeff-rector-datetime-immutable/health.svg)](https://phpackages.com/packages/rasuvaeff-rector-datetime-immutable)
```

###  Alternatives

[driftingly/rector-laravel

Rector upgrades rules for Laravel Framework

1.2k15.4M780](/packages/driftingly-rector-laravel)[ssch/typo3-rector

Instant fixes for your TYPO3 PHP code by using Rector.

2603.2M439](/packages/ssch-typo3-rector)[tempest/framework

The PHP framework that gets out of your way.

2.2k34.4k16](/packages/tempest-framework)[rector/rector-src

Instant Upgrade and Automated Refactoring of any PHP code

136406.3k14](/packages/rector-rector-src)[mrpunyapal/rector-pest

Rector upgrade rules for Pest - refactoring and best practices for Pest testing framework

6977.7k63](/packages/mrpunyapal-rector-pest)[ahmed-bhs/doctrine-doctor

Runtime analysis tool for Doctrine ORM integrated into Symfony Web Profiler. Unlike static linters, it analyzes actual query execution at runtime to detect performance bottlenecks, security vulnerabilities, and best practice violations during development with real execution context and data.

11811.1k](/packages/ahmed-bhs-doctrine-doctor)

PHPackages © 2026

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