From c2d44053d578fb5e20c9446ad3dbc9afb9d7ab9a Mon Sep 17 00:00:00 2001 From: Tomas Votruba Date: Wed, 18 Dec 2024 17:11:38 +0100 Subject: [PATCH] show only once --- README.md | 43 ------------------------------------------- 1 file changed, 43 deletions(-) diff --git a/README.md b/README.md index 2d061540..b5e06082 100644 --- a/README.md +++ b/README.md @@ -846,49 +846,6 @@ final class SomeException extends Exception
-### RequireInvokableControllerRule - -Use invokable controller with `__invoke()` method instead of named action method - -```yaml -rules: - - Symplify\PHPStanRules\Rules\Symfony\RequireInvokableControllerRule -``` - -```php -use Symfony\Bundle\FrameworkBundle\Controller\AbstractController; -use Symfony\Component\Routing\Annotation\Route; - -final class SomeController extends AbstractController -{ - #[Route()] - public function someMethod() - { - } -} -``` - -:x: - -
- -```php -use Symfony\Bundle\FrameworkBundle\Controller\AbstractController; -use Symfony\Component\Routing\Annotation\Route; - -final class SomeController extends AbstractController -{ - #[Route()] - public function __invoke() - { - } -} -``` - -:+1: - -
- ### RequireUniqueEnumConstantRule Enum constants "%s" are duplicated. Make them unique instead