diff --git a/tests/Sniffs/Classes/data/forbiddenPublicProperty.php b/tests/Sniffs/Classes/data/forbiddenPublicProperty.php index acb26f75..325c93a9 100644 --- a/tests/Sniffs/Classes/data/forbiddenPublicProperty.php +++ b/tests/Sniffs/Classes/data/forbiddenPublicProperty.php @@ -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) - { - } }