1
0
mirror of https://github.com/danog/psalm.git synced 2024-11-27 04:45:20 +01:00
psalm/tests
Joe Hoyle 5759472168
Add constant fetch to reference map (#5115)
* Add constant fetch to reference map

To support showing constant types on hover of constant references, we need to add them to the ref map.

* Fix root constants

* PHPCBF
2021-01-28 11:18:28 -05:00
..
CommandFunctions
Config Trigger dispatch even when only legacy hooks (#4962) 2021-01-08 19:51:26 -05:00
EndToEnd Use separate exit code to indicate Psalm finding issues (#5087) 2021-01-24 13:30:35 -05:00
FileManipulation Split unit test over multiple jobs in GitHub Actions, lowering the total run time (#4985) 2021-01-11 17:30:33 -05:00
FileUpdates Remove file map cache when re-analyzing files (#5084) 2021-01-22 16:05:28 -05:00
fixtures Add option to dump taint graph (#5080) 2021-01-22 16:04:15 -05:00
Internal/Provider Remove file map cache when re-analyzing files (#5084) 2021-01-22 16:05:28 -05:00
LanguageServer Add constant fetch to reference map (#5115) 2021-01-28 11:18:28 -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 #5107 - treat function-bound templated parameters the same 2021-01-26 22:43:42 -05:00
Traits Ensure Stringable is always available to tests that need it 2020-10-29 19:41:10 -04:00
TypeReconciliation Ensure getId() output can always be parsed as a type 2021-01-25 23:41:51 -05:00
AlgebraTest.php Fix overeager inference 2020-11-03 16:44:24 -05:00
AnnotationTest.php Fix int-mask-of expansion 2020-11-02 00:40:36 -05:00
ArgTest.php Fix #4631 - prevent reusing named params 2021-01-27 22:53:55 -05:00
ArrayAccessTest.php add ArrayAccess to SimpleXmlElement (#4934) 2021-01-06 09:44:12 -05:00
ArrayAssignmentTest.php don't throw InvalidArrayOffset when dealing with templates (#5019) 2021-01-14 16:35:06 -05:00
ArrayFunctionCallTest.php Ensure getId() output can always be parsed as a type 2021-01-25 23:41:51 -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 Calculate more literal values (#5032) 2021-01-17 10:55:32 -05:00
CallableTest.php Fix #4210 - fix __invoke declaration tracing 2020-09-19 14:18:52 -04:00
ClassLoadOrderTest.php Detect redundant cast (#4695) 2020-11-25 12:04:48 -05:00
ClassScopeTest.php
ClassStringTest.php
ClassTest.php Resolve class aliases when accessing properties (#5068) 2021-01-21 19:38:17 -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
ComposerLockTest.php
ConstantTest.php Break out array_key_exists tests 2020-12-02 14:42:16 -05:00
DeprecatedAnnotationTest.php
DocblockInheritanceTest.php Fix #4537 - use more rigorous inerhitance for return and param types 2020-11-12 13:54:27 -05:00
DocCommentTest.php
DocumentationTest.php Added test to enforce that all supported annotations are documented (#4723) 2020-11-27 21:48:16 -05:00
EnumTest.php
ErrorBaselineTest.php return types (#4311) 2020-10-12 15:02:52 -04:00
ExtendsFinalClassTest.php
ExtensionRequirementTest.php Initial proposal for psalm-require-{extends, implements} (#4361) 2020-10-19 15:08:18 -04:00
FileDiffTest.php replace deprecated methods with their equivalent (#4217) 2020-09-20 08:56:49 -04:00
FileReferenceTest.php unused use statements (#4228) 2020-09-22 01:10:46 -04: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
GeneratorTest.php Check iterator types on yield from (#5042) 2021-01-20 17:41:15 -05:00
ImmutableAnnotationTest.php unused use statements (#4228) 2020-09-22 01:10:46 -04:00
ImplementationRequirementTest.php Initial proposal for psalm-require-{extends, implements} (#4361) 2020-10-19 15:08:18 -04:00
IncludeTest.php fix phpdoc (#4905) 2020-12-29 11:42:41 +00:00
InterfaceTest.php Fix #4010 – don’t create interface intersections unless there’s no overlap 2021-01-27 12:48:32 -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 Fix #4544 - improve handling of get_class in match 2020-11-13 11:55:42 -05:00
MethodCallTest.php Remove ReflectionType::getName(), move ReflectionType::isBuiltin() (#5090) 2021-01-24 13:31:10 -05:00
MethodMutationTest.php
MethodSignatureTest.php Fix #5070 – fix static return type inference in static methods 2021-01-22 09:58:09 -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 Fix test failures 2020-11-25 20:05:09 -05:00
Php71Test.php
ProjectCheckerTest.php implement DTO for plugins (#4881) 2021-01-06 09:05:53 -05:00
PropertyTypeTest.php Fix #5097 - memoise more things during null coalesce 2021-01-26 23:10:57 -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 Fix #4705 - clear documenting method ids when scanning stubs 2020-12-01 11:23:38 -05:00
SwitchTypeTest.php Fix #4794 - invvalidate dependent types when their variables change 2020-12-06 18:16:22 -05:00
TaintTest.php Avoid false positives for taint specialized calls even when not using a variable (#4948) 2021-01-07 16:39:51 -05:00
TestCase.php Add SARIF as report output (#4582) 2020-11-17 13:23:20 -05:00
TestConfig.php
ThrowsAnnotationTest.php
ThrowsInGlobalScopeTest.php
ToStringTest.php Ensure Stringable is always available to tests that need it 2020-10-29 19:41:10 -04:00
TraceTest.php
TraitTest.php Track final-ness of class when evaluating trait returns 2020-10-25 12:20:18 -04:00
TryCatchTest.php Make more try vars potentially undefined 2020-12-03 11:44:10 -05:00
TypeAnnotationTest.php Fix #4653 - prevent crash with recursive type in root namespace 2020-11-22 00:26:14 -05:00
TypeCombinationTest.php Ensure getId() output can always be parsed as a type 2021-01-25 23:41:51 -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 Add missing dataflow population in array spreads (#5059) 2021-01-20 17:42:11 -05:00
VariadicTest.php