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 13897a1 commit 997d30d
Show file tree
Hide file tree
Showing 9 changed files with 0 additions and 237 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
28 changes: 0 additions & 28 deletions docs/rules_overview.md
Original file line number Diff line number Diff line change
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 997d30d

Please sign in to comment.