Skip to content

Conversation

kenjis
Copy link
Member

@kenjis kenjis commented Apr 5, 2024

Description
Adds rules from the main repository's rector.php.

  • BooleanInIfConditionRuleFixerRector
  • SingleInArrayToCompareRector
  • VersionCompareFuncCallToConstantRector
  • ExplicitBoolCompareRector

See https://github.com/rectorphp/rector/blob/main/docs/rector_rules_overview.md

Checklist:

  • Securely signed commits
  • [] Component(s) with PHPDoc blocks, only if necessary or adds value
  • [] Unit testing, with >80% coverage
  • [] User guide updated
  • Conforms to style guide

@kenjis kenjis requested a review from samsonasik April 5, 2024 02:18
@kenjis kenjis changed the title Update rector.php Add Rector rules Apr 5, 2024
@kenjis kenjis merged commit 7e04dd8 into codeigniter4:develop Apr 5, 2024
@kenjis kenjis deleted the update-rector.php branch April 5, 2024 08:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants