1
0
mirror of https://github.com/danog/psalm.git synced 2024-11-27 04:45:20 +01:00
Go to file
Bruce Weirdan 71a0457284
Emit ImplicitToStringCast in more places (#5344)
* Emit ImplicitToStringCast in more places

Fixes vimeo/psalm#5320

`to_string_cast` is set on successful comparison, thus it needs to
always bubble up (it will be ignored in UnionTypeComparator if some part
does not match).

* Fix implicit casts

* Fix handling of string method references in self-out context
2021-03-11 00:07:39 -05:00
.circleci Fix Circle build 2021-02-22 10:36:40 -05:00
.github/workflows Add linting to prevent embarassing errors (#5209) 2021-02-12 17:03:03 -05:00
assets/psalm-phar Fix other check 2020-12-29 12:57:09 +00:00
bin Be even less quiet about git errors (#5309) 2021-03-02 22:25:37 -05:00
build/phpunit Add circleci config file 2019-06-16 09:04:56 -04:00
dictionaries Update mysql_connect_error() return type definition (#5323) 2021-03-05 00:09:00 -05:00
docs docs: mention default level (#5340) 2021-03-11 00:06:02 -05:00
examples Introduce Virtual Nodes in order to differentiate real nodes in plugins (#5222) 2021-02-15 16:18:41 -05:00
src Emit ImplicitToStringCast in more places (#5344) 2021-03-11 00:07:39 -05:00
stubs Fix #5258 - allow ReflectionParameeter::hasType() to inform getType() return 2021-03-06 16:54:23 -05:00
tests Emit ImplicitToStringCast in more places (#5344) 2021-03-11 00:07:39 -05:00
vendor-bin/box Fix lack of autoload_real in latest humbug/box 2020-12-29 14:01:22 +00:00
.appveyor.yml Fix windows builds (#4775) 2020-12-04 15:11:14 -05:00
.editorconfig adding editorconfig that seems to match the php files (#163) 2017-06-26 00:22:05 -04:00
.gitattributes Removed misc files from dist archives (#4968) 2021-01-09 16:14:08 -05:00
.gitignore Fix: Remove unused friendsofphp/php-cs-fixer (#2603) 2020-01-12 10:52:33 -05:00
.scrutinizer.yml More config 2020-05-19 17:51:28 -04:00
box.json.dist PHAR: Include issue docs for SARIF output (#4925) 2021-01-03 16:54:52 +00:00
CODE_OF_CONDUCT.md Add code of conduct 2017-12-31 16:53:56 -05:00
composer.json Add documentation to LSP (#5267) 2021-02-24 10:14:04 -05:00
config.xsd config.xsd: fix default errorLevel (#5339) 2021-03-11 00:05:23 -05:00
CONTRIBUTING.md Add contributing section of docs 2020-11-29 23:51:09 -05:00
infection.json.dist Add circleci config file 2019-06-16 09:04:56 -04:00
keys.asc.gpg Change GPG key 2021-01-11 13:36:23 -05:00
LICENSE
phpcs.xml Simplify calling of replacer methods 2020-11-29 16:27:00 -05:00
phpunit.xml.dist Fix windows builds (#4775) 2020-12-04 15:11:14 -05:00
psalm Move Psalm execution code into PHP file that Psalm can analyse 2017-12-29 17:02:56 -05:00
psalm-language-server Change permissions on the language server executable 2018-10-19 14:04:22 -04:00
psalm-plugin Plugin loading (#855) 2018-11-10 23:23:36 -05:00
psalm-refactor Change psalm-refactor perms 2019-06-05 10:43:51 -04:00
psalm.xml.dist Introduce Virtual Nodes in order to differentiate real nodes in plugins (#5222) 2021-02-15 16:18:41 -05:00
PsalmLogo.png
psalter Break file manipulation out into Psalter 2018-01-07 17:25:23 -05:00
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.