Download the PHP package ergebnis/rector-rules without Composer
On this page you can find all versions of the php package ergebnis/rector-rules. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download ergebnis/rector-rules
More information about ergebnis/rector-rules
Files in ergebnis/rector-rules
Package rector-rules
Short Description Provides rules for rector/rector.
License MIT
Homepage https://github.com/ergebnis/rector-rules
Informations about the package rector-rules
rector-rules
This project provides a composer package with rules for rector/rector.
Installation
Run
Rules
This project provides the following rules for rector/rector:
Ergebnis\Rector\Rules\Expressions\Arrays\SortAssociativeArrayByKeyRectorErgebnis\Rector\Rules\Expressions\CallLikes\RemoveNamedArgumentForSingleParameterRectorErgebnis\Rector\Rules\Expressions\Matches\SortMatchArmsByConditionalRectorErgebnis\Rector\Rules\Faker\GeneratorPropertyFetchToMethodCallRectorErgebnis\Rector\Rules\Files\ReferenceNamespacedSymbolsRelativeToNamespacePrefixRectorErgebnis\Rector\Rules\PHPUnit\ReplaceTestAttributeWithTestPrefixRector
Expressions\Arrays
Expressions\Arrays\SortAssociativeArrayByKeyRector
Sorts associative arrays by key.
💡 Find out more in the rule documentation for Expressions\Arrays\SortAssociativeArrayByKeyRector.
Expressions\CallLikes
Expressions\CallLikes\RemoveNamedArgumentForSingleParameterRector
Removes named arguments for single-parameter function and method calls.
💡 Find out more in the rule documentation for Expressions\CallLikes\RemoveNamedArgumentForSingleParameterRector.
Expressions\Matches
Expressions\Matches\SortMatchArmsByConditionalRector
Sorts match arms by conditional when the conditionals are all integers or all strings.
💡 Find out more in the rule documentation for Expressions\Matches\SortMatchArmsByConditionalRector.
Faker
Faker\GeneratorPropertyFetchToMethodCallRector
Replaces references to deprecated properties of Faker\Generator with method calls.
💡 Find out more in the rule documentation for Faker\GeneratorPropertyFetchToMethodCallRector.
Files
Files\ReferenceNamespacedSymbolsRelativeToNamespacePrefixRector
Replaces references to namespaced symbols (classes, functions, constants) whose fully-qualified name starts with a namespace prefix so they are relative to that prefix.
💡 Find out more in the rule documentation for Files\ReferenceNamespacedSymbolsRelativeToNamespacePrefixRector.
PHPUnit
PHPUnit\ReplaceTestAttributeWithTestPrefixRector
Replaces #[Test] attributes with test method prefixes.
💡 Find out more in the rule documentation for PHPUnit\ReplaceTestAttributeWithTestPrefixRector.
Changelog
The maintainers of this project record notable changes to this project in a changelog.
Contributing
The maintainers of this project suggest following the contribution guide.
Code of Conduct
The maintainers of this project ask contributors to follow the code of conduct.
General Support Policy
The maintainers of this project provide limited support.
You can support the maintenance of this project by sponsoring @ergebnis.
PHP Version Support Policy
This project currently supports the following PHP versions:
- PHP 7.4 (has reached its end of life on November 28, 2022)
- PHP 8.0 (has reached its end of life on November 26, 2023)
- PHP 8.1 (has reached its end of life on December 31, 2025)
- PHP 8.2
- PHP 8.3
- PHP 8.4
- PHP 8.5
The maintainers of this project add support for a PHP version following its initial release and may drop support for a PHP version when it has reached its end of life.
Security Policy
This project has a security policy.
License
This project uses the MIT license.
Social
Follow @localheinz and @ergebnis on Twitter.
All versions of rector-rules with dependencies
nikic/php-parser Version ^4.17.1 || ^5.0.0
phpstan/phpstan Version ^2.0.0
rector/rector Version ^2.3.8