Skip to content

Commit

Permalink
formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
realodix committed Jul 30, 2024
1 parent f83dff0 commit 737fb92
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/Config.php
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ public static function create($ruleSet = null)

// If the rule set is a string, we try to find it in the RuleSet namespace
if (is_string($ruleSet)) {
/** @todo remove me */
// TODO: remove me
if (ucfirst($ruleSet) == 'Realodix') {
$ruleSet = 'Relax';
}
Expand Down
2 changes: 1 addition & 1 deletion src/RuleSet/Sets/Relax.php
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ public function mainRules(): array
],
],
'space_after_semicolon' => ['remove_in_empty_for_expressions' => true],
/** @todo: Add 'match' & 'parameters' when PHP 8.0+ is required */
// TODO:: Add 'match' & 'parameters' when PHP 8.0+ is required
'trailing_comma_in_multiline' => ['elements' => ['arrays', 'arguments']],
'unary_operator_spaces' => ['only_dec_inc' => true],
'whitespace_after_comma_in_array' => ['ensure_single_space' => true],
Expand Down
2 changes: 1 addition & 1 deletion tests/Fixtures/Ruleset/relax_actual.php
Original file line number Diff line number Diff line change
Expand Up @@ -497,7 +497,7 @@ public function phpdoc__phpdoc_to_comment()
$foo = true;

// ignored_tags
/** @todo This should be a PHPDoc as the tag is on "ignored_tags" list */
// TODO: This should be a PHPDoc as the tag is on "ignored_tags" list
$bar = true;

// allow_before_return_statement
Expand Down
2 changes: 1 addition & 1 deletion tests/Fixtures/Ruleset/relax_expected.php
Original file line number Diff line number Diff line change
Expand Up @@ -490,7 +490,7 @@ public function phpdoc__phpdoc_to_comment()
$foo = true;

// ignored_tags
/** @todo This should be a PHPDoc as the tag is on "ignored_tags" list */
// TODO: This should be a PHPDoc as the tag is on "ignored_tags" list
$bar = true;

// allow_before_return_statement
Expand Down

0 comments on commit 737fb92

Please sign in to comment.