Download the PHP package appsinet/arc-phpstan without Composer
On this page you can find all versions of the php package appsinet/arc-phpstan. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download appsinet/arc-phpstan
More information about appsinet/arc-phpstan
Files in appsinet/arc-phpstan
Package arc-phpstan
Short Description PHPStan linter for Phabricator's Arcanist
License Apache-2.0
Homepage https://github.com/appsinet/arc-phpstan
Informations about the package arc-phpstan
Based on material-foundation/arc-tslint and some improvements made in sascha-egerer/arc-phpstan. Provides basic support for arc lint
to execute phpstan
.
arc-phpstan
Use phpstan to lint your PHP source code with
Phabricator's arc
command line tool.
Features
phpstan generates warning messages.
Example output:
Installation
phpstan is required. You can follow the official instructions to install and put it on your $PATH, or you can run composer install
and point the bin
option to vendor/bin/phpstan
, as in the example below.
Project-specific installation
You can add this repository as a git submodule. Add a path to the submodule in your .arcconfig
like so:
Global installation
arcanist
can load modules from an absolute path. But it also searches for modules in a directory
up one level from itself.
You can clone this repository to the same directory where arcanist
and libphutil
are located.
In the end it will look like this:
Your .arcconfig
would look like
Setup
To use the linter you must register it in your .arclint
file, as in this example
License
Licensed under the Apache 2.0 license. See LICENSE for details.