1
0
mirror of https://github.com/danog/psalm.git synced 2024-11-30 04:39:00 +01:00
psalm/tests
2021-10-11 20:45:54 +02:00
..
CommandFunctions Separate memory limit formatting from retrieval 2021-07-02 02:59:43 +03:00
Config Add unit test 2021-09-23 15:30:30 +00:00
EndToEnd Fix end-to-end tests 2021-06-10 18:07:41 -04:00
FileManipulation add test 2021-10-05 19:49:05 +02:00
FileUpdates Drop FakeFileProvider from tests folder 2021-07-02 03:57:57 +03:00
fixtures Resolve build issues 2021-03-22 19:37:49 -04:00
Internal fix build 2021-09-23 19:29:15 +02:00
LanguageServer Drop FakeFileProvider from tests folder 2021-07-02 03:57:57 +03:00
Loop add test 2021-10-10 10:31:30 +02:00
Progress
ReturnTypeProvider Add failing test 2021-07-24 16:02:13 +01:00
Template put back one of the errors 2021-10-09 22:09:48 +02:00
Traits Enforce use sort (#5900) 2021-06-07 22:55:21 -04:00
Type feature: introduce literal float methods to Union type 2021-08-06 21:05:26 +02:00
TypeReconciliation fix test 2021-10-11 16:11:22 +02:00
AlgebraTest.php Enforce use sort (#5900) 2021-06-07 22:55:21 -04:00
AnnotationTest.php fix test? 2021-08-07 10:18:06 +02: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 improve min/max inference, add a return type provider for rand, mt_rand and random_int 2021-10-02 09:53:58 +02:00
ArrayFunctionCallTest.php add test 2021-10-07 11:04:51 +02:00
AssertAnnotationTest.php fix test 2021-10-02 10:02:24 +02:00
AssignmentTest.php improve min/max inference, add a return type provider for rand, mt_rand and random_int 2021-10-02 09:53:58 +02:00
AttributeTest.php Use fully-qualified name for virtual class strings 2021-08-01 02:22:16 +03:00
BadFormatTest.php More return types (#4173) 2020-09-12 11:24:05 -04:00
BinaryOperationTest.php restrict the test because int size is fixed on runtime environment 2021-09-23 21:24:17 +02: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
ClassLikeStringTest.php assert from TClassString 2021-09-17 20:05:25 +02: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
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 [TASK] Resolve namespace of class related AST statements 2021-09-27 11:19:24 +02: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 Allow Psalm to store unresolved Unary Ops 2021-10-10 09:24:25 +02:00
ConstValuesTest.php Rename incorrectly-named test 2021-04-25 18:26:00 -04:00
CoreStubsTest.php Add test 2021-09-09 16:04:12 +02:00
DeprecatedAnnotationTest.php Check deprecated properties on $this->prop reads 2021-07-17 01:20:35 +03: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 Basic enum checks 2021-09-07 12:35:38 +03:00
EnumTest.php Basic enum checks 2021-09-07 12:35:38 +03:00
ErrorBaselineTest.php Trim code snippets on both sides when comparing current issues against baseline 2021-06-26 22:37:29 +01: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 Drop FakeFileProvider from tests folder 2021-07-02 03:57:57 +03: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 Allow sending possibly_undefined inputs to optional params 2021-10-10 12:44:04 +02:00
FunctionLikeDocblockParserTest.php Enforce use sort (#5900) 2021-06-07 22:55:21 -04:00
GeneratorTest.php fix Generator giving templates to Iterator 2021-09-02 20:12:32 +02:00
IfThisIsTest.php Fixes 2021-09-22 10:26:21 +02: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 Fix error message for call to internal method from root namespace 2021-08-17 18:54:57 +01:00
IntRangeTest.php improve min/max inference, add a return type provider for rand, mt_rand and random_int 2021-10-02 09:53:58 +02:00
IssueBufferTest.php Remove unecassary concatentation of string literals 2021-06-27 00:08:03 +01:00
IssueSuppressionTest.php fix CS 2021-08-19 19:34:30 +02:00
JsonOutputTest.php Drop FakeFileProvider from tests folder 2021-07-02 03:57:57 +03: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 Fix negative numbers 2021-07-08 19:17:31 +03:00
MagicPropertyTest.php Prevent @property annotations on class properties 2021-08-17 23:40:26 +09: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 Test should fail on 8.0, but not on 7.4 2021-07-03 05:01:10 -04:00
MethodMutationTest.php More return types (#4173) 2020-09-12 11:24:05 -04:00
MethodSignatureTest.php Got rid of test 2021-09-16 23:07:32 +12: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 improve min/max inference, add a return type provider for rand, mt_rand and random_int 2021-10-02 09:53:58 +02: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 Drop FakeFileProvider from tests folder 2021-07-02 03:57:57 +03:00
PropertyTypeInvarianceTest.php Support template property invariance (fixes #5371) (#5414) 2021-03-19 21:55:50 -04:00
PropertyTypeTest.php Flag staticness mismatch 2021-07-18 02:51:33 +03:00
PsalmPluginTest.php More return types (#4173) 2020-09-12 11:24:05 -04:00
PureAnnotationTest.php Consider print, and conditionally exit / die impure 2021-07-27 13:26:54 +01: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 Add support for native PHP readonly 2021-07-21 13:29:07 -04:00
ReferenceConstraintTest.php Force array_walk to not infer input type. 2021-09-06 15:15:25 +02:00
ReportOutputTest.php Encode XML output consistently 2021-09-05 20:06:59 +03:00
ReturnTypeTest.php fix test 2021-10-11 19:23:56 +02:00
SelfOutTest.php More return types (#4173) 2020-09-12 11:24:05 -04:00
somefile.php create real path for Psalm to stop ignoring suppressions 2021-08-19 19:31:58 +02:00
StubTest.php Support interface-string<Foo> as temporary alias of class-string<Foo> (#6106) 2021-07-16 18:38:39 -04:00
SuperGlobalsTest.php Added test 2021-09-08 22:41:23 +03:00
SwitchTypeTest.php Fix #5911 - improve non-terminating switch type inference 2021-06-09 09:06:23 -04:00
TaintTest.php Merge pull request #6538 from orklah/taint-windows 2021-09-27 20:37:27 +02:00
TestCase.php Add simple test to verify outout of getCallMap method 2021-08-08 10:39:54 +02:00
TestConfig.php create real path for Psalm to stop ignoring suppressions 2021-08-19 19:31:58 +02: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 Restrict type of implode to prevent Array-to-string conversion; 2021-06-21 19:55:27 -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 Drop FakeFileProvider from tests folder 2021-07-02 03:57:57 +03:00
TypeParseTest.php Allow 0 for all bitmask types 2021-07-16 23:20:33 +03:00
UnusedCodeTest.php add test 2021-10-11 17:33:02 +02:00
UnusedVariableTest.php remove test no longer applicable 2021-07-17 23:20:13 +02:00
VariadicTest.php Enforce use sort (#5900) 2021-06-07 22:55:21 -04:00