mirror of
https://github.com/danog/psalm.git
synced 2025-01-22 05:41:20 +01:00
AndrolGenhald
d022910599
ConcatAnalyzer improvements and non-falsy-string fixes. (#5544)
* ConcatAnalyzer improvements. Deduplicate code. Improve type inference. Allow literal type inference when only one side has multiple types (fixes #5483). Fix invalid type inference with negative int as right operand. * Fix inference to be lowercase-string when concatenating int. * Fix TNonEmptyLowercaseString to not be subtype of TNonFalsyString. '0' is a non-empty-lowercase-string that is falsy. * Fix other issues with non-falsy-string. * Nest ands and ors Co-authored-by: Matthew Brown <github@muglug.com>
…
…
…
Psalm
Psalm is a static analysis tool for finding errors in PHP applications.
Installation
To get started, check out the installation guide.
Live Demo
You can play around with Psalm on its website.
Documentation
Documentation is available on Psalm’s website, generated from the docs folder.
Interested in contributing?
Have a look at CONTRIBUTING.md.
Who made this
Built by Matt Brown (@muglug).
Maintained by Matt and Bruce Weirdan (@weirdan).
The engineering team at Vimeo have provided a lot encouragement, especially @nbeliard, @erunion and @nickyr.
Languages
PHP
100%