1
0
mirror of https://github.com/danog/psalm.git synced 2024-11-27 04:45:20 +01:00
psalm/tests
Barney Laurance 509aadc08a
Remove all (but one) properity declarations that needed NonInvariantDocblockPropertyType suppressed (#5174)
The remaining property
\Psalm\Internal\Analyzer\NamespaceAnalyzer::$source seems a bit harder
to fix
2021-02-08 09:36:42 -05:00
..
CommandFunctions More return types (#4173) 2020-09-12 11:24:05 -04:00
Config Remove all (but one) properity declarations that needed NonInvariantDocblockPropertyType suppressed (#5174) 2021-02-08 09:36:42 -05:00
EndToEnd Use separate exit code to indicate Psalm finding issues (#5087) 2021-01-24 13:30:35 -05:00
FileManipulation improve psalter capacities for anonymous class extending real classes (#5146) 2021-02-04 09:59:38 -05:00
FileUpdates Remove file map cache when re-analyzing files (#5084) 2021-01-22 16:05:28 -05:00
fixtures Add option to dump taint graph (#5080) 2021-01-22 16:04:15 -05:00
Internal/Provider Revert "Correct Psalm’s concept of string emptiness" 2021-02-03 01:09:58 -05:00
LanguageServer Track references on global variables (#5122) 2021-01-28 18:58:02 -05:00
Loop Fix #5001 - update variables after context after type change from empty 2021-01-13 11:35:52 -05:00
Progress
Template Fix #5172 - prevent calling function with implicitly-broader type 2021-02-07 11:07:22 -05:00
Traits Ensure Stringable is always available to tests that need it 2020-10-29 19:41:10 -04:00
TypeReconciliation Add non-falsy-string to allow more accurate checks 2021-02-03 17:19:48 -05:00
AlgebraTest.php Fix overeager inference 2020-11-03 16:44:24 -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 add ArrayAccess to SimpleXmlElement (#4934) 2021-01-06 09:44:12 -05:00
ArrayAssignmentTest.php don't throw InvalidArrayOffset when dealing with templates (#5019) 2021-01-14 16:35:06 -05:00
ArrayFunctionCallTest.php Fix #5176 - substitute in actual argument when instance type found 2021-02-08 09:29:41 -05:00
AssertAnnotationTest.php Ensure getId() output can always be parsed as a type 2021-01-25 23:41:51 -05:00
AssignmentTest.php More return types (#4173) 2020-09-12 11:24:05 -04:00
AttributeTest.php Allow Attribute::IS_REPEATABLE (#4971) 2021-01-10 21:55:06 -05:00
BadFormatTest.php More return types (#4173) 2020-09-12 11:24:05 -04:00
BinaryOperationTest.php Calculate more literal values (#5032) 2021-01-17 10:55:32 -05:00
CallableTest.php Fix #4210 - fix __invoke declaration tracing 2020-09-19 14:18:52 -04:00
ClassLoadOrderTest.php Detect redundant cast (#4695) 2020-11-25 12:04:48 -05:00
ClassScopeTest.php More return types (#4173) 2020-09-12 11:24:05 -04:00
ClassStringTest.php More return types (#4173) 2020-09-12 11:24:05 -04:00
ClassTest.php Prevent invalid Traversable implementation (#5171) 2021-02-06 22:10:05 -05:00
CloneTest.php More return types (#4173) 2020-09-12 11:24:05 -04:00
ClosureTest.php Ensure getId() output can always be parsed as a type 2021-01-25 23:41:51 -05:00
CodebaseTest.php implement DTO for plugins (#4881) 2021-01-06 09:05:53 -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 More return types (#4173) 2020-09-12 11:24:05 -04:00
DocblockInheritanceTest.php Fix #4537 - use more rigorous inerhitance for return and param types 2020-11-12 13:54:27 -05:00
DocCommentTest.php Test parallelization (#4045) 2020-08-23 10:32:07 -04:00
DocumentationTest.php Added test to enforce that all supported annotations are documented (#4723) 2020-11-27 21:48:16 -05:00
EnumTest.php More return types (#4173) 2020-09-12 11:24:05 -04:00
ErrorBaselineTest.php return types (#4311) 2020-10-12 15:02:52 -04:00
ExtendsFinalClassTest.php More return types (#4173) 2020-09-12 11:24:05 -04:00
ExtensionRequirementTest.php Initial proposal for psalm-require-{extends, implements} (#4361) 2020-10-19 15:08:18 -04:00
FileDiffTest.php replace deprecated methods with their equivalent (#4217) 2020-09-20 08:56:49 -04:00
FileReferenceTest.php unused use statements (#4228) 2020-09-22 01:10:46 -04:00
ForbiddenCodeTest.php More return types (#4173) 2020-09-12 11:24:05 -04:00
FunctionCallTest.php #4997 added more precise type inference for count() returning 0 or positive-int on known arrays (#4999) 2021-01-13 09:48:38 -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 fix phpdoc (#4905) 2020-12-29 11:42:41 +00:00
InterfaceTest.php Fix #4010 – don’t create interface intersections unless there’s no overlap 2021-01-27 12:48:32 -05:00
InternalAnnotationTest.php More return types (#4173) 2020-09-12 11:24:05 -04:00
IssueBufferTest.php implement DTO for plugins (#4881) 2021-01-06 09:05:53 -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 Validate junit output against xsd 2020-03-08 20:18:35 -05:00
ListTest.php More return types (#4173) 2020-09-12 11:24:05 -04:00
MagicMethodAnnotationTest.php Allow by reference parameters in method docblock (#4873) 2020-12-21 17:11:34 +00:00
MagicPropertyTest.php More return types (#4173) 2020-09-12 11:24:05 -04:00
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 More return types (#4173) 2020-09-12 11:24:05 -04:00
MethodSignatureTest.php Fix #5070 – fix static return type inference in static methods 2021-01-22 09:58:09 -05:00
MixinAnnotationTest.php Fix #4837 - bind correct static class when checking mixin types 2020-12-14 22:51:32 -05:00
NamespaceTest.php More return types (#4173) 2020-09-12 11:24:05 -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 test failures 2020-11-25 20:05:09 -05:00
Php71Test.php More return types (#4173) 2020-09-12 11:24:05 -04:00
ProjectCheckerTest.php implement DTO for plugins (#4881) 2021-01-06 09:05:53 -05:00
PropertyTypeInvarianceTest.php Allow property type invariance on templated properties 2021-02-07 01:45:48 -05:00
PropertyTypeTest.php Limited fix for #5028 2021-02-07 22:56:37 -05:00
PsalmPluginTest.php More return types (#4173) 2020-09-12 11:24:05 -04:00
PureAnnotationTest.php Tighten up rules arouund when mutation-free methods get memoised 2020-12-08 16:39:06 -05:00
PureCallableTest.php More return types (#4173) 2020-09-12 11:24:05 -04:00
ReferenceConstraintTest.php More return types (#4173) 2020-09-12 11:24:05 -04:00
ReportOutputTest.php SARIF report: Include help links (#4924) 2021-01-03 01:45:21 +00:00
ReturnTypeTest.php Ensure getId() output can always be parsed as a type 2021-01-25 23:41:51 -05:00
SelfOutTest.php More return types (#4173) 2020-09-12 11:24:05 -04:00
StubTest.php Fix #4705 - clear documenting method ids when scanning stubs 2020-12-01 11:23:38 -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 replace return; by return null; in every non-void method, add return null; when mising, add return types, remove redundant phpdoc (#4176) 2020-09-13 16:39:06 -04: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 Ensure Stringable is always available to tests that need it 2020-10-29 19:41:10 -04:00
TraceTest.php More return types (#4173) 2020-09-12 11:24:05 -04:00
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 Fix #4653 - prevent crash with recursive type in root namespace 2020-11-22 00:26:14 -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 Ensure getId() output can always be parsed as a type 2021-01-25 23:41:51 -05:00
UnusedCodeTest.php Break out parent and implemented class checks 2021-01-05 17:49:55 -05:00
UnusedVariableTest.php Mark variables in throw arguments as used (#5166) 2021-02-06 22:07:01 -05:00
VariadicTest.php More return types (#4173) 2020-09-12 11:24:05 -04:00