1
0
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>
2021-03-31 23:16:21 -04:00
2021-03-22 19:53:42 -04:00
2020-12-29 12:57:09 +00:00
2021-03-30 11:54:22 -04:00
2019-06-16 09:04:56 -04:00
2020-05-19 17:51:28 -04:00
2019-06-16 09:04:56 -04:00
2021-01-11 13:36:23 -05:00
2020-11-29 16:27:00 -05:00
2021-03-23 01:30:51 -04:00
2019-06-05 10:43:51 -04:00
2021-03-23 01:30:51 -04:00
2021-03-27 22:46:23 -04:00
2020-10-12 00:59:19 -04:00

Psalm

Packagist Packagist Coverage Status Psalm coverage Psalm level

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 Psalms 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.

Description
No description provided
Readme MIT 108 MiB
Languages
PHP 100%