Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Custom operator flagged as invalid #2

Open
natelenart opened this issue Aug 29, 2013 · 2 comments
Open

Custom operator flagged as invalid #2

natelenart opened this issue Aug 29, 2013 · 2 comments

Comments

@natelenart
Copy link

I wrote a custom Twig operator in Symfony using a Twig Extension. Symfony recognizes it just fine -- my pages render and app/console twig:lint reports the file is ok. However, Syntastic flags the line as invalid since it triggers twig-lint outside of Symfony and does not know about my extension. Is there an easy way to teach twig-lint about my Symfony extensions?

@asm89
Copy link
Owner

asm89 commented Oct 29, 2013

Currently there is no easy way. Maybe we can extend the linter to have some configuration to:

  • pickup an autoloader (composer)
  • define classes of extensions

What do you think?

@asm89
Copy link
Owner

asm89 commented Aug 26, 2021

The linter was extended to not complain about undefined functions and tests. I wonder if this is still an issue?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants