1
0
mirror of https://github.com/danog/psalm.git synced 2024-12-14 18:36:58 +01:00
psalm/src/Psalm
Bruce Weirdan f5b71a3a5f
Infer mb_strtolower() result as string when encoding is specified
`mb_strtolower()` may return characters we generally consider uppercase
when it's given the encoding argument. This PR makes Psalm to err on the
side of caution and treat the return type as `string` rather than
`lowercase-string` in this case

Refs vimeo/psalm#6908
2021-11-14 03:57:10 +02:00
..
CodeLocation
Config Merge pull request #6519 from gmessier/advanced-issue-handlers 2021-10-04 09:47:59 +02:00
Exception
Internal Infer mb_strtolower() result as string when encoding is specified 2021-11-14 03:57:10 +02:00
Issue Flag duplicate constants 2021-11-11 00:44:17 +02:00
Node
Plugin ->args to ->getArgs 2021-10-09 23:37:04 +02:00
Progress clearer string operations 2021-09-26 23:34:31 +02:00
Report Improve Github Actions output 2021-11-04 03:03:25 +02:00
SourceControl
Storage Merge pull request #6514 from zoonru/if-this-is 2021-10-04 09:49:26 +02:00
Type make ignore falsable/nullable dependent on the config 2021-11-13 11:37:22 +01:00
Aliases.php
Codebase.php cleanup 2021-10-04 00:03:06 +02:00
CodeLocation.php fix Uncaught ValueError: strrpos(): Argument #3 ($offset) must be contained in argument #1 ($haystack) in /var/www/html/vendor/vimeo/psalm/src/Psalm/CodeLocation.php:301 2021-10-21 21:27:38 +02:00
Config.php make ignore falsable/nullable dependent on the config 2021-11-13 11:37:22 +01:00
Context.php test without weird function 2021-10-19 22:12:20 +02:00
DocComment.php Add template support to @psalm-self-out 2021-10-28 10:44:37 +02:00
ErrorBaseline.php Merge pull request #5608 from paxal/patch/preg_replace_callback 2021-07-11 04:55:03 +03:00
FileBasedPluginAdapter.php weird syntax + class-string param 2021-09-25 16:34:36 +02:00
FileManipulation.php shorter operations 2021-09-26 22:44:33 +02:00
FileSource.php
IssueBuffer.php clearer string operations 2021-09-26 23:34:31 +02:00
NodeTypeProvider.php
PluginRegistrationSocket.php
Report.php param defaults 2021-09-26 22:37:16 +02:00
StatementsSource.php
Type.php Added phpcs SelfMemberReference rule, and applied 2021-11-07 15:47:39 +09:00