Skip to content

Commit

Permalink
Remove CheckAttributteArgumentClassExistsRule as should be handled by…
Browse files Browse the repository at this point in the history
… PHPStan
  • Loading branch information
TomasVotruba committed Aug 22, 2023
1 parent 4304774 commit 80138f9
Show file tree
Hide file tree
Showing 9 changed files with 1 addition and 238 deletions.
1 change: 0 additions & 1 deletion config/static-rules.neon
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ rules:
# domain
- Symplify\PHPStanRules\Rules\Domain\RequireExceptionNamespaceRule
- Symplify\PHPStanRules\Rules\Domain\RequireAttributeNamespaceRule
- Symplify\PHPStanRules\Rules\CheckAttributteArgumentClassExistsRule
- Symplify\PHPStanRules\Rules\Enum\RequireUniqueEnumConstantRule
- Symplify\PHPStanRules\Rules\ForbiddenParamTypeRemovalRule
- Symplify\PHPStanRules\Rules\PreventParentMethodVisibilityOverrideRule
Expand Down
30 changes: 1 addition & 29 deletions docs/rules_overview.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# 67 Rules Overview
# 66 Rules Overview

## AnnotateRegexClassConstWithRegexLinkRule

Expand Down Expand Up @@ -65,34 +65,6 @@ class SomeClass

<br>

## CheckAttributteArgumentClassExistsRule

Class was not found

- class: [`Symplify\PHPStanRules\Rules\CheckAttributteArgumentClassExistsRule`](../src/Rules/CheckAttributteArgumentClassExistsRule.php)

```php
#[SomeAttribute(firstName: 'MissingClass::class')]
class SomeClass
{
}
```

:x:

<br>

```php
#[SomeAttribute(firstName: ExistingClass::class)]
class SomeClass
{
}
```

:+1:

<br>

## CheckClassNamespaceFollowPsr4Rule

Class like namespace "%s" does not follow PSR-4 configuration in `composer.json`
Expand Down
107 changes: 0 additions & 107 deletions src/Rules/CheckAttributteArgumentClassExistsRule.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.

0 comments on commit 80138f9

Please sign in to comment.