Skip to content

Create Timber-Scanner #2

@oscarotero

Description

@oscarotero

The idea is that this repository should contain only the general code to scan Twig templates and create a different package gettext/timber-scanner with the other stuff needed for timber. Advantages:

  • Timber use Twig v2 instead v3. Twig scanner could have different versions in order to support both versions. For example, twig-scanner v1 (twig 2) and twig-scanner v2 (twig 3).
  • Remove timber as a dependency of twig-scanner, so users that want to use Twig-scanner are not forced to install it.
  • We can create other Twig-related scanners, for example to support i18n extension.

@drzraf What do you think?

If you're ok, can you please create a new package? Or if you cannot, let me know and I can do it.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions