Skip to content

applinskinner/phpstan-standalone-compiler

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

29 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PHAR Compiler for PHPStan (standalone)

A fork of the phpstan-compiler to re-scope the PhpParser namespace.

This allows PHPStan to be used for projects depending on PhpParser 2.x/3.x, but with the caveat that it will not work with PHPStan extensions.

Installation

git clone https://github.com/applinskinner/phpstan-standalone-compiler
cd phpstan-standalone-compiler
composer install

Compile the PHAR

php bin/compile [version] [repository]

Default version is master, and default repository is https://github.com/phpstan/phpstan.git.

The compiled PHAR will be in tmp/phpstan.phar.

About

📦 PHAR distribution compiler for PHPStan

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • PHP 96.9%
  • Shell 3.1%