Skip to content
PHPStan's source code. This is where development happens. Check for the distribution repository.
Branch: master
Clone or download
Type Name Latest commit message Commit time
Failed to load latest commit information.
bin Add @Internal phpDoc above generated RuleError classes Nov 11, 2019
compiler Compiler tests - analyse tests directory too Nov 10, 2019
conf TooWideMethodReturnTypehint has actually nothing to do with PHP 7.4 Nov 21, 2019
src NeonAdapter - increase cache key because of new Nette version Nov 21, 2019
stubs Unsupported bounds in @template tags at least lead to TemplateMixedType Nov 21, 2019
tests InvalidPhpDocTagValueRule - more understandable parser error messages Nov 21, 2019
tmp Build requires cache directory to exist Oct 13, 2018
.editorconfig Fix glob patterns in .editorconfig Sep 24, 2017
.gitignore PHAR compiler inside phpstan/phpstan-src Nov 4, 2019
.travis.yml Compiler tests - analyse tests directory too Nov 10, 2019 Updated backers Jul 2, 2019 Code of Conduct Jul 17, 2016
LICENSE License copyright - use only starting year, the current year is not n… Jan 4, 2018 Nicer Markdown Nov 3, 2019
build.xml Build PHPStan itself on level 8 Nov 4, 2019
composer.json Stick to conventional semver as both are identical in this context Nov 12, 2019
phpcs.xml PHAR compiler inside phpstan/phpstan-src Nov 4, 2019
phpstan-baseline.neon Modernized remaining rules Nov 12, 2019

PHPStan - PHP Static Analysis Tool

Build Status PHPStan Enabled

This repository (phpstan/phpstan-src) is for PHPStan's development only. Head to phpstan/phpstan for the main README, or to create an issue.

Code of Conduct

This project adheres to a Contributor Code of Conduct. By participating in this project and its community, you are expected to uphold this code.


Any contributions are welcome.


You can either run the whole build including linting and coding standards using


or run only tests using

vendor/bin/phing tests
You can’t perform that action at this time.