1
0
mirror of https://github.com/danog/psalm.git synced 2024-12-14 10:17:33 +01:00
psalm/tests
orklah 79478a60b1
Allow class constant as offset key (#5943)
* allow class-constant as an array offset when the type match

* remove object with __toString as a possible offset as it's not valid
2021-06-17 18:15:57 -04:00
..
CommandFunctions Enforce use sort (#5900) 2021-06-07 22:55:21 -04:00
Config Enforce use sort (#5900) 2021-06-07 22:55:21 -04:00
EndToEnd Fix end-to-end tests 2021-06-10 18:07:41 -04:00
FileManipulation allow Psalter to fix RedundantCast (#5948) 2021-06-17 18:15:45 -04:00
FileUpdates Improve test cases 2021-06-10 12:57:13 -04:00
fixtures Resolve build issues 2021-03-22 19:37:49 -04:00
Internal/Provider Mark interface methods as unused even when inherited 2021-06-12 16:13:29 -04:00
LanguageServer Enforce use sort (#5900) 2021-06-07 22:55:21 -04:00
Loop Enforce use sort (#5900) 2021-06-07 22:55:21 -04:00
Progress
ReturnTypeProvider Support array of objects in array_column() (#5567) 2021-04-04 00:01:01 -04:00
Template Prevent nested literal coercion 2021-06-09 16:01:45 -04:00
Traits Enforce use sort (#5900) 2021-06-07 22:55:21 -04:00
TypeReconciliation Fix generic destruction in assertion (#5888) 2021-06-04 15:33:37 -04:00
AlgebraTest.php Enforce use sort (#5900) 2021-06-07 22:55:21 -04:00
AnnotationTest.php Enforce use sort (#5900) 2021-06-07 22:55:21 -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 Transform bad offsets (#5817) 2021-05-23 14:43:30 -04:00
ArrayAssignmentTest.php Allow class constant as offset key (#5943) 2021-06-17 18:15:57 -04:00
ArrayFunctionCallTest.php Add support for literal-int annotations as well 2021-06-14 23:24:09 -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 Add support for literal-int annotations as well 2021-06-14 23:24:09 -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 Enforce use sort (#5900) 2021-06-07 22:55:21 -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 Enforce use sort (#5900) 2021-06-07 22:55:21 -04:00
CommentAnalyzerTest.php Enforce use sort (#5900) 2021-06-07 22:55:21 -04:00
ComposerLockTest.php Enforce use sort (#5900) 2021-06-07 22:55:21 -04:00
ConstantTest.php Prevent crashes when class constant references missing class (#5902) 2021-06-07 13:20:07 -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 Enforce use sort (#5900) 2021-06-07 22:55:21 -04: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 Enforce use sort (#5900) 2021-06-07 22:55:21 -04:00
FileReferenceTest.php Enforce use sort (#5900) 2021-06-07 22:55:21 -04: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 Fix sscanf() signature (#5901) 2021-06-07 13:19:17 -04:00
FunctionLikeDocblockParserTest.php Enforce use sort (#5900) 2021-06-07 22:55:21 -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 Enforce use sort (#5900) 2021-06-07 22:55:21 -04: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 Check whether constructor is internal on new call (#5843) 2021-05-28 09:44:07 -04:00
IssueBufferTest.php Remove (and prevent) unused uses (#5704) 2021-05-03 17:22:15 -04:00
IssueSuppressionTest.php Enforce use sort (#5900) 2021-06-07 22:55:21 -04:00
JsonOutputTest.php Enforce use sort (#5900) 2021-06-07 22:55:21 -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 Enforce use sort (#5900) 2021-06-07 22:55:21 -04:00
MagicPropertyTest.php Enforce use sort (#5900) 2021-06-07 22:55:21 -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 Enforce use sort (#5900) 2021-06-07 22:55:21 -04:00
MethodMutationTest.php More return types (#4173) 2020-09-12 11:24:05 -04:00
MethodSignatureTest.php Enforce use sort (#5900) 2021-06-07 22:55:21 -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 Enforce use sort (#5900) 2021-06-07 22:55:21 -04:00
PropertyTypeInvarianceTest.php Support template property invariance (fixes #5371) (#5414) 2021-03-19 21:55:50 -04:00
PropertyTypeTest.php Enforce use sort (#5900) 2021-06-07 22:55:21 -04:00
PsalmPluginTest.php More return types (#4173) 2020-09-12 11:24:05 -04:00
PureAnnotationTest.php Treat all assignment operations as equivalent binary ops 2021-06-04 14:39:38 -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
ReadonlyPropertyTest.php Treat all assignment operations as equivalent binary ops 2021-06-04 14:39:38 -04:00
ReferenceConstraintTest.php Only check param-out when no exception is thrown 2021-03-27 09:50:20 -04:00
ReportOutputTest.php Update ReportOutputTest.php 2021-06-10 17:59:41 -04: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 Enforce use sort (#5900) 2021-06-07 22:55:21 -04:00
SwitchTypeTest.php Fix #5911 - improve non-terminating switch type inference 2021-06-09 09:06:23 -04:00
TaintTest.php Fix #5918 - add new issue to detect unquoted strings 2021-06-10 17:43:04 -04:00
TestCase.php Enforce use sort (#5900) 2021-06-07 22:55:21 -04:00
TestConfig.php Enforce use sort (#5900) 2021-06-07 22:55:21 -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 Add support for literal-int annotations as well 2021-06-14 23:24:09 -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 Enforce use sort (#5900) 2021-06-07 22:55:21 -04:00
UnusedCodeTest.php Improve detection of fluent methods 2021-06-12 17:09:42 -04:00
UnusedVariableTest.php Emit separate type of issue when foreach value is unused (#5932) 2021-06-17 00:40:24 -04:00
VariadicTest.php Enforce use sort (#5900) 2021-06-07 22:55:21 -04:00