The Wayback Machine - https://web.archive.org/web/20201220230320/https://github.com/antlr/antlr-php-runtime-phpstan
Skip to content
master
Go to file
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
src
 
 
 
 
 
 
 
 
 
 
 
 

README.md

ANTLR4 Extension for PHPStan

Travis CI Latest Stable Version License

Static analysis for ANTLR4 PHP Runtime.

Features

This extension provides correct return type for context's sub-rule getters.

Install

Using Composer:

composer require --dev antlr/antlr-php-runtime-phpstan

Register Plugin

If you also install phpstan/extension-installer then you're all set!

Manual installation

If you don't want to use phpstan/extension-installer, include extension.neon in your project's PHPStan config:

includes:
    - vendor/antlr/antlr-php-runtime-phpstan/extension.neon

Testing

To run all unit tests, use the locally installed PHPUnit:

./vendor/bin/phpunit

About

Static analysis for ANTLR4 PHP Runtime.

Topics

Resources

License

Packages

No packages published

Languages

You can’t perform that action at this time.