Comments (6)
Hello !
It is already a feature 😃
twigcs /path/to/views --reporter checkstyle > /path/to/report.xml
from twigcs.
I completely forgot to mention that the reporter we provided for CI is using the checkstyle format (http://checkstyle.sourceforge.net/).
I don't think JUnit would be a good fit for checkstyle results as it was made for test results.
from twigcs.
JUnit works well for other code sniffers. phpcs and eslint support it out of box. And stylelint has a third-party package for it.
from twigcs.
Oh, I didn't realize that. Well I think we can come up with something for JUnit. Would you like to do it ?
from twigcs.
I can provide a PR for this later if nobody implements this before.
from twigcs.
Here is how it's done in PHP Code sniffer.
https://github.com/squizlabs/PHP_CodeSniffer/blob/master/src/Reports/Junit.php
from twigcs.
Related Issues (20)
- Ability to exclude files (not only dirs) and/or limit sniffing to git diff HOT 1
- Please publish the new release (for symfony 6 use) HOT 2
- Problem when multiple lines HOT 7
- Invalid version value HOT 1
- Support request: How to disable verification of a code fragment? HOT 2
- Support config files with `.php` extension HOT 1
- Spacing of default values in macros HOT 2
- SEVERITY_IGNORE not working
- RegEngine is not happy with breaklines
- Unused variable should not be trigger if the child mutate a parent's variable. HOT 1
- Support for ??? "Empty Coalesce" operator HOT 1
- Variables set and used in loop should not be marked as unused HOT 2
- PHP 8.2 deprecations
- Supporting `createTemplate()`
- Configure cache file location HOT 2
- Avoid useless whitespace control
- Detect Twig depreciations
- PHP 8.3 support HOT 3
- [IMPORTANT] Future of the library HOT 3
- Release for the PHP 8.3 support HOT 2
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 twigcs.