hultberg / phpstan-shim

This repository provides easy way to install PHPStan without the risk of conflicting dependencies.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

PHPStan shim

The prefixed .phar distribution is built using phpstan-compiler.

Usage

Install the package

composer require --dev phpstan/phpstan-shim

and use it like the original executable

vendor/bin/phpstan.phar analyse src

Check out the main repo for more options https://github.com/phpstan/phpstan.

Configuration

It is recommended that you set a tmpDir in your phpstan.neon, otherwise it uses the system temp directory.

parameters:
    tmpDir: var/cache/phpstan

About

This repository provides easy way to install PHPStan without the risk of conflicting dependencies.

License:MIT License