Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Rector rules #129

Merged
merged 1 commit into from
Apr 5, 2024
Merged

Add Rector rules #129

merged 1 commit into from
Apr 5, 2024

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
9 checks passed
@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