Skip to content

Commit

Permalink
Update and rename forbiddenPublicPropertyErrors.php to forbiddenPubli…
Browse files Browse the repository at this point in the history
…cProperty.php
  • Loading branch information
tfrommen authored Oct 21, 2024
1 parent 3338978 commit b366a86
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 8 deletions.
23 changes: 23 additions & 0 deletions tests/Sniffs/Classes/data/forbiddenPublicProperty.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
<?php

class Test
{
var $var;
public $pub;
protected $prot;
private $priv;

public function __construct(public $prom)
{
}
}

class TestSniff
{
var $var;
public $pub;

public function __construct(public $prom)
{
}
}
8 changes: 0 additions & 8 deletions tests/Sniffs/Classes/data/forbiddenPublicPropertyErrors.php

This file was deleted.

0 comments on commit b366a86

Please sign in to comment.