Skip to content

Commit

Permalink
Merge pull request #2141 from Glavin001/phpcbf-patch1
Browse files Browse the repository at this point in the history
Require path in phpcbf
  • Loading branch information
stevenzeck authored May 28, 2018
2 parents 36f00fe + 9b04e74 commit 7f9d838
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/beautifiers/phpcbf.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ Requires https://github.com/FriendsOfPHP/phpcbf

"use strict"
Beautifier = require('./beautifier')
path = require('path')

module.exports = class PHPCBF extends Beautifier
name: "PHPCBF"
Expand All @@ -23,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]
}
Expand Down

0 comments on commit 7f9d838

Please sign in to comment.