pt1602 / pt1602twig-ruleset
A custom twigcs ruleset.
Installs: 5 843
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 2
Forks: 0
Open Issues: 0
Requires
- friendsoftwig/twigcs: ^6.0
Requires (Dev)
- k10r/codestyle: ^3.1
- phpstan/phpstan: ^1.10
- phpstan/phpstan-phpunit: ^1.3
This package is auto-updated.
Last update: 2025-03-22 14:54:16 UTC
README
PT1602TwigRuleset
This is a custom ruleset for TwigCs which contains the LowerCamelCaseVariable from Rareloop TwigCS Ruleset and the following default checks:
- ForbiddenFunctions
- RegEngineRule
- TrailingSpace
Installation
composer require pt1602/pt1602twig-ruleset
Usage
twigcs path/to/views --ruleset \\PT1602\\PT1602TwigRuleset\\PT1602TwigRuleset