Skip to content
master
Go to file
Code

Latest commit

phpstan/phpstan-src@15c0689 Updated StatementOrderVisitor
phpstan/phpstan-src@ba352de UnreachableTernaryElseBranchRule - identifier and metadata
phpstan/phpstan-src@bf76ad9 TernaryOperatorConstantConditionRule - identifier and metadata
phpstan/phpstan-src@2335152 Support for phpstan and psaml prefixes on @method
phpstan/phpstan-src@a13160d IfConstantConditionRule identifier and metadata
phpstan/phpstan-src@bc4ca17 Remove dead rule
phpstan/phpstan-src@0632865 Add SplObjectStorage stub
phpstan/phpstan-src@b290a73 Add check the array is not empty
phpstan/phpstan-src@e96481c Remove NonEmptyArrayType after unset()
phpstan/phpstan-src@79bae4b functionMap should not be prefixed in the PHAR
phpstan/phpstan-src@9cc33cb Try more RAM
phpstan/phpstan-src@58a336f Keep benevolent union array key type with Foo[] after non-empty check
phpstan/phpstan-src@967b251 Better BenevolentUnionType::isAcceptedBy() implementation
phpstan/phpstan-src@7f04f75 Fix `is_numeric()` filtering in truthy condition
phpstan/phpstan-src@1d27c61 Introduce AccessoryNumericStringType
phpstan/phpstan-src@1a4f50f Update README.md
phpstan/phpstan-src@fd45885 UnionType - do not put parentheses around IntersectionType if parts of it are hidden
phpstan/phpstan-src@9c5728d Fix is_numeric()
phpstan/phpstan-src@a74a300 numeric-string in array leads to integer key type
phpstan/phpstan-src@91dc935 More verbose type descriptions in case of numeric-string
phpstan/phpstan-src@25da584 Fix build
phpstan/phpstan-src@1053ee7 `date` function can sometimes return numeric string
phpstan/phpstan-src@d7f9e90 nodeCallback is callable, not \Closure
phpstan/phpstan-src@c9678cd Optimized memory consumption
phpstan/phpstan-src@f3d0845 Removed irrelevant functionality
phpstan/phpstan-src@c393a1f Original memory limit
phpstan/phpstan-src@644f846 Fix build
phpstan/phpstan-src@4182e35 Backwards compatibility - remove Type::isNumericString()
phpstan/phpstan-src@ba40208 Cut memory consumption
phpstan/phpstan-src@58c2fef Little tuning
phpstan/phpstan-src@4eeed44 Less RAM should be fine now
phpstan/phpstan-src@99b47ff Fix edge-case with anonymous class
phpstan/phpstan-src@ca82622 Send coverage to Coveralls
phpstan/phpstan-src@c8a9b2f Recurse into generic objects parameters
phpstan/phpstan-src@e8ee74f added more missing callable prototypes detected by #120
phpstan/phpstan-src@efbe009 Refactored part of AnalyseApplication into AnalyserRunner
phpstan/phpstan-src@abf2d0f Updated nikic/php-parser
phpstan/phpstan-src@7af00e2 Updated BetterReflection
phpstan/phpstan-src@da60c46 Implemented checks for use of void return of yield this fixes #2873.
phpstan/phpstan-src@04de69a added checks for yield from also
phpstan/phpstan-src@a9887d2 TypeNodeResolver: callable variadics are always optional
phpstan/phpstan-src@3e6a07f Add option to check internal class capitalization
phpstan/phpstan-src@523f1c1 Simplify code
phpstan/phpstan-src@3e58149 DRY refactoring
phpstan/phpstan-src@39a5bba Faster result cache - analyse dependent files only if public-facing thing from changed file was changed
phpstan/phpstan-src@56e6161 This test will be replaced with a better test in the future
phpstan/phpstan-src@a67f7dc Fix
phpstan/phpstan-src@fac2a54 Sort exportedNodes in result cache
phpstan/phpstan-src@e16d1d3 Backwards compatibility
phpstan/phpstan-src@6e73d64 Fix problem with NameScope
7c43b7c

Git stats

Files

Permalink
Failed to load latest commit information.

README.md

PHPStan - PHP Static Analysis Tool

PHPStan

Build Status Build Status Latest Stable Version Total Downloads License PHPStan Enabled


PHPStan focuses on finding errors in your code without actually running it. It catches whole classes of bugs even before you write tests for the code. It moves PHP closer to compiled languages in the sense that the correctness of each line of the code can be checked before you run the actual line.

Read more about PHPStan in an introductory article »

Try out PHPStan on the on-line playground! »

Sponsors

TheCodingMachine     Private Packagist     Musement     Blackfire.io     Intracto     ShipMonk     Togetter

You can now sponsor my open-source work on PHPStan through GitHub Sponsors.

Does GitHub already have your 💳? Do you use PHPStan to find 🐛 before they reach production? Send a couple of 💸 a month my way too. Thank you!

One-time donations through PayPal are also accepted. To request an invoice, contact me through e-mail.

Documentation

All the documentation lives on the phpstan.org website:

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.

Contributing

Any contributions are welcome. PHPStan's source code open to pull requests lives at phpstan/phpstan-src.

You can’t perform that action at this time.