Skip to content

Commit

Permalink
Enable phpdoc_list_type fixer
Browse files Browse the repository at this point in the history
  • Loading branch information
paulbalandan committed Feb 5, 2024
1 parent 6a82cf8 commit a1aa05d
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/Ruleset/AbstractRuleset.php
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ abstract class AbstractRuleset implements RulesetInterface
/**
* Rules for the ruleset.
*
* @var array<string, array<string, array<string>|bool|string>|bool>
* @var array<string, array<string, bool|list<string>|string>|bool>
*/
protected array $rules = [];

Expand Down
1 change: 1 addition & 0 deletions src/Ruleset/Nexus80.php
Original file line number Diff line number Diff line change
Expand Up @@ -467,6 +467,7 @@ public function __construct()
'method' => 'multi',
'property' => 'multi',
],
'phpdoc_list_type' => true,
'phpdoc_no_access' => true,
'phpdoc_no_alias_tag' => [
'replacements' => [
Expand Down
1 change: 1 addition & 0 deletions src/Ruleset/Nexus81.php
Original file line number Diff line number Diff line change
Expand Up @@ -467,6 +467,7 @@ public function __construct()
'method' => 'multi',
'property' => 'multi',
],
'phpdoc_list_type' => true,
'phpdoc_no_access' => true,
'phpdoc_no_alias_tag' => [
'replacements' => [
Expand Down
1 change: 1 addition & 0 deletions src/Ruleset/Nexus82.php
Original file line number Diff line number Diff line change
Expand Up @@ -467,6 +467,7 @@ public function __construct()
'method' => 'multi',
'property' => 'multi',
],
'phpdoc_list_type' => true,
'phpdoc_no_access' => true,
'phpdoc_no_alias_tag' => [
'replacements' => [
Expand Down
2 changes: 1 addition & 1 deletion src/Ruleset/RulesetInterface.php
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ public function getName(): string;
/**
* Defined rules for this ruleset.
*
* @return array<string, array<string, array<string>|bool|string>|bool>
* @return array<string, array<string, bool|list<string>|string>|bool>
*/
public function getRules(): array;

Expand Down

0 comments on commit a1aa05d

Please sign in to comment.