1
0
mirror of https://github.com/danog/psalm.git synced 2024-12-14 10:17:33 +01:00
psalm/src/Psalm/Internal
ygottschalk f831ebdbcf
narrowed reset and end return type (#3950)
* narrowed `reset` return type
BUT psalm seems to ignore the stub

* narrowed `reset` and `end` return type, this time for real

* fixed UnusedVariable Issue

* fixed RedundantCondition Issue
caused by `end`s return type being more precise

* Improve solution slightly

Co-authored-by: Matthew Brown <github@muglug.com>
2020-08-07 12:23:20 -04:00
..
Analyzer Fix things 2020-08-07 12:16:35 -04:00
Codebase narrowed reset and end return type (#3950) 2020-08-07 12:23:20 -04:00
Diff Fix #3914 - treat $i++ like $i = $i + 1 2020-07-31 11:26:54 -04:00
ExecutionEnvironment
FileManipulation Refactor type comparison 2020-07-21 19:40:35 -04:00
Fork
Json Use pretty print for JSON reporting. (#3364) 2020-05-18 08:40:20 -04:00
LanguageServer Refactor type comparison 2020-07-21 19:40:35 -04:00
PhpTraverser
PhpVisitor Fix a bug with lowercase-string unions 2020-08-05 20:05:57 -04:00
PluginManager
Provider narrowed reset and end return type (#3950) 2020-08-07 12:23:20 -04:00
Scanner Tighten up rules around instantiation a bit more 2020-08-06 10:18:55 -04:00
Scope
Stubs Fix some more tests 2020-07-21 23:16:56 -04:00
Taint Fix Psalm issues 2020-08-05 19:49:09 -04:00
Type Fix strtolower calls and docs 2020-08-05 21:46:15 -04:00
TypeVisitor Refactor type comparison 2020-07-21 19:40:35 -04:00
CallMap_71_delta.php
CallMap_72_delta.php
CallMap_73_delta.php
CallMap_74_delta.php update proc_open() types for PHP 7.4 (#3333) 2020-05-10 21:11:27 -04:00
CallMap.php Improve details of functions to get the last errors parsing a date (#3953) 2020-08-07 12:17:08 -04:00
Clause.php
exception_handler.php
IncludeCollector.php Collect and scan files included by the autoloaders (#3183) 2020-07-11 17:17:22 -04:00
InternalTaintSinkMap.php Fix typo for printr (#3754) 2020-07-07 00:25:14 -04:00
MethodIdentifier.php Fix Psalm issues 2020-08-05 19:49:09 -04:00
PropertyMap.php tidyNode->child will be null if the node does not have any children (#3599) 2020-06-17 09:29:23 -04:00
ReferenceConstraint.php