Skip to content

Add Rector rules - #129

Merged
kenjis merged 1 commit into
codeigniter4:developfrom
kenjis:update-rector.php
Apr 5, 2024
Merged

Add Rector rules#129
kenjis merged 1 commit into
codeigniter4:developfrom
kenjis:update-rector.php

Conversation

@kenjis

@kenjiskenjis commented Apr 5, 2024

Copy link
Copy Markdown
Member

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 samsonasikApril 5, 2024 02:18
@kenjiskenjis changed the title Update rector.phpAdd Rector rulesApr 5, 2024
@kenjis
kenjis merged commit 7e04dd8 into codeigniter4:developApr 5, 2024
@kenjis
kenjis deleted the update-rector.php branch April 5, 2024 08:04
Sign up for freeto 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

@kenjis@samsonasik