1
0
mirror of https://github.com/danog/psalm.git synced 2024-12-14 18:36:58 +01:00
psalm/src/Psalm/Internal
Barney Laurance ff432ff73d
Simplify error messages and implementation for internal errors (#3881)
* Use more consistent language for Internal errors

There's no meaningful distinction between something being internal and
being 'marked as internal'.

* Rename property psalm_internal to internal in all storage classes

This property holds metadata that can be set using either @internal
or @psalm-internal in docblocks

* Change types of internal properties in storage from ?string to string

Simpler type is easier to handle. Non-internal methods can be considered
to be internal to the entire universe of PHP code, i.e. that code whose
namespace starts with the empty string. It's not a special case.
2020-07-24 09:32:54 -04:00
..
Analyzer Simplify error messages and implementation for internal errors (#3881) 2020-07-24 09:32:54 -04:00
Codebase Simplify error messages and implementation for internal errors (#3881) 2020-07-24 09:32:54 -04:00
Diff Fix #3668 - taint property types for magic properties without @property 2020-06-25 00:24:37 -04:00
ExecutionEnvironment
FileManipulation Refactor type comparison 2020-07-21 19:40:35 -04:00
Fork Fix #2994 (#3016) 2020-03-25 21:25:33 -04:00
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 Allow types to be traversed 2020-03-14 23:54:51 -04:00
PhpVisitor Simplify error messages and implementation for internal errors (#3881) 2020-07-24 09:32:54 -04:00
PluginManager Fix a couple of bugs 2020-02-21 01:32:22 -05:00
Provider Refactor type comparison 2020-07-21 19:40:35 -04:00
Scanner Refactor type comparison 2020-07-21 19:40:35 -04:00
Scope Remove some unnecessary errors 2020-02-06 23:10:18 -05:00
Stubs Fix some more tests 2020-07-21 23:16:56 -04:00
Taint Fix style things 2020-07-21 19:44:59 -04:00
Type Hopefully final fixes 2020-07-21 23:59:11 -04:00
TypeVisitor Refactor type comparison 2020-07-21 19:40:35 -04:00
CallMap_71_delta.php
CallMap_72_delta.php $ignore parameter of \sodium_base642bin() is optional (#2997) 2020-03-20 21:09:45 -04:00
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 Fix some more tests 2020-07-21 23:16:56 -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 Add non-empty-lowercase-string type 2020-05-15 10:18:05 -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