https://github.com/vix-4800/rector-rules
Custom Rector rules
https://github.com/vix-4800/rector-rules
php rector rector-extension
Last synced: 2 days ago
JSON representation
Custom Rector rules
- Host: GitHub
- URL: https://github.com/vix-4800/rector-rules
- Owner: vix-4800
- License: mit
- Created: 2026-05-18T12:26:13.000Z (about 1 month ago)
- Default Branch: main
- Last Pushed: 2026-06-23T05:37:52.000Z (5 days ago)
- Last Synced: 2026-06-23T07:21:39.615Z (5 days ago)
- Topics: php, rector, rector-extension
- Language: PHP
- Homepage: https://packagist.org/packages/vix/rector-rules
- Size: 112 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Rector Rules
Custom Rector rules package.
[](https://github.com/vix-4800/rector-rules/actions/workflows/tests.yml)
[](https://github.com/vix-4800/rector-rules/actions/workflows/phpstan.yml)
[](https://www.php.net/)
[](https://opensource.org/licenses/MIT)
- [Rector Rules](#rector-rules)
- [Install](#install)
- [Usage](#usage)
- [Rules](#rules)
## Install
```bash
composer require --dev vix/rector-rules
```
## Usage
```php
withImportNames()
->withPaths([__DIR__ . '/src'])
->withSets([__DIR__ . '/vendor/vix/rector-rules/config/rules.php']);
```
## Rules
See [docs/RULES.md](docs/RULES.md) for detailed descriptions, before/after examples, and configuration notes for every rule in this package.