pt1602 / pt1602twig-ruleset
A custom twigcs ruleset.
0.0.3
2024-02-22 12:29 UTC
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: 2026-02-22 16:48:40 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