-
-
Notifications
You must be signed in to change notification settings - Fork 27
Add twigcs #242
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
Add twigcs #242
Conversation
|
I noticed there's a phar published on github releases, can we use it instead of composer? i.e. https://github.com/friendsoftwig/twigcs/releases/download/v3.2.2/twigcs.phar |
|
Thanks for finding this. I didn't check the releases page and it wasn't in the README. One question: How do I make it able to download a version selectively (or maybe the latest version)? Or should I just hardcode the latest release and create a new PR for an update? |
|
Use the latest stable version. I've got a daily job running that discovers new versions and sends a pull request automatically. |
|
@jakzal, I just pushed a change using 3.22 which is the latest stable. Will your daily job also be able to pick up major version updates? There is a 4.0 right now but only in beta. |
|
Thank you @hussainweb :) |
Currently, it won't. I guess I'll have to start filtering betas out. There's a need for this for another project too. |
|
Actually, BETA releases are marked as pre-releases. We're good 👍 |
Additions: * twigcs - [The missing checkstyle for twig](https://github.com/friendsoftwig/twigcs) jakzal/toolbox#242 (thanks @hussainweb) Exclusions: * composer-unused is excluded on PHP 7.2 jakzal/toolbox#241
Add the twigcs command from https://github.com/friendsoftwig/twigcs