1
0
mirror of https://github.com/danog/psalm.git synced 2024-11-27 04:45:20 +01:00
psalm/tests
orklah dd4d970a37
makes array_combine return non-empty-array for most cases (#5393)
* makes array_combine return non-empty-array for most cases

* Add back newline

Co-authored-by: Matthew Brown <github@muglug.com>
2021-03-14 21:18:19 -04:00
..
CommandFunctions
Config Wrap entrypoints into IIFE to protect their variables (#5366) 2021-03-11 00:14:22 -05:00
EndToEnd Wrap entrypoints into IIFE to protect their variables (#5366) 2021-03-11 00:14:22 -05:00
FileManipulation improve psalter capacities for anonymous class extending real classes (#5146) 2021-02-04 09:59:38 -05:00
FileUpdates When there’s an irrecoverqable syntax error invalidate all issues in the file 2021-02-14 21:16:12 -05:00
fixtures Wrap entrypoints into IIFE to protect their variables (#5366) 2021-03-11 00:14:22 -05:00
Internal/Provider Revert "Correct Psalm’s concept of string emptiness" 2021-02-03 01:09:58 -05:00
LanguageServer Add more tests for robustness 2021-02-28 10:36:18 -05:00
Loop Fix #5001 - update variables after context after type change from empty 2021-01-13 11:35:52 -05:00
Progress
Template Make WeakMap generic (#5313) 2021-03-02 22:25:19 -05:00
Traits Ensure Stringable is always available to tests that need it 2020-10-29 19:41:10 -04:00
TypeReconciliation Fix #5236 - improve reconciliation of interfaces when unioned with class 2021-02-24 00:05:12 -05: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 Fix int-mask-of expansion 2020-11-02 00:40:36 -05:00
ArgTest.php Fix #4631 - prevent reusing named params 2021-01-27 22:53:55 -05:00
ArrayAccessTest.php Fix test 2021-02-09 01:37:56 -05:00
ArrayAssignmentTest.php don't throw InvalidArrayOffset when dealing with templates (#5019) 2021-01-14 16:35:06 -05:00
ArrayFunctionCallTest.php makes array_combine return non-empty-array for most cases (#5393) 2021-03-14 21:18:19 -04:00
AssertAnnotationTest.php Fix #5258 - allow ReflectionParameeter::hasType() to inform getType() return 2021-03-06 16:54:23 -05:00
AssignmentTest.php
AttributeTest.php Allow Attribute::IS_REPEATABLE (#4971) 2021-01-10 21:55:06 -05:00
BadFormatTest.php
BinaryOperationTest.php fix int overflow (#5369) 2021-03-12 13:24:00 -05:00
CallableTest.php Fix #4210 - fix __invoke declaration tracing 2020-09-19 14:18:52 -04:00
ClassLikeDocblockParserTest.php Add documentation to LSP (#5267) 2021-02-24 10:14:04 -05:00
ClassLoadOrderTest.php Detect redundant cast (#4695) 2020-11-25 12:04:48 -05:00
ClassScopeTest.php
ClassStringTest.php
ClassTest.php Prevent invalid Traversable implementation (#5171) 2021-02-06 22:10:05 -05:00
CloneTest.php
ClosureTest.php fix usage of callable with array_map (#5373) 2021-03-12 14:05:22 -05:00
CodebaseTest.php implement DTO for plugins (#4881) 2021-01-06 09:05:53 -05:00
CommentAnalyzerTest.php Add documentation to LSP (#5267) 2021-02-24 10:14:04 -05:00
ComposerLockTest.php allow libraries to provide psalm plugins (#5165) 2021-02-06 22:06:00 -05:00
ConstantTest.php Break out array_key_exists tests 2020-12-02 14:42:16 -05:00
DeprecatedAnnotationTest.php
DocblockInheritanceTest.php Fix #4537 - use more rigorous inerhitance for return and param types 2020-11-12 13:54:27 -05:00
DocCommentTest.php
DocumentationTest.php Added test to enforce that all supported annotations are documented (#4723) 2020-11-27 21:48:16 -05:00
EnumTest.php
ErrorBaselineTest.php return types (#4311) 2020-10-12 15:02:52 -04:00
ExtendsFinalClassTest.php
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
FunctionCallTest.php add stubs for min/max (#5353) 2021-03-11 00:13:17 -05:00
FunctionLikeDocblockParserTest.php Add documentation to LSP (#5267) 2021-02-24 10:14:04 -05:00
GeneratorTest.php Check iterator types on yield from (#5042) 2021-01-20 17:41:15 -05:00
ImmutableAnnotationTest.php unused use statements (#4228) 2020-09-22 01:10:46 -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 #5236 - improve reconciliation of interfaces when unioned with class 2021-02-24 00:05:12 -05:00
InternalAnnotationTest.php
IssueBufferTest.php Wrap entrypoints into IIFE to protect their variables (#5366) 2021-03-11 00:14:22 -05:00
IssueSuppressionTest.php Support multiple issue types in @psalm-suppress (#4179) 2020-09-13 16:41:14 -04:00
JsonOutputTest.php Ensure getId() output can always be parsed as a type 2021-01-25 23:41:51 -05:00
junit.xsd
ListTest.php
MagicMethodAnnotationTest.php Allow by reference parameters in method docblock (#4873) 2020-12-21 17:11:34 +00:00
MagicPropertyTest.php
MatchTest.php Fix #4544 - improve handling of get_class in match 2020-11-13 11:55:42 -05:00
MethodCallTest.php Remove ReflectionType::getName(), move ReflectionType::isBuiltin() (#5090) 2021-01-24 13:31:10 -05:00
MethodMutationTest.php
MethodSignatureTest.php Fix #5264 - use accurate static type when calling parent method in trait 2021-02-23 20:48:22 -05:00
MixinAnnotationTest.php Fix #4837 - bind correct static class when checking mixin types 2020-12-14 22:51:32 -05:00
NamespaceTest.php
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 Fix test failures 2020-11-25 20:05:09 -05:00
Php71Test.php
ProjectCheckerTest.php Wrap entrypoints into IIFE to protect their variables (#5366) 2021-03-11 00:14:22 -05:00
PropertyTypeInvarianceTest.php Allow property type invariance on templated properties 2021-02-07 01:45:48 -05:00
PropertyTypeTest.php Fix #5325 – remove all memoised methods when calling a method with property mutations 2021-03-05 00:39:25 -05:00
PsalmPluginTest.php
PureAnnotationTest.php Tighten up rules arouund when mutation-free methods get memoised 2020-12-08 16:39:06 -05:00
PureCallableTest.php
ReferenceConstraintTest.php
ReportOutputTest.php Wrap entrypoints into IIFE to protect their variables (#5366) 2021-03-11 00:14:22 -05:00
ReturnTypeTest.php Ensure getId() output can always be parsed as a type 2021-01-25 23:41:51 -05:00
SelfOutTest.php
StubTest.php Allow multiple version-dependent method stubs (#5337) 2021-03-06 17:18:51 -05:00
SwitchTypeTest.php Fix #4794 - invvalidate dependent types when their variables change 2020-12-06 18:16:22 -05:00
TaintTest.php Fix #5137 – support @psalm-flow in methods 2021-01-31 22:40:48 -05:00
TestCase.php Add SARIF as report output (#4582) 2020-11-17 13:23:20 -05:00
TestConfig.php
ThrowsAnnotationTest.php
ThrowsInGlobalScopeTest.php
ToStringTest.php Emit ImplicitToStringCast in more places (#5344) 2021-03-11 00:07:39 -05:00
TraceTest.php
TraitTest.php Track final-ness of class when evaluating trait returns 2020-10-25 12:20:18 -04:00
TryCatchTest.php Make more try vars potentially undefined 2020-12-03 11:44:10 -05:00
TypeAnnotationTest.php Allow @psalm-type and @psalm-import-type to be used in extends/implements (#5205) 2021-02-12 17:02:24 -05:00
TypeCombinationTest.php Fix #5141 - combine numeric-string and non-empty-string to non-empty-string 2021-02-03 17:40:41 -05:00
TypeParseTest.php Fix JSON reports with long UTF8 strings (#5300) 2021-03-01 11:23:21 -05:00
UnusedCodeTest.php Break out parent and implemented class checks 2021-01-05 17:49:55 -05:00
UnusedVariableTest.php Track variable usage in bool to int casts (#5349) 2021-03-11 00:08:32 -05:00
VariadicTest.php Rename stub to avoid phpstorm conflict (#5213) 2021-02-13 18:42:34 -05:00