1
0
mirror of https://github.com/danog/psalm.git synced 2024-12-16 19:36:59 +01:00
psalm/src/Psalm/Internal/Analyzer/Statements
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
..
Block Refactor type comparison 2020-07-21 19:40:35 -04:00
Expression Simplify error messages and implementation for internal errors (#3881) 2020-07-24 09:32:54 -04:00
BreakAnalyzer.php Break up StatementsAnalyzer 2020-05-19 12:56:30 -04:00
ContinueAnalyzer.php Break up StatementsAnalyzer 2020-05-19 12:56:30 -04:00
EchoAnalyzer.php Refactor type comparison 2020-07-21 19:40:35 -04:00
ExpressionAnalyzer.php Fix #3797 - prevent many chained assignments crashing Psalm 2020-07-10 16:49:45 -04:00
GlobalAnalyzer.php Break up StatementsAnalyzer 2020-05-19 12:56:30 -04:00
NopAnalyzer.php Break up StatementsAnalyzer 2020-05-19 12:56:30 -04:00
ReturnAnalyzer.php Refactor type comparison 2020-07-21 19:40:35 -04:00
StaticAnalyzer.php Refactor type comparison 2020-07-21 19:40:35 -04:00
ThrowAnalyzer.php Refactor type comparison 2020-07-21 19:40:35 -04:00
UnsetAnalyzer.php Fix some more tests 2020-07-21 23:16:56 -04:00
UnusedAssignmentRemover.php Break up StatementsAnalyzer 2020-05-19 12:56:30 -04:00