Skip to content

Commit

Permalink
Merge pull request #145 from hks-systeme/feature/no-space-around-doub…
Browse files Browse the repository at this point in the history
…le-colon

Enhancement: Enable `no_space_around_double_colon` fixer
  • Loading branch information
localheinz committed Oct 6, 2021
2 parents 428c656 + 7252341 commit b8d2dbb
Show file tree
Hide file tree
Showing 11 changed files with 12 additions and 10 deletions.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Expand Up @@ -16,6 +16,7 @@ For a full diff see [`2.2.0...main`][2.2.0...main].
* Enabled and configured `empty_loop_condition` fixer ([#142]), by [@localheinz]
* Enabled `integer_literal_case` fixer ([#143]), by [@localheinz]
* Enabled `modernize_strpos` fixer for `Php80` rule set ([#144]), by [@localheinz]
* Enabled `no_space_around_double_colon` fixer ([#145]), by [@localheinz]

### Fixed

Expand Down Expand Up @@ -148,6 +149,7 @@ For a full diff see [`3a0205c...1.0.0`][3a0205c...1.0.0].
[#142]: https://github.com/hks-systeme/php-cs-fixer-config/pull/142
[#143]: https://github.com/hks-systeme/php-cs-fixer-config/pull/143
[#144]: https://github.com/hks-systeme/php-cs-fixer-config/pull/144
[#145]: https://github.com/hks-systeme/php-cs-fixer-config/pull/145

[@dependabot]: https://github.com/apps/dependabot
[@localheinz]: https://github.com/localheinz
2 changes: 1 addition & 1 deletion src/RuleSet/Php71.php
Expand Up @@ -265,7 +265,7 @@ final class Php71 extends AbstractRuleSet implements ExplicitRuleSet
'no_php4_constructor' => false,
'no_short_bool_cast' => true,
'no_singleline_whitespace_before_semicolons' => true,
'no_space_around_double_colon' => false,
'no_space_around_double_colon' => true,
'no_spaces_after_function_name' => true,
'no_spaces_around_offset' => true,
'no_spaces_inside_parenthesis' => true,
Expand Down
2 changes: 1 addition & 1 deletion src/RuleSet/Php72.php
Expand Up @@ -265,7 +265,7 @@ final class Php72 extends AbstractRuleSet implements ExplicitRuleSet
'no_php4_constructor' => false,
'no_short_bool_cast' => true,
'no_singleline_whitespace_before_semicolons' => true,
'no_space_around_double_colon' => false,
'no_space_around_double_colon' => true,
'no_spaces_after_function_name' => true,
'no_spaces_around_offset' => true,
'no_spaces_inside_parenthesis' => true,
Expand Down
2 changes: 1 addition & 1 deletion src/RuleSet/Php73.php
Expand Up @@ -265,7 +265,7 @@ final class Php73 extends AbstractRuleSet implements ExplicitRuleSet
'no_php4_constructor' => false,
'no_short_bool_cast' => true,
'no_singleline_whitespace_before_semicolons' => true,
'no_space_around_double_colon' => false,
'no_space_around_double_colon' => true,
'no_spaces_after_function_name' => true,
'no_spaces_around_offset' => true,
'no_spaces_inside_parenthesis' => true,
Expand Down
2 changes: 1 addition & 1 deletion src/RuleSet/Php74.php
Expand Up @@ -265,7 +265,7 @@ final class Php74 extends AbstractRuleSet implements ExplicitRuleSet
'no_php4_constructor' => false,
'no_short_bool_cast' => true,
'no_singleline_whitespace_before_semicolons' => true,
'no_space_around_double_colon' => false,
'no_space_around_double_colon' => true,
'no_spaces_after_function_name' => true,
'no_spaces_around_offset' => true,
'no_spaces_inside_parenthesis' => true,
Expand Down
2 changes: 1 addition & 1 deletion src/RuleSet/Php80.php
Expand Up @@ -265,7 +265,7 @@ final class Php80 extends AbstractRuleSet implements ExplicitRuleSet
'no_php4_constructor' => false,
'no_short_bool_cast' => true,
'no_singleline_whitespace_before_semicolons' => true,
'no_space_around_double_colon' => false,
'no_space_around_double_colon' => true,
'no_spaces_after_function_name' => true,
'no_spaces_around_offset' => true,
'no_spaces_inside_parenthesis' => true,
Expand Down
2 changes: 1 addition & 1 deletion test/Unit/RuleSet/Php71Test.php
Expand Up @@ -271,7 +271,7 @@ final class Php71Test extends ExplicitRuleSetTestCase
'no_php4_constructor' => false,
'no_short_bool_cast' => true,
'no_singleline_whitespace_before_semicolons' => true,
'no_space_around_double_colon' => false,
'no_space_around_double_colon' => true,
'no_spaces_after_function_name' => true,
'no_spaces_around_offset' => true,
'no_spaces_inside_parenthesis' => true,
Expand Down
2 changes: 1 addition & 1 deletion test/Unit/RuleSet/Php72Test.php
Expand Up @@ -271,7 +271,7 @@ final class Php72Test extends ExplicitRuleSetTestCase
'no_php4_constructor' => false,
'no_short_bool_cast' => true,
'no_singleline_whitespace_before_semicolons' => true,
'no_space_around_double_colon' => false,
'no_space_around_double_colon' => true,
'no_spaces_after_function_name' => true,
'no_spaces_around_offset' => true,
'no_spaces_inside_parenthesis' => true,
Expand Down
2 changes: 1 addition & 1 deletion test/Unit/RuleSet/Php73Test.php
Expand Up @@ -271,7 +271,7 @@ final class Php73Test extends ExplicitRuleSetTestCase
'no_php4_constructor' => false,
'no_short_bool_cast' => true,
'no_singleline_whitespace_before_semicolons' => true,
'no_space_around_double_colon' => false,
'no_space_around_double_colon' => true,
'no_spaces_after_function_name' => true,
'no_spaces_around_offset' => true,
'no_spaces_inside_parenthesis' => true,
Expand Down
2 changes: 1 addition & 1 deletion test/Unit/RuleSet/Php74Test.php
Expand Up @@ -271,7 +271,7 @@ final class Php74Test extends ExplicitRuleSetTestCase
'no_php4_constructor' => false,
'no_short_bool_cast' => true,
'no_singleline_whitespace_before_semicolons' => true,
'no_space_around_double_colon' => false,
'no_space_around_double_colon' => true,
'no_spaces_after_function_name' => true,
'no_spaces_around_offset' => true,
'no_spaces_inside_parenthesis' => true,
Expand Down
2 changes: 1 addition & 1 deletion test/Unit/RuleSet/Php80Test.php
Expand Up @@ -271,7 +271,7 @@ final class Php80Test extends ExplicitRuleSetTestCase
'no_php4_constructor' => false,
'no_short_bool_cast' => true,
'no_singleline_whitespace_before_semicolons' => true,
'no_space_around_double_colon' => false,
'no_space_around_double_colon' => true,
'no_spaces_after_function_name' => true,
'no_spaces_around_offset' => true,
'no_spaces_inside_parenthesis' => true,
Expand Down

0 comments on commit b8d2dbb

Please sign in to comment.