1
0
mirror of https://github.com/danog/psalm.git synced 2024-12-17 03:47:04 +01:00
psalm/tests
orklah 90e1662964
Merge pull request #6241 from orklah/range5
Range arithmetics and assertions
2021-09-20 07:15:43 +02:00
..
CommandFunctions Separate memory limit formatting from retrieval 2021-07-02 02:59:43 +03:00
Config test 2021-09-02 20:53:23 +02:00
EndToEnd Fix end-to-end tests 2021-06-10 18:07:41 -04:00
FileManipulation Prevent failures with dev PHP versions 2021-09-07 01:43:03 +03: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 qa: add failing test regarding recursive alias resolving 2021-08-18 16:18:44 +02:00
LanguageServer Drop FakeFileProvider from tests folder 2021-07-02 03:57:57 +03:00
Loop changes after review 2021-09-19 19:30:03 +02:00
Progress
ReturnTypeProvider Add failing test 2021-07-24 16:02:13 +01:00
Template Fix #6212 - remove untested code, add test for reasonable behaviour 2021-07-31 19:50:56 -04: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 improve test 2021-09-19 19:30:00 +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 fix test 2021-08-09 21:18:19 +02:00
ArrayFunctionCallTest.php Warn about array_walk_recursive over objects 2021-08-31 23:18:20 +03:00
AssertAnnotationTest.php Add ReflectionProperty::getType() and hasType() 2021-07-10 13:05:57 +02: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 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 Merge pull request #6167 from orklah/non-div-with-numeric-and-int 2021-07-25 13:56:48 +03: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 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 introduce $definite_class flag and use it to avoid using final keyword for simple inference 2021-08-19 23:19:59 +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 Added test to detect problems and inconsistencies in CallMap files 2021-08-05 19:07:31 +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
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 fix Pow 2021-09-19 19:30:03 +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 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 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 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 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 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
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 No false-positives for tainting through array keys 2021-06-29 17:05:39 -04: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 mark variable used in backticks as used 2021-08-29 00:26:52 +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