Skip to content

Commit

Permalink
test: no_singleline_whitespace_before_semicolons
Browse files Browse the repository at this point in the history
  • Loading branch information
realodix committed Jul 30, 2024
1 parent 57c0ac8 commit f83dff0
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
5 changes: 5 additions & 0 deletions tests/Fixtures/Ruleset/relax_actual.php
Original file line number Diff line number Diff line change
Expand Up @@ -578,6 +578,11 @@ public function semicolon__no_empty_statement()
}
}

public function semicolon__no_singleline_whitespace_before_semicolons()
{
$this->foo() ;
}

public function string_notation__heredoc_to_nowdoc()
{
$a = <<<"TEST"
Expand Down
5 changes: 5 additions & 0 deletions tests/Fixtures/Ruleset/relax_expected.php
Original file line number Diff line number Diff line change
Expand Up @@ -564,6 +564,11 @@ public function semicolon__no_empty_statement()
}
}

public function semicolon__no_singleline_whitespace_before_semicolons()
{
$this->foo();
}

public function string_notation__heredoc_to_nowdoc()
{
$a = <<<'TEST'
Expand Down

0 comments on commit f83dff0

Please sign in to comment.