1
0
mirror of https://github.com/danog/psalm.git synced 2024-12-05 13:10:49 +01:00
psalm/tests
2021-05-23 13:59:40 -04:00
..
CommandFunctions More return types (#4173) 2020-09-12 11:24:05 -04:00
Config update hardcoded Psalm version (#5783) 2021-05-17 08:27:08 -05:00
EndToEnd Resolve build issues 2021-03-22 19:37:49 -04:00
FileManipulation Don't migrate virtual nodes (#5780) 2021-05-17 22:21:32 -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 Fix #5810 - detect properties that are never read 2021-05-21 09:25:57 -04:00
LanguageServer Remove (and prevent) unused uses (#5704) 2021-05-03 17:22:15 -04:00
Loop Correctly interpret continue 2 in nested loops 2021-05-17 08:26:38 -05:00
Progress Add framework for taint analysis to Psalm 2019-08-04 10:37:36 -04:00
ReturnTypeProvider Support array of objects in array_column() (#5567) 2021-04-04 00:01:01 -04:00
Template Fix skipped test 2021-05-20 10:57:25 -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 Assert intersection type when two variables are compared (#5774) 2021-05-18 16:14:58 -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 Allow empty-string in first position of an type (#5814) 2021-05-22 12:36:02 -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 Allow union of 0|positive-int to bypass PossiblyUndefinedIntArrayOffset error 2021-05-23 13:59:40 -04:00
ArrayAssignmentTest.php Fix ##5795 - array casts should always be lists 2021-05-19 15:17:50 -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 better inference of string increment (#5777) 2021-05-17 07:44:53 -05: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 Fix/suppress failures 2021-05-19 15:30:36 -04:00
JsonOutputTest.php Support enums (#5699) 2021-05-03 17:54:09 -04:00
junit.xsd Validate junit output against xsd 2020-03-08 20:18:35 -05:00
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 Fix #5809 - remove unnecessary issue suppression 2021-05-21 07:35:01 -04:00
MethodMutationTest.php More return types (#4173) 2020-09-12 11:24:05 -04:00
MethodSignatureTest.php Mixed contains everything (#5763) 2021-05-14 20:23:54 -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 update hardcoded Psalm version (#5783) 2021-05-17 08:27:08 -05: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 update hardcoded Psalm version (#5783) 2021-05-17 08:27:08 -05:00
ReturnTypeTest.php Fix combination of end states with never 2021-05-17 12:35:27 -05:00
SelfOutTest.php More return types (#4173) 2020-09-12 11:24:05 -04:00
StubTest.php update hardcoded Psalm version (#5783) 2021-05-17 08:27:08 -05:00
SwitchTypeTest.php Fix #5789 - prevent incorrect return type inference when all cases return 2021-05-18 08:52:41 -04:00
TaintTest.php Taint through reset call 2021-03-28 13:14:35 -04:00
TestCase.php update hardcoded Psalm version (#5783) 2021-05-17 08:27:08 -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 Prioritize TCallableString handling to avoid simpler checks for TLowercaseString vs TString (#5811) 2021-05-21 07:44:26 -04:00
TypeParseTest.php Support enums (#5699) 2021-05-03 17:54:09 -04:00
UnusedCodeTest.php Fix #5810 - detect properties that are never read 2021-05-21 09:25:57 -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