File tree Expand file tree Collapse file tree 2 files changed +2
-3
lines changed
Expand file tree Collapse file tree 2 files changed +2
-3
lines changed Original file line number Diff line number Diff line change 3333 "drupal/drupal-extension" : " ^5.0" ,
3434 "enlightn/security-checker" : " ^2.0" ,
3535 "ergebnis/composer-normalize" : " ^2.11" ,
36+ "friendsoftwig/twigcs" : " ^6.5" ,
3637 "mglaman/phpstan-drupal" : " ^1.1" ,
3738 "nette/neon" : " ^3.2" ,
3839 "phpcompatibility/php-compatibility" : " ^9.3" ,
Original file line number Diff line number Diff line change 44
55use FriendsOfTwig \Twigcs \Ruleset \Official ;
66use FriendsOfTwig \Twigcs \Ruleset \RulesetInterface ;
7- use NdB \TwigCSA11Y \Ruleset ;
87
98/**
109 * Twig ruleset.
@@ -26,8 +25,7 @@ public function __construct(int $twigMajorVersion)
2625 public function getRules ()
2726 {
2827 $ official = new Official ($ this ->twigMajorVersion );
29- $ wcag = new Ruleset ($ this ->twigMajorVersion );
3028
31- return array_merge ($ official ->getRules (), $ wcag -> getRules () );
29+ return array_merge ($ official ->getRules ());
3230 }
3331}
You can’t perform that action at this time.
0 commit comments