Skip to content

Commit

Permalink
Update forbiddenPublicProperty.php
Browse files Browse the repository at this point in the history
  • Loading branch information
tfrommen authored Oct 21, 2024
1 parent fe55ee2 commit 96a51e0
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions tests/Sniffs/Classes/data/forbiddenPublicProperty.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,18 +6,10 @@ class Test
public $pub;
protected $prot;
private $priv;

public function __construct(public $prom)
{
}
}

class TestSniff
{
var $var;
public $pub;

public function __construct(public $prom)
{
}
}

0 comments on commit 96a51e0

Please sign in to comment.