diff --git a/tests/Fixtures/Ruleset/relax_actual.php b/tests/Fixtures/Ruleset/relax_actual.php index 8e8c2a1..9fd21d6 100644 --- a/tests/Fixtures/Ruleset/relax_actual.php +++ b/tests/Fixtures/Ruleset/relax_actual.php @@ -14,6 +14,7 @@ class relax_actual extends Config private bool $type_declaration_spaces; var $visibility_required; // visibility_required + static protected $visibility_required2; // visibility_required // type_declaration_spaces @@ -846,5 +847,21 @@ public function semicolon__space_after_semicolon() } } +class class_attributes_separation +{ + use trait_a; + + + use trait_b; + private $a; + private $b; + /** @var int */ + const SECOND = 1; + /** @var int */ + const MINUTE = 60; + protected function foo() {} + protected function bar() {} +} + // no_closing_tag ?> diff --git a/tests/Fixtures/Ruleset/relax_expected.php b/tests/Fixtures/Ruleset/relax_expected.php index cbd09aa..bac48ff 100644 --- a/tests/Fixtures/Ruleset/relax_expected.php +++ b/tests/Fixtures/Ruleset/relax_expected.php @@ -821,4 +821,24 @@ public function semicolon__space_after_semicolon() } } +class class_attributes_separation +{ + use trait_a; + use trait_b; + + private $a; + + private $b; + + /** @var int */ + const SECOND = 1; + + /** @var int */ + const MINUTE = 60; + + protected function foo() {} + + protected function bar() {} +} + // no_closing_tag