From 9b04e749dce04975ba966caee5ee0c38d464d3ec Mon Sep 17 00:00:00 2001 From: Steven Zeck Date: Wed, 23 May 2018 10:15:09 -0500 Subject: [PATCH] Add optional flag to phpcbf --- src/beautifiers/phpcbf.coffee | 1 + 1 file changed, 1 insertion(+) diff --git a/src/beautifiers/phpcbf.coffee b/src/beautifiers/phpcbf.coffee index 2e42bbc..73f15a2 100644 --- a/src/beautifiers/phpcbf.coffee +++ b/src/beautifiers/phpcbf.coffee @@ -24,6 +24,7 @@ module.exports = class PHPCBF extends Beautifier cmd: "phpcbf" homepage: "https://github.com/squizlabs/PHP_CodeSniffer" installation: "https://github.com/squizlabs/PHP_CodeSniffer#installation" + optional: true version: { parse: (text) -> text.match(/version (\d+\.\d+\.\d+)/)[1] }