Add optional flag to phpcbf

This commit is contained in:
Steven Zeck 2018-05-23 10:15:09 -05:00
parent 7e6e871b9a
commit 9b04e749dc
No known key found for this signature in database
GPG Key ID: 621B374B29AA814A
1 changed files with 1 additions and 0 deletions

View File

@ -24,6 +24,7 @@ module.exports = class PHPCBF extends Beautifier
cmd: "phpcbf" cmd: "phpcbf"
homepage: "https://github.com/squizlabs/PHP_CodeSniffer" homepage: "https://github.com/squizlabs/PHP_CodeSniffer"
installation: "https://github.com/squizlabs/PHP_CodeSniffer#installation" installation: "https://github.com/squizlabs/PHP_CodeSniffer#installation"
optional: true
version: { version: {
parse: (text) -> text.match(/version (\d+\.\d+\.\d+)/)[1] parse: (text) -> text.match(/version (\d+\.\d+\.\d+)/)[1]
} }