1
0
mirror of https://github.com/danog/psalm.git synced 2024-11-27 12:55:26 +01:00
Go to file
erikjwaxx 25d8c6d21e
Narrow inference of $a <=> $b from "int" to "-1|0|1" (#4680)
* A <=> operator has a literal type of -1|0|1 and not simply int

* Test to verify inferred type of $a <=> $b is -1|0|1
2020-11-23 13:10:51 -05:00
.circleci Bump circle PHP version 2020-10-26 15:26:39 -04:00
.github/workflows
assets/psalm-phar Fix Phar platform check 2020-11-20 11:08:40 -05:00
bin Ignore ReflectionUnionType 2020-11-08 20:29:08 -05:00
build/phpunit
dictionaries First creation_function param isnÆt really a sink 2020-11-20 09:56:53 -05:00
docs Add more verbose description for TaintedHtml (#4668) 2020-11-22 19:14:48 -05:00
examples Use more accurate arguments count 2020-10-14 18:51:15 -04:00
src Narrow inference of $a <=> $b from "int" to "-1|0|1" (#4680) 2020-11-23 13:10:51 -05:00
stubs Add some more flows (#4659) 2020-11-22 12:09:55 -05:00
tests Narrow inference of $a <=> $b from "int" to "-1|0|1" (#4680) 2020-11-23 13:10:51 -05:00
vendor-bin/box
.appveyor.yml Test parallelization (#4045) 2020-08-23 10:32:07 -04:00
.editorconfig
.gitattributes
.gitignore
.scrutinizer.yml More config 2020-05-19 17:51:28 -04:00
.travis.yml Add some backwards-incompatible changes for 4.x 2020-08-30 11:44:14 -04:00
box.json.dist Move static code out of src 2020-10-12 00:59:19 -04:00
CODE_OF_CONDUCT.md
composer.json Experiment with PHP 7.1 compatibility (#4421) 2020-10-26 15:14:48 -04:00
config.xsd Fix #4656 - separate UnusedConstructor from UnusedMethod 2020-11-22 11:48:17 -05:00
CONTRIBUTING.md Update CONTRIBUTING.md (#3235) 2020-04-26 18:59:33 -04:00
infection.json.dist
keys.asc.gpg
LICENSE
phpcs.xml Remove deleted path 2020-10-12 15:17:22 -04:00
phpunit.xml.dist Test parallelization (#4045) 2020-08-23 10:32:07 -04:00
psalm
psalm-language-server
psalm-plugin
psalm-refactor
psalm.xml.dist Protect more calls 2020-10-28 13:48:13 -04:00
PsalmLogo.png
psalter
README.md Grammar 2020-11-19 19:40:40 -05:00
scoper.inc.php Move static code out of src 2020-10-12 00:59:19 -04:00

Psalm

Packagist Packagist Coverage Status Psalm coverage

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.