1
0
mirror of https://github.com/danog/psalm.git synced 2024-11-27 04:45:20 +01:00
psalm/tests
2021-05-14 20:12:39 -04:00
..
CommandFunctions More return types (#4173) 2020-09-12 11:24:05 -04:00
Config Remove (and prevent) unused uses (#5704) 2021-05-03 17:22:15 -04:00
EndToEnd Resolve build issues 2021-03-22 19:37:49 -04:00
FileManipulation Infer never return type (#5710) 2021-05-05 01:22:29 -04:00
FileUpdates When there’s an irrecoverqable syntax error invalidate all issues in the file 2021-02-14 21:16:12 -05:00
fixtures Resolve build issues 2021-03-22 19:37:49 -04:00
Internal/Provider Revert "Correct Psalm’s concept of string emptiness" 2021-02-03 01:09:58 -05:00
LanguageServer Remove (and prevent) unused uses (#5704) 2021-05-03 17:22:15 -04:00
Loop Fix #4910 - don’t allow array_merge to create massive keyed arrays 2021-05-13 16:27:05 -04:00
Progress
ReturnTypeProvider Support array of objects in array_column() (#5567) 2021-04-04 00:01:01 -04:00
Template Fix #5434 - prevent crash with class-string-map 2021-05-14 19:44:11 -04:00
Traits Fix object-like array keys when combining string and automatic keys (fixes #5427). (#5428) 2021-03-19 21:44:44 -04:00
TypeReconciliation NullsafeMethodCall makes the variable not null for the rest of the scope (#5771) 2021-05-14 19:21:01 -04: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 Add @ignore-var and @psalm-ignore-var (#5488) 2021-03-26 21:20:23 -04:00
ArgTest.php Report cases where object is coerced into object with properties (#5566) 2021-04-04 00:00:31 -04:00
ArrayAccessTest.php Fix object-like array keys when combining string and automatic keys (fixes #5427). (#5428) 2021-03-19 21:44:44 -04:00
ArrayAssignmentTest.php Fix #5693 - revert fix for #2048 2021-05-01 21:13:42 -04:00
ArrayFunctionCallTest.php Fix ArrayFillReturnTypeProvider - consider second param (#5770) 2021-05-14 20:12:39 -04:00
AssertAnnotationTest.php Fix object-like array keys when combining string and automatic keys (fixes #5427). (#5428) 2021-03-19 21:44:44 -04:00
AssignmentTest.php Fix object-like array keys when combining string and automatic keys (fixes #5427). (#5428) 2021-03-19 21:44:44 -04:00
AttributeTest.php Fix object-like array keys when combining string and automatic keys (fixes #5427). (#5428) 2021-03-19 21:44:44 -04:00
BadFormatTest.php More return types (#4173) 2020-09-12 11:24:05 -04:00
BinaryOperationTest.php ConcatAnalyzer improvements and non-falsy-string fixes. (#5544) 2021-03-31 23:16:21 -04:00
CallableTest.php Fix object-like array keys when combining string and automatic keys (fixes #5427). (#5428) 2021-03-19 21:44:44 -04:00
ClassLikeDocblockParserTest.php Prefer @psalm-template over @phpstan-template (#5713) 2021-05-05 21:47:01 -04:00
ClassLoadOrderTest.php Fix object-like array keys when combining string and automatic keys (fixes #5427). (#5428) 2021-03-19 21:44:44 -04:00
ClassScopeTest.php Allow parent class to call child protected method 2021-04-25 12:44:53 -04:00
ClassStringTest.php allow $var::class on templates (#5484) 2021-03-26 21:21:38 -04:00
ClassTest.php Fix Never test for latest PHP Parser 2021-05-03 16:59:24 -04:00
CloneTest.php Fix object-like array keys when combining string and automatic keys (fixes #5427). (#5428) 2021-03-19 21:44:44 -04:00
ClosureTest.php Forbid template annotation on closures (#5499) 2021-03-29 15:10:04 -04:00
CodebaseTest.php implement DTO for plugins (#4881) 2021-01-06 09:05:53 -05:00
CommentAnalyzerTest.php Remove (and prevent) unused uses (#5704) 2021-05-03 17:22:15 -04:00
ComposerLockTest.php allow libraries to provide psalm plugins (#5165) 2021-02-06 22:06:00 -05:00
ConstantTest.php quote offset value (#5760) 2021-05-14 17:19:23 -04:00
ConstValuesTest.php Rename incorrectly-named test 2021-04-25 18:26:00 -04:00
DeprecatedAnnotationTest.php Fix object-like array keys when combining string and automatic keys (fixes #5427). (#5428) 2021-03-19 21:44:44 -04:00
DocblockInheritanceTest.php Fix object-like array keys when combining string and automatic keys (fixes #5427). (#5428) 2021-03-19 21:44:44 -04:00
DocCommentTest.php Test parallelization (#4045) 2020-08-23 10:32:07 -04:00
DocumentationTest.php Added test to enforce that all supported annotations are documented (#4723) 2020-11-27 21:48:16 -05:00
EnumTest.php Support enums (#5699) 2021-05-03 17:54:09 -04:00
ErrorBaselineTest.php return types (#4311) 2020-10-12 15:02:52 -04:00
ExtendsFinalClassTest.php Fix object-like array keys when combining string and automatic keys (fixes #5427). (#5428) 2021-03-19 21:44:44 -04:00
ExtensionRequirementTest.php Initial proposal for psalm-require-{extends, implements} (#4361) 2020-10-19 15:08:18 -04:00
FileDiffTest.php Fix #5297 - be more sensitive to additions and deletions in language server mode 2021-02-28 01:36:06 -05:00
FileReferenceTest.php Fix small things 2021-02-15 11:31:34 -05:00
ForbiddenCodeTest.php Fix object-like array keys when combining string and automatic keys (fixes #5427). (#5428) 2021-03-19 21:44:44 -04:00
FunctionCallTest.php Strict int/float comparison for conditional types, improve range return type (#5601) 2021-04-09 11:28:48 -04:00
FunctionLikeDocblockParserTest.php Prefer @psalm-template over @phpstan-template (#5713) 2021-05-05 21:47:01 -04:00
GeneratorTest.php Fix object-like array keys when combining string and automatic keys (fixes #5427). (#5428) 2021-03-19 21:44:44 -04:00
ImmutableAnnotationTest.php Fix object-like array keys when combining string and automatic keys (fixes #5427). (#5428) 2021-03-19 21:44:44 -04:00
ImplementationRequirementTest.php Initial proposal for psalm-require-{extends, implements} (#4361) 2020-10-19 15:08:18 -04:00
IncludeTest.php Rename stub to avoid phpstorm conflict (#5213) 2021-02-13 18:42:34 -05:00
InterfaceTest.php Fix object-like array keys when combining string and automatic keys (fixes #5427). (#5428) 2021-03-19 21:44:44 -04:00
InternalAnnotationTest.php Fix object-like array keys when combining string and automatic keys (fixes #5427). (#5428) 2021-03-19 21:44:44 -04:00
IssueBufferTest.php Remove (and prevent) unused uses (#5704) 2021-05-03 17:22:15 -04:00
IssueSuppressionTest.php Suppress issues emitted by MethodComparator at class level (#5711) 2021-05-05 21:46:29 -04:00
JsonOutputTest.php Support enums (#5699) 2021-05-03 17:54:09 -04:00
junit.xsd
ListTest.php Fix object-like array keys when combining string and automatic keys (fixes #5427). (#5428) 2021-03-19 21:44:44 -04:00
MagicMethodAnnotationTest.php Checks the intersection type if the magic method does not exist (#5473) 2021-03-24 15:34:05 -04:00
MagicPropertyTest.php Fix object-like array keys when combining string and automatic keys (fixes #5427). (#5428) 2021-03-19 21:44:44 -04:00
MatchTest.php Fix object-like array keys when combining string and automatic keys (fixes #5427). (#5428) 2021-03-19 21:44:44 -04:00
MethodCallTest.php Prevent crash when method being called does not exist in reflection 2021-05-13 12:40:39 -04:00
MethodMutationTest.php More return types (#4173) 2020-09-12 11:24:05 -04:00
MethodSignatureTest.php Check for ParamName even for method with only one param (#5732) 2021-05-08 19:33:48 -04:00
MixinAnnotationTest.php Fix #5496 - ensure params extended in properties are properly fleshed out 2021-03-28 23:10:38 -04:00
NamespaceTest.php Fix object-like array keys when combining string and automatic keys (fixes #5427). (#5428) 2021-03-19 21:44:44 -04:00
Php40Test.php More return types (#4173) 2020-09-12 11:24:05 -04:00
Php55Test.php More return types (#4173) 2020-09-12 11:24:05 -04:00
Php56Test.php Ensure getId() output can always be parsed as a type 2021-01-25 23:41:51 -05:00
Php70Test.php Fix object-like array keys when combining string and automatic keys (fixes #5427). (#5428) 2021-03-19 21:44:44 -04:00
Php71Test.php Fix object-like array keys when combining string and automatic keys (fixes #5427). (#5428) 2021-03-19 21:44:44 -04:00
ProjectCheckerTest.php Remove (and prevent) unused uses (#5704) 2021-05-03 17:22:15 -04:00
PropertyTypeInvarianceTest.php Support template property invariance (fixes #5371) (#5414) 2021-03-19 21:55:50 -04:00
PropertyTypeTest.php Fix #5697 - don’t consider docblocks when checking for invariant properties 2021-05-02 10:45:55 -04:00
PsalmPluginTest.php More return types (#4173) 2020-09-12 11:24:05 -04:00
PureAnnotationTest.php Fix object-like array keys when combining string and automatic keys (fixes #5427). (#5428) 2021-03-19 21:44:44 -04:00
PureCallableTest.php Fix object-like array keys when combining string and automatic keys (fixes #5427). (#5428) 2021-03-19 21:44:44 -04:00
ReferenceConstraintTest.php Only check param-out when no exception is thrown 2021-03-27 09:50:20 -04:00
ReportOutputTest.php Link to SARIF JSON schema (#5718) 2021-05-05 21:47:36 -04:00
ReturnTypeTest.php allow scalar values in return to be accepted, even when the branch has no inferred types (#5749) 2021-05-12 18:47:05 -04:00
SelfOutTest.php More return types (#4173) 2020-09-12 11:24:05 -04:00
StubTest.php Allow multiple version-dependent method stubs (#5337) 2021-03-06 17:18:51 -05:00
SwitchTypeTest.php Fix #5327 - add check to prevent OOMing on very large conditionals 2021-05-14 14:53:53 -04:00
TaintTest.php Taint through reset call 2021-03-28 13:14:35 -04:00
TestCase.php Add SARIF as report output (#4582) 2020-11-17 13:23:20 -05:00
TestConfig.php replace return; by return null; in every non-void method, add return null; when mising, add return types, remove redundant phpdoc (#4176) 2020-09-13 16:39:06 -04:00
ThrowsAnnotationTest.php More return types (#4173) 2020-09-12 11:24:05 -04:00
ThrowsInGlobalScopeTest.php More return types (#4173) 2020-09-12 11:24:05 -04:00
ToStringTest.php Infer never return type (#5710) 2021-05-05 01:22:29 -04:00
TraceTest.php Fix object-like array keys when combining string and automatic keys (fixes #5427). (#5428) 2021-03-19 21:44:44 -04:00
TraitTest.php Fix object-like array keys when combining string and automatic keys (fixes #5427). (#5428) 2021-03-19 21:44:44 -04:00
TryCatchTest.php Fix object-like array keys when combining string and automatic keys (fixes #5427). (#5428) 2021-03-19 21:44:44 -04:00
TypeAnnotationTest.php Add support for phpstan import-type and type annotations (#5648) 2021-04-19 22:56:08 -04:00
TypeCombinationTest.php combining never/empty twice gives never (#5756) 2021-05-12 18:46:37 -04:00
TypeComparatorTest.php Remove (and prevent) unused uses (#5704) 2021-05-03 17:22:15 -04:00
TypeParseTest.php Support enums (#5699) 2021-05-03 17:54:09 -04:00
UnusedCodeTest.php Fix #5545 - throwing uses method 2021-04-04 21:17:12 -04:00
UnusedVariableTest.php Fix #5517 - don’t let a variable’s by-refness be overwritten by a @var docblock 2021-04-25 15:11:23 -04:00
VariadicTest.php Improve @no-named-arguments support and variadics. (#5455) 2021-03-22 19:58:22 -04:00