1
0
mirror of https://github.com/danog/psalm.git synced 2024-12-12 09:19:40 +01:00
psalm/tests
2021-10-05 19:49:05 +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 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 different context templates invalid argument bug for trait. 2021-09-13 23:43:09 +03: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 Merge pull request #6473 from orklah/double-assert2 2021-10-04 13:30:38 +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 improve min/max inference, add a return type provider for rand, mt_rand and random_int 2021-10-02 09:53:58 +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
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 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
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
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 assert that some type is a list 2021-10-02 10:02:22 +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
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
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
Php55Test.php
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
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
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
ThrowsInGlobalScopeTest.php
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