Skip to content

Commit

Permalink
test: lowercase_static_reference
Browse files Browse the repository at this point in the history
  • Loading branch information
realodix committed Aug 3, 2024
1 parent b2db9a8 commit 84c1829
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
6 changes: 6 additions & 0 deletions tests/Fixtures/Ruleset/relax_actual.php
Original file line number Diff line number Diff line change
Expand Up @@ -108,6 +108,12 @@ public function casing__lowercase_keywords()
RETURN True;
}

public function casing__lowercase_static_reference()
{
STATIC::baz2();
true instanceof SELF;
}

public function casing__magic_constant_casing()
{
echo __dir__;
Expand Down
6 changes: 6 additions & 0 deletions tests/Fixtures/Ruleset/relax_expected.php
Original file line number Diff line number Diff line change
Expand Up @@ -108,6 +108,12 @@ public function casing__lowercase_keywords()
return true;
}

public function casing__lowercase_static_reference()
{
static::baz2();
true instanceof self;
}

public function casing__magic_constant_casing()
{
echo __DIR__;
Expand Down

0 comments on commit 84c1829

Please sign in to comment.