Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 0 additions & 11 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -413,17 +413,6 @@ abstract class AbstractClass

<br>

### NoProtectedClassStmtRule

Avoid protected class stmts as they yield unexpected behavior. Use clear interface contract instead

```yaml
rules:
- Symplify\PHPStanRules\Rules\Explicit\NoProtectedClassStmtRule
```

<br>

### ForbiddenArrayMethodCallRule

Array method calls [$this, "method"] are not allowed. Use explicit method instead to help PhpStorm, PHPStan and Rector understand your code
Expand Down
10 changes: 0 additions & 10 deletions src/Enum/MethodName.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,14 +15,4 @@ final class MethodName
* @var string
*/
public const CONSTRUCTOR = '__construct';

/**
* @var string
*/
public const SET_UP = 'setUp';

/**
* @var string
*/
public const TEAR_DOWN = 'tearDown';
}
5 changes: 0 additions & 5 deletions src/Enum/RuleIdentifier.php
Original file line number Diff line number Diff line change
Expand Up @@ -166,11 +166,6 @@ final class RuleIdentifier
*/
public const NO_JUST_PROPERTY_ASSIGN = 'symplify.noJustPropertyAssign';

/**
* @var string
*/
public const NO_PROTECTED_CLASS_STMT = 'symplify.noProtectedClassStmt';

/**
* @var string
*/
Expand Down
110 changes: 0 additions & 110 deletions src/Rules/Explicit/NoProtectedClassStmtRule.php

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

Loading