1
0
mirror of https://github.com/danog/psalm.git synced 2024-11-30 04:39:00 +01:00
psalm/tests
2e3s df8d2e2296
Overwrite memoized return type after sum-type candidate is calculated (#4805)
* Overwrite memoized return type after sum-type candidate is calculated

* Fix mismatched types

* Fix code style
2021-01-29 11:47:18 +01:00
..
CommandFunctions More return types (#4173) 2021-01-29 11:38:57 +01:00
Config improve Atomic Types documentation (#4735) 2021-01-29 11:47:07 +01:00
EndToEnd Fix test 2021-01-29 11:46:19 +01:00
FileManipulation handle return flag for a try/catch/finally (#4746) 2021-01-29 11:47:10 +01:00
FileUpdates Fix tests 2021-01-29 11:46:05 +01:00
fixtures Fix windows builds (#4775) 2021-01-29 11:47:15 +01:00
Internal/Provider Fix #4464 - bust cache when Psalm’s version changes, not just composer’s 2021-01-29 11:45:01 +01:00
LanguageServer unused use statements (#4228) 2021-01-29 11:39:42 +01:00
Loop Fix test failures 2021-01-29 11:46:26 +01:00
Progress
Template Overwrite memoized return type after sum-type candidate is calculated (#4805) 2021-01-29 11:47:18 +01:00
Traits Ensure Stringable is always available to tests that need it 2021-01-29 11:44:35 +01:00
TypeReconciliation Fix #4802 - don’t clone context when analysing coalesce 2021-01-29 11:47:17 +01:00
AlgebraTest.php Fix overeager inference 2021-01-29 11:45:02 +01:00
AnnotationTest.php Fix int-mask-of expansion 2021-01-29 11:45:02 +01:00
ArgTest.php Allow named arguments to variadic functions (#4575) 2021-01-29 11:46:11 +01:00
ArrayAccessTest.php Break out array_key_exists tests 2021-01-29 11:47:12 +01:00
ArrayAssignmentTest.php Support simple list assignment in foreach 2021-01-29 11:47:17 +01:00
ArrayFunctionCallTest.php Break out array_key_exists tests 2021-01-29 11:47:12 +01:00
AssertAnnotationTest.php Check from_docblock property to emit the right issue (#4736) 2021-01-29 11:47:06 +01:00
AssignmentTest.php More return types (#4173) 2021-01-29 11:38:57 +01:00
AttributeTest.php Fix #4798 - improve conversion from type back to PhpParser node 2021-01-29 11:47:18 +01:00
BadFormatTest.php More return types (#4173) 2021-01-29 11:38:57 +01:00
BinaryOperationTest.php support shift and bitwise operations in constants (#4740) 2021-01-29 11:47:07 +01:00
CallableTest.php Fix #4210 - fix __invoke declaration tracing 2021-01-29 11:39:38 +01:00
ClassLoadOrderTest.php Detect redundant cast (#4695) 2021-01-29 11:46:25 +01:00
ClassScopeTest.php More return types (#4173) 2021-01-29 11:38:57 +01:00
ClassStringTest.php More return types (#4173) 2021-01-29 11:38:57 +01:00
ClassTest.php Fix tests 2021-01-29 11:46:05 +01:00
CloneTest.php More return types (#4173) 2021-01-29 11:38:57 +01:00
ClosureTest.php Fix implicit void closure not getting recognised 2021-01-29 11:47:14 +01:00
CodebaseTest.php More return types (#4173) 2021-01-29 11:38:57 +01:00
ComposerLockTest.php More return types (#4173) 2021-01-29 11:38:57 +01:00
ConstantTest.php Break out array_key_exists tests 2021-01-29 11:47:12 +01:00
DeprecatedAnnotationTest.php More return types (#4173) 2021-01-29 11:38:57 +01:00
DocblockInheritanceTest.php Fix #4537 - use more rigorous inerhitance for return and param types 2021-01-29 11:46:09 +01:00
DocCommentTest.php Test parallelization (#4045) 2021-01-29 11:38:04 +01:00
DocumentationTest.php Added test to enforce that all supported annotations are documented (#4723) 2021-01-29 11:47:04 +01:00
EnumTest.php More return types (#4173) 2021-01-29 11:38:57 +01:00
ErrorBaselineTest.php return types (#4311) 2021-01-29 11:39:53 +01:00
ExtendsFinalClassTest.php More return types (#4173) 2021-01-29 11:38:57 +01:00
ExtensionRequirementTest.php Initial proposal for psalm-require-{extends, implements} (#4361) 2021-01-29 11:41:10 +01:00
FileDiffTest.php replace deprecated methods with their equivalent (#4217) 2021-01-29 11:39:39 +01:00
FileReferenceTest.php unused use statements (#4228) 2021-01-29 11:39:42 +01:00
ForbiddenCodeTest.php More return types (#4173) 2021-01-29 11:38:57 +01:00
FunctionCallTest.php Check from_docblock property to emit the right issue (#4736) 2021-01-29 11:47:06 +01:00
GeneratorTest.php More return types (#4173) 2021-01-29 11:38:57 +01:00
IfThisIsTest.php
ImmutableAnnotationTest.php unused use statements (#4228) 2021-01-29 11:39:42 +01:00
ImplementationRequirementTest.php Initial proposal for psalm-require-{extends, implements} (#4361) 2021-01-29 11:41:10 +01:00
IncludeTest.php Fix #4264 - prevent crash when analysing file with duplicate classes 2021-01-29 11:39:44 +01:00
InterfaceTest.php Fix implicit void closure not getting recognised 2021-01-29 11:47:14 +01:00
InternalAnnotationTest.php More return types (#4173) 2021-01-29 11:38:57 +01:00
IssueBufferTest.php More return types (#4173) 2021-01-29 11:38:57 +01:00
IssueSuppressionTest.php Support multiple issue types in @psalm-suppress (#4179) 2021-01-29 11:39:36 +01:00
JsonOutputTest.php Fix #4349 - improve types for suggested unions 2021-01-29 11:39:57 +01:00
junit.xsd
ListTest.php More return types (#4173) 2021-01-29 11:38:57 +01:00
MagicMethodAnnotationTest.php More return types (#4173) 2021-01-29 11:38:57 +01:00
MagicPropertyTest.php More return types (#4173) 2021-01-29 11:38:57 +01:00
MatchTest.php Fix #4544 - improve handling of get_class in match 2021-01-29 11:46:10 +01:00
MethodCallTest.php Detect redundant cast (#4695) 2021-01-29 11:46:25 +01:00
MethodMutationTest.php More return types (#4173) 2021-01-29 11:38:57 +01:00
MethodSignatureTest.php Fix #4751 - allow MethodSignatureMismatch to be overridable when info comes from docblock 2021-01-29 11:47:12 +01:00
MixinAnnotationTest.php unused use statements (#4228) 2021-01-29 11:39:42 +01:00
NamespaceTest.php More return types (#4173) 2021-01-29 11:38:57 +01:00
Php40Test.php More return types (#4173) 2021-01-29 11:38:57 +01:00
Php55Test.php More return types (#4173) 2021-01-29 11:38:57 +01:00
Php56Test.php support shift and bitwise operations in constants (#4740) 2021-01-29 11:47:07 +01:00
Php70Test.php Fix test failures 2021-01-29 11:46:26 +01:00
Php71Test.php More return types (#4173) 2021-01-29 11:38:57 +01:00
ProjectCheckerTest.php unused use statements (#4228) 2021-01-29 11:39:42 +01:00
PropertyTypeTest.php Fix #4778 - remove already-initialized properties when checking initialisation 2021-01-29 11:47:16 +01:00
PsalmPluginTest.php More return types (#4173) 2021-01-29 11:38:57 +01:00
PureAnnotationTest.php unused use statements (#4228) 2021-01-29 11:39:42 +01:00
PureCallableTest.php More return types (#4173) 2021-01-29 11:38:57 +01:00
ReferenceConstraintTest.php More return types (#4173) 2021-01-29 11:38:57 +01:00
ReportOutputTest.php Add SARIF as report output (#4582) 2021-01-29 11:46:13 +01:00
ReturnTypeTest.php Fix implicit void closure not getting recognised 2021-01-29 11:47:14 +01:00
SelfOutTest.php More return types (#4173) 2021-01-29 11:38:57 +01:00
StubTest.php Fix #4705 - clear documenting method ids when scanning stubs 2021-01-29 11:47:10 +01:00
SwitchTypeTest.php Fix #4794 - invvalidate dependent types when their variables change 2021-01-29 11:47:17 +01:00
TaintTest.php Taint all when conditional return is used 2021-01-29 11:47:16 +01:00
TestCase.php Add SARIF as report output (#4582) 2021-01-29 11:46:13 +01:00
TestConfig.php replace return; by return null; in every non-void method, add return null; when mising, add return types, remove redundant phpdoc (#4176) 2021-01-29 11:38:58 +01:00
ThrowsAnnotationTest.php More return types (#4173) 2021-01-29 11:38:57 +01:00
ThrowsInGlobalScopeTest.php More return types (#4173) 2021-01-29 11:38:57 +01:00
ToStringTest.php Ensure Stringable is always available to tests that need it 2021-01-29 11:44:35 +01:00
TraceTest.php More return types (#4173) 2021-01-29 11:38:57 +01:00
TraitTest.php Track final-ness of class when evaluating trait returns 2021-01-29 11:44:31 +01:00
TryCatchTest.php Make more try vars potentially undefined 2021-01-29 11:47:14 +01:00
TypeAnnotationTest.php Fix #4653 - prevent crash with recursive type in root namespace 2021-01-29 11:46:20 +01:00
TypeCombinationTest.php Don’t erase already-known literal ints 2021-01-29 11:46:20 +01:00
TypeParseTest.php Turn template bound tuples into object 2021-01-29 11:46:27 +01:00
UnusedCodeTest.php Fix #4386 - fix issues with property promotion 2021-01-29 11:41:13 +01:00
UnusedVariableTest.php Mixed array access should mark vars as used just in case 2021-01-29 11:47:14 +01:00
VariadicTest.php More return types (#4173) 2021-01-29 11:38:57 +01:00