Comments (2)
Hi @adamzimmermann, I'm curious, is your twig working in your application ?
Does the linter works better if you add }
before closing the block ?
{% trans with {
'%privacy_path%': path('entity.node.canonical', {'node': 309}),
'%terms_path': path('entity.node.canonical', {'node': 308}),
'%year': year
} %}
from twig-cs-fixer.
Wow, totally missed that. My bad. 🤦🏼 Thanks for catching that.
That solved it! 🎉
from twig-cs-fixer.
Related Issues (20)
- include syntax HOT 2
- Add task for GrumPHP HOT 1
- Unexpected token "spread operator" of value "..." HOT 4
- Option to use tabs HOT 11
- Unexpected token "spread operator" of value "..." in Twig templates HOT 2
- Doesn't play well with composer-bin-plugin HOT 2
- GitHub reporter should always return relative filenames HOT 3
- Trailing comma rule HOT 11
- Indentation in hash parameters HOT 4
- [RFC] New rule to inline block definitions with a single expression HOT 2
- Remove excess spacing before multiline block `%}` HOT 4
- Make it possible to turn off `OptionalDependencies` in `StubbedEnvironment` HOT 4
- Verify that constants exist HOT 5
- Security policy questions HOT 2
- code break with comma added on multiline if statements with parentheses HOT 2
- Trailing Comma MultiLine rule breaks multiline strings HOT 1
- Identify Application version from CLI
- Allow realpath on each filenames for `checkstyle` and `junit` reports HOT 4
- Rule Idea: Using named argument for include with_context or boolean twig extension calls HOT 5
- Bug: Disabling rules for file, line, or next line not working HOT 6
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from twig-cs-fixer.