Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove CheckAttributteArgumentClassExistsRule as should be handled by PHPStan #76

Merged
merged 1 commit into from
Aug 22, 2023
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
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.