Comments (4)
Hi, is it thrown by this line ?
Twig-CS-Fixer/src/Token/Tokenizer.php
Line 149 in 5f364b9
This shouldn't occur. This was a "safety check" in case my Tokenizer did nothing during an iteration.
This means I have an issue while parsing your file.
So I will need your file (or a small reproducer if you can have) to reproduce the error.
What could help is that you try to remove every line one by one until it works, so we will know what does the error.
I assume that I may still handle badly something related to windows... (?)
Do you use the latest version ?
from twig-cs-fixer.
I deleted the contents of the problematic files, ran the command line and put the contents back. It works.
from twig-cs-fixer.
I deleted the contents of the problematic files, ran the command line and put the contents back. It works.
Too bad, I was curious how it was possible to reach this logic exception.
from twig-cs-fixer.
If you can reproduce it again, maybe the error message will be better with #200 merged
And I think i found your issue, might be fixed with #201
from twig-cs-fixer.
Related Issues (20)
- Unknown 'trans_default_domain' tag HOT 6
- Example in the docs HOT 1
- No output HOT 4
- FileNameRule not works HOT 5
- partial template HOT 7
- `PascalCase` and `snake_case` HOT 5
- Unknown 'form_theme' Tag Error with Custom Form Theme HOT 2
- RFC: Add some rule customisation HOT 9
- [RFC] Rule whish list HOT 22
- [RFC] rule `VariableNameRule` allowing variable prefix `_` HOT 2
- [DX] Aliases "check" & "fix" HOT 5
- Add phar? HOT 19
- 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
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.