Comments (3)
@matt-usurp Great!
Could you please add some tests failing in a branch¿?
After that we can add the fixes :)
Thanks!
from php-formatter.
@mmoreram Yeah sure, I don't know how you want to do this but I have a branch on my fork.
https://github.com/matt-usurp/php-formatter/tree/issue-24-grouping-whitespace
I added two failing tests that look like they will cover it. One for when removal of empty groups is enabled and one without, so looks like maybe skip empty groups isn't the issue.
from php-formatter.
Not to worry, I have applied the fix and updated the PR.
@mmoreram Can you take a look please, it would be great to get this fixed.
from php-formatter.
Related Issues (11)
- Feature request: Additional sorting functions HOT 3
- Bug: Empty lines for unused groups HOT 2
- Sorting replaces \n by \r\n HOT 3
- Add box integration HOT 2
- Format php code stored in string HOT 7
- Exclude directories? HOT 7
- Fatal Errors with latest update and PHP 7.0+ HOT 5
- Use sorting tries fixing traits in rare case
- Project status HOT 2
- Add exception if header block is not defined in formatter.yml
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 php-formatter.