Download the PHP package marcelsud/diffcs without Composer
On this page you can find all versions of the php package marcelsud/diffcs. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download marcelsud/diffcs
More information about marcelsud/diffcs
Files in marcelsud/diffcs
Package diffcs
Short Description Run PHP Code Sniffer in pull requests
License BSD Style
Homepage https://github.com/marcelsud/diffcs
Informations about the package diffcs
DiffCS
A tool to perform code sniffer checks of your pull requests on Github.
How To Install
You can grab a copy of marcelsud/diffcs in either of the following ways:
As a phar (recommended)
You can simply download a pre-compiled and ready-to-use version as a Phar to any directory. Simply download the latest diffcs.phar file from our releases page:
Optionally you can install it globally by adding it to your bin folder:
Via composer:
Via docker:
How To Use
For public repositories:
Run the following command: diffcs <source>/<project> <pull request id>
, where:
<source>
is the corporation/user behind the project;<project>
is the project name on Github;<pull request id>
is the pull request id, created by Github.
Example:
For private repositories:
Authenticate with username and password
Execute following command: diffcs <source>/<project> <pull request id> --github-user=<github username>
, where:
<github username>
is your Github username.- the password will be asked afterwards and is only required check private repositories.
Example:
Authenticate with Github token
Execute following command: diffcs <source>/<project> <pull request id> --github-token=<github token>
, where:
- you can generate the
<github token>
in your Github account settings).
Example:
All versions of diffcs with dependencies
league/flysystem Version 0.5.*
symfony/console Version v2.6.3