1
0
mirror of https://github.com/danog/psalm.git synced 2024-12-04 02:27:59 +01:00
psalm/tests
Joe Hoyle e59670ef68
Add documentation to LSP (#5267)
* Add documention to LSP

Add descriptions for all Classes, Functions, Methods, Class Constants for LSP methods for Hover, SignatureInformation and Completions

* Descriptions for class name completions

* PHPCS

* Fix docblock being overriden

* Remove trailing comma in args

* Add description to function param before early `continue`

* Update php-language-server-protocol to 1.5

* Break up long array docblocks

* Break up docblock onto newline

Co-authored-by: Matthew Brown <github@muglug.com>
2021-02-24 10:14:04 -05:00
..
CommandFunctions
Config Rename stub to avoid phpstorm conflict (#5213) 2021-02-13 18:42:34 -05:00
EndToEnd Use separate exit code to indicate Psalm finding issues (#5087) 2021-01-24 13:30:35 -05:00
FileManipulation improve psalter capacities for anonymous class extending real classes (#5146) 2021-02-04 09:59:38 -05:00
FileUpdates When there’s an irrecoverqable syntax error invalidate all issues in the file 2021-02-14 21:16:12 -05:00
fixtures Rename stub to avoid phpstorm conflict (#5213) 2021-02-13 18:42:34 -05:00
Internal/Provider Revert "Correct Psalm’s concept of string emptiness" 2021-02-03 01:09:58 -05:00
LanguageServer Add documentation to LSP (#5267) 2021-02-24 10:14:04 -05:00
Loop Fix #5001 - update variables after context after type change from empty 2021-01-13 11:35:52 -05:00
Progress
Template Fix inference of conditional types when wildcard constant given 2021-02-20 12:21:52 -05:00
Traits
TypeReconciliation Fix #5236 - improve reconciliation of interfaces when unioned with class 2021-02-24 00:05:12 -05:00
AlgebraTest.php When there’s an irrecoverqable syntax error invalidate all issues in the file 2021-02-14 21:16:12 -05:00
AnnotationTest.php
ArgTest.php Fix #4631 - prevent reusing named params 2021-01-27 22:53:55 -05:00
ArrayAccessTest.php Fix test 2021-02-09 01:37:56 -05:00
ArrayAssignmentTest.php don't throw InvalidArrayOffset when dealing with templates (#5019) 2021-01-14 16:35:06 -05:00
ArrayFunctionCallTest.php Fix #5176 - substitute in actual argument when instance type found 2021-02-08 09:29:41 -05:00
AssertAnnotationTest.php Ensure getId() output can always be parsed as a type 2021-01-25 23:41:51 -05:00
AssignmentTest.php
AttributeTest.php Allow Attribute::IS_REPEATABLE (#4971) 2021-01-10 21:55:06 -05:00
BadFormatTest.php
BinaryOperationTest.php Fix not always positive bit operations (#5233) 2021-02-15 23:10:42 -05:00
CallableTest.php
ClassLikeDocblockParserTest.php Add documentation to LSP (#5267) 2021-02-24 10:14:04 -05:00
ClassLoadOrderTest.php
ClassScopeTest.php
ClassStringTest.php
ClassTest.php Prevent invalid Traversable implementation (#5171) 2021-02-06 22:10:05 -05:00
CloneTest.php
ClosureTest.php Ensure getId() output can always be parsed as a type 2021-01-25 23:41:51 -05:00
CodebaseTest.php implement DTO for plugins (#4881) 2021-01-06 09:05:53 -05:00
CommentAnalyzerTest.php Add documentation to LSP (#5267) 2021-02-24 10:14:04 -05:00
ComposerLockTest.php allow libraries to provide psalm plugins (#5165) 2021-02-06 22:06:00 -05:00
ConstantTest.php
DeprecatedAnnotationTest.php
DocblockInheritanceTest.php
DocCommentTest.php
DocumentationTest.php
EnumTest.php
ErrorBaselineTest.php
ExtendsFinalClassTest.php
ExtensionRequirementTest.php
FileDiffTest.php When there’s an irrecoverqable syntax error invalidate all issues in the file 2021-02-14 21:16:12 -05:00
FileReferenceTest.php Fix small things 2021-02-15 11:31:34 -05:00
ForbiddenCodeTest.php
FunctionCallTest.php #4997 added more precise type inference for count() returning 0 or positive-int on known arrays (#4999) 2021-01-13 09:48:38 -05:00
FunctionLikeDocblockParserTest.php Add documentation to LSP (#5267) 2021-02-24 10:14:04 -05:00
GeneratorTest.php Check iterator types on yield from (#5042) 2021-01-20 17:41:15 -05:00
ImmutableAnnotationTest.php
ImplementationRequirementTest.php
IncludeTest.php Rename stub to avoid phpstorm conflict (#5213) 2021-02-13 18:42:34 -05:00
InterfaceTest.php Fix #5236 - improve reconciliation of interfaces when unioned with class 2021-02-24 00:05:12 -05:00
InternalAnnotationTest.php
IssueBufferTest.php implement DTO for plugins (#4881) 2021-01-06 09:05:53 -05:00
IssueSuppressionTest.php
JsonOutputTest.php Ensure getId() output can always be parsed as a type 2021-01-25 23:41:51 -05:00
junit.xsd
ListTest.php
MagicMethodAnnotationTest.php Allow by reference parameters in method docblock (#4873) 2020-12-21 17:11:34 +00:00
MagicPropertyTest.php
MatchTest.php
MethodCallTest.php Remove ReflectionType::getName(), move ReflectionType::isBuiltin() (#5090) 2021-01-24 13:31:10 -05:00
MethodMutationTest.php
MethodSignatureTest.php Fix #5264 - use accurate static type when calling parent method in trait 2021-02-23 20:48:22 -05:00
MixinAnnotationTest.php Fix #4837 - bind correct static class when checking mixin types 2020-12-14 22:51:32 -05:00
NamespaceTest.php
Php40Test.php
Php55Test.php
Php56Test.php Ensure getId() output can always be parsed as a type 2021-01-25 23:41:51 -05:00
Php70Test.php
Php71Test.php
ProjectCheckerTest.php implement DTO for plugins (#4881) 2021-01-06 09:05:53 -05:00
PropertyTypeInvarianceTest.php Allow property type invariance on templated properties 2021-02-07 01:45:48 -05:00
PropertyTypeTest.php Fix #5194 - don’t warn when redefining core class properties 2021-02-11 14:12:25 -05:00
PsalmPluginTest.php
PureAnnotationTest.php Tighten up rules arouund when mutation-free methods get memoised 2020-12-08 16:39:06 -05:00
PureCallableTest.php
ReferenceConstraintTest.php
ReportOutputTest.php SARIF report: Include help links (#4924) 2021-01-03 01:45:21 +00:00
ReturnTypeTest.php Ensure getId() output can always be parsed as a type 2021-01-25 23:41:51 -05:00
SelfOutTest.php
StubTest.php Rename stub to avoid phpstorm conflict (#5213) 2021-02-13 18:42:34 -05:00
SwitchTypeTest.php
TaintTest.php Fix #5137 – support @psalm-flow in methods 2021-01-31 22:40:48 -05:00
TestCase.php
TestConfig.php
ThrowsAnnotationTest.php
ThrowsInGlobalScopeTest.php
ToStringTest.php
TraceTest.php
TraitTest.php
TryCatchTest.php
TypeAnnotationTest.php Allow @psalm-type and @psalm-import-type to be used in extends/implements (#5205) 2021-02-12 17:02:24 -05:00
TypeCombinationTest.php Fix #5141 - combine numeric-string and non-empty-string to non-empty-string 2021-02-03 17:40:41 -05:00
TypeParseTest.php Ensure getId() output can always be parsed as a type 2021-01-25 23:41:51 -05:00
UnusedCodeTest.php Break out parent and implemented class checks 2021-01-05 17:49:55 -05:00
UnusedVariableTest.php Mark variables in throw arguments as used (#5166) 2021-02-06 22:07:01 -05:00
VariadicTest.php Rename stub to avoid phpstorm conflict (#5213) 2021-02-13 18:42:34 -05:00