Class: PHPCBF

Defined in: src/beautifiers/phpcbf.coffee
Inherits: Beautifier

Variables Summary

name =
"PHPCBF"
"http://php.net/manual/en/install.php"
executables =
[
  {
    name: "PHP",
    cmd: "php",
    homepage: "http://php.net/",
    installation: "http://php.net/manual/en/install.php",
    version: {
      parse: function(text) {
        return text.match(/PHP (\d+\.\d+\.\d+)/)[1];
      }
    }
  }, {
    name: "PHPCBF",
    cmd: "phpcbf",
    homepage: "https://github.com/squizlabs/PHP_CodeSniffer",
    installation: "https://github.com/squizlabs/PHP_CodeSniffer#installation",
    version: {
      parse: function(text) {
        return text.match(/version (\d+\.\d+\.\d+)/)[1];
      }
    },
    docker: {
      image: "unibeautify/phpcbf"
    }
  }
]
options =
{
  PHP: {
    phpcbf_path: true,
    phpcbf_version: true,
    standard: true
  }
}

Variable inherited from Beautifier

Promise name options executables _exe languages beautify logger

Instance Method Summary

Inherited Method Summary

Methods inherited from Beautifier

#isPreInstalled #loadExecutables #exe #deprecate #deprecateOptionForExecutable #tempFile #readFile #findFile #getDefaultLineEnding #which #run #setupLogger

Instance Method Details

# (void) beautify(text, language, options)

    Quickly fuzzy find classes, mixins, methods, file:

    Control the navigation frame:

    You can focus and blur the search input: