1
0
mirror of https://github.com/danog/psalm.git synced 2024-11-26 20:34:47 +01:00
Go to file
Matt Brown 20351c6667 Avoid json_encode when serializing non-UTF8 literals
`\Psalm\Internal\Clause::$hash` basically holds a hash on
arbitrary input literals, used for later comparison. Using
`json_encode` fails when dealing with non-UTF8 literals,
which has been replaced by plain PHP `serialize`.

Resolves: #7771
2022-04-27 01:42:37 -04:00
.circleci chore: enable psl tests again 2022-02-21 00:08:15 +02:00
.github Added backward compatibility check 2022-02-04 04:15:32 +02:00
assets/psalm-phar Fix other check 2020-12-29 12:57:09 +00:00
bin chore: enable psl tests again 2022-02-21 00:08:15 +02:00
build/phpunit
dictionaries Avoid json_encode when serializing non-UTF8 literals 2022-04-27 01:42:37 -04:00
docs Avoid json_encode when serializing non-UTF8 literals 2022-04-27 01:42:37 -04:00
examples remove unused imports 2022-01-21 00:17:06 +01:00
src/Psalm Avoid json_encode when serializing non-UTF8 literals 2022-04-27 01:42:37 -04:00
stubs Remove useless array casting as CallMap for stream_select is reset. 2022-04-27 01:40:51 -04:00
tests Avoid json_encode when serializing non-UTF8 literals 2022-04-27 01:42:37 -04:00
vendor-bin Abandon humbug/box update attempt 2022-03-07 16:57:18 -05:00
.appveyor.yml Added dummy appveyor config 2021-07-27 00:38:38 +03:00
.editorconfig
.gitattributes Removed .scrutinizer.yml 2022-02-12 18:53:54 +09:00
.gitignore [FEATURE] Allow plugins to declare their custom scanner or analyzer (#5883) 2021-06-04 15:32:53 -04:00
box.json.dist Cli command classes (#5858) 2021-05-31 22:23:54 -04:00
CODE_OF_CONDUCT.md
composer.json Improve scoping a bit more 2022-04-27 01:37:26 -04:00
config.xsd Avoid json_encode when serializing non-UTF8 literals 2022-04-27 01:42:37 -04:00
CONTRIBUTING.md
keys.asc.gpg Change GPG key 2021-01-11 13:36:23 -05:00
LICENSE
phpcs.xml Use objects, not strings, for assertions (#7410) 2022-01-20 17:33:06 -05:00
phpunit.xml.dist Drop Appveyor reporter as we no longer use Appveyor 2021-08-03 19:38:11 +03:00
psalm Drop legacy procedural files 2022-01-03 12:04:35 +02:00
psalm-baseline.xml Made most of callbacks static. Reworked some array_map() into foreach() 2022-04-09 21:58:26 +12:00
psalm-language-server Drop legacy procedural files 2022-01-03 12:04:35 +02:00
psalm-plugin Drop legacy procedural files 2022-01-03 12:04:35 +02:00
psalm-refactor Drop legacy procedural files 2022-01-03 12:04:35 +02:00
psalm.xml.dist Use objects, not strings, for assertions (#7410) 2022-01-20 17:33:06 -05:00
PsalmLogo.png
psalter Drop legacy procedural files 2022-01-03 12:04:35 +02:00
README.md Updated list of current maintainers 2021-12-05 04:48:06 +02:00
scoper.inc.php Abandon humbug/box update attempt 2022-03-07 16:57:18 -05:00
UPGRADING.md Made most of callbacks static. Reworked some array_map() into foreach() 2022-04-09 21:58:26 +12:00

Psalm

Packagist Packagist 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 Orklah (@orklah) and Bruce Weirdan (@weirdan).

The engineering team at Vimeo have provided a lot encouragement, especially @nbeliard, @erunion and @nickyr.