1
0
mirror of https://github.com/danog/psalm.git synced 2024-12-15 02:47:02 +01:00
psalm/src/Psalm
lhchavez 817779274e
Add null as a possible type parameter to strval (#4100)
https://www.php.net/manual/en/language.types.string.php#language.types.string.casting mentions

> `NULL` is always converted to an empty string.

Which seems to indicate that it is a valid argument for it.

As opposed to stringifying other types (like arrays), `strval(null)` does not cause a warning in PHP.
2020-09-01 09:21:32 -04:00
..
CodeLocation Improve import errors (#3997) 2020-08-16 22:53:53 -04:00
Config Add some pure annotations 2020-08-23 13:52:31 -04:00
Exception
Internal Add null as a possible type parameter to strval (#4100) 2020-09-01 09:21:32 -04:00
Issue Converted MissingPropertyType to property issue (#4099) 2020-09-01 09:21:03 -04:00
Plugin Fix api 2020-08-31 16:40:46 -04:00
Progress Align paramter names 2020-08-09 23:19:59 -04:00
Report Fix #3676 - add multiline output for TaintedInput issues 2020-06-30 13:17:51 -04:00
SourceControl
Storage Fix treatment of closure params in array_map 2020-08-29 11:10:09 -04:00
Type Fix #4093 - prevent redundant condition in presence of positive-int 2020-08-31 10:02:23 -04:00
Aliases.php Add non-empty-lowercase-string type 2020-05-15 10:18:05 -04:00
Codebase.php Nullable strings (#4096) 2020-09-01 09:19:50 -04:00
CodeLocation.php Add docblock_start and docblock_end properties to CodeLocation 2020-02-20 22:56:03 -05:00
Config.php Use per-user cache folder (#4098) 2020-09-01 09:20:24 -04:00
Context.php Make clause fully immutable 2020-08-26 15:35:29 -04:00
DocComment.php Add some pure annotations 2020-08-23 13:52:31 -04:00
ErrorBaseline.php Add some pure annotations 2020-08-23 13:52:31 -04:00
FileBasedPluginAdapter.php
FileManipulation.php
FileSource.php
IssueBuffer.php Add performance logging under a --debug-performance flag 2020-07-30 15:30:19 -04:00
NodeTypeProvider.php
PluginRegistrationSocket.php Fix File-related analysis plugin hooks (#3970) 2020-08-10 10:49:53 -04:00
Report.php Use pretty print for JSON reporting. (#3364) 2020-05-18 08:40:20 -04:00
StatementsSource.php
Type.php Improve Closure::fromCallable handling 2020-08-29 22:02:58 -04:00