1
0
mirror of https://github.com/danog/psalm.git synced 2024-12-05 13:10:49 +01:00
psalm/tests
Daniil Gentili 404db2bb1a
Fix JSON reports with long UTF8 strings (#5300)
* Fix JSON reports with long UTF8 strings

* CS fix

* UTF8-safe snippets
2021-03-01 11:23:21 -05:00
..
CommandFunctions More return types (#4173) 2020-09-12 11:24:05 -04:00
Config Rename stub to avoid phpstorm conflict (#5213) 2021-02-13 18:42:34 -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 When there’s an irrecoverqable syntax error invalidate all issues in the file 2021-02-14 21:16:12 -05:00
fixtures Rename stub to avoid phpstorm conflict (#5213) 2021-02-13 18:42:34 -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 Add framework for taint analysis to Psalm 2019-08-04 10:37:36 -04:00
Template Fix #5290 - improve inference of nested class-string template types 2021-02-27 01:00:05 -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 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 Fix not always positive bit operations (#5233) 2021-02-15 23:10:42 -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 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
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 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 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 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
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 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 #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 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 Propagate mutation removal up the context parent tree 2021-02-25 18:11:58 -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 Rename stub to avoid phpstorm conflict (#5213) 2021-02-13 18:42:34 -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 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 Mark variables in throw arguments as used (#5166) 2021-02-06 22:07:01 -05:00
VariadicTest.php Rename stub to avoid phpstorm conflict (#5213) 2021-02-13 18:42:34 -05:00