1
0
mirror of https://github.com/danog/psalm.git synced 2025-01-07 05:28:37 +01:00
psalm/src/Psalm/Internal
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
..
Algebra Fix too-long line 2022-03-12 22:37:06 -05:00
Analyzer Avoid json_encode when serializing non-UTF8 literals 2022-04-27 01:42:37 -04:00
Cli Made most of callbacks static. Reworked some array_map() into foreach() 2022-04-09 21:58:26 +12:00
Codebase fix #7747: DateInterval::createFromDateString can be false 2022-04-27 01:32:38 -04:00
DataFlow
Diff Made most of callbacks static. Reworked some array_map() into foreach() 2022-04-09 21:58:26 +12:00
ExecutionEnvironment
FileManipulation
Fork Remove useless array casting as CallMap for stream_select is reset. 2022-04-27 01:40:51 -04:00
Json
LanguageServer Made most of callbacks static. Reworked some array_map() into foreach() 2022-04-09 21:58:26 +12:00
PhpTraverser
PhpVisitor Made most of callbacks static. Reworked some array_map() into foreach() 2022-04-09 21:58:26 +12:00
PluginManager Made most of callbacks static. Reworked some array_map() into foreach() 2022-04-09 21:58:26 +12:00
Provider Support Stringable before PhpToken autoloading 2022-04-27 01:36:17 -04:00
Scanner Made most of callbacks static. Reworked some array_map() into foreach() 2022-04-09 21:58:26 +12:00
Scope
Stubs/Generator
Type Cast the read streams to an array while looping over as it can be NULL. 2022-04-27 01:39:30 -04:00
TypeVisitor
Algebra.php Made most of callbacks static. Reworked some array_map() into foreach() 2022-04-09 21:58:26 +12:00
Clause.php Avoid json_encode when serializing non-UTF8 literals 2022-04-27 01:42:37 -04:00
CliUtils.php Remove slash 2022-03-07 16:09:03 -05:00
Composer.php
ErrorHandler.php
EventDispatcher.php
IncludeCollector.php
MethodIdentifier.php
ReferenceConstraint.php
RuntimeCaches.php