[2.0.0-beta4] New strategy for white/grey/black lists

Created on 30 September 2024, 4 months ago

Problem/Motivation

Today, we scan filters, functions, tags & tests. Each of those have 3 lists:

  • a "white list": if a filter, function, tag or test is in this list, we do nothing, we say nothing
  • an warnings list, with messages: we print a warning
  • an errors list, the with messages: we print an error

Anything not in those 3 lists are printing a "Grey list" warning.

Proposed resolution

There is no grey list anymore.

We still have the same 3 lists for filters, functions, tags & tests, but

Because we want to discourage the use of custom Twig functions and filters. Of course, we may forgot something at the beginning and raise "unknown" errors. But we can add it to one of the 3 list later.

This issue has priority on 📌 [2.0.0-beta3] Component validator wording Active

📌 Task
Status

Active

Version

2.0

Component

UI Patterns Devel [2.x only]

Created by

🇫🇷France pdureau Paris

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

Production build 0.71.5 2024