1
0
mirror of https://github.com/danog/psalm.git synced 2024-11-27 04:45:20 +01:00
psalm/tests
Bruce Weirdan f5a58adcac
Prefer @psalm-template over @phpstan-template (#5713)
* Prefer `@psalm-template` over `@phpstan-template`

Fixes vimeo/psalm#5590

* Prefer `@psalm` templates for methods as well
2021-05-05 21:47:01 -04:00
..
CommandFunctions
Config Remove (and prevent) unused uses (#5704) 2021-05-03 17:22:15 -04:00
EndToEnd Resolve build issues 2021-03-22 19:37:49 -04:00
FileManipulation Infer never return type (#5710) 2021-05-05 01:22:29 -04:00
FileUpdates When there’s an irrecoverqable syntax error invalidate all issues in the file 2021-02-14 21:16:12 -05:00
fixtures Resolve build issues 2021-03-22 19:37:49 -04:00
Internal/Provider Revert "Correct Psalm’s concept of string emptiness" 2021-02-03 01:09:58 -05:00
LanguageServer Remove (and prevent) unused uses (#5704) 2021-05-03 17:22:15 -04:00
Loop Fix object-like array keys when combining string and automatic keys (fixes #5427). (#5428) 2021-03-19 21:44:44 -04:00
Progress
ReturnTypeProvider Support array of objects in array_column() (#5567) 2021-04-04 00:01:01 -04:00
Template Prevent another unsafe template situation, skipping key-of tests for now 2021-05-05 01:06:53 -04:00
Traits Fix object-like array keys when combining string and automatic keys (fixes #5427). (#5428) 2021-03-19 21:44:44 -04:00
TypeReconciliation Fix #5685 - properly negate complex conditionals 2021-05-01 20:00:01 -04: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 Add @ignore-var and @psalm-ignore-var (#5488) 2021-03-26 21:20:23 -04:00
ArgTest.php Report cases where object is coerced into object with properties (#5566) 2021-04-04 00:00:31 -04:00
ArrayAccessTest.php Fix object-like array keys when combining string and automatic keys (fixes #5427). (#5428) 2021-03-19 21:44:44 -04:00
ArrayAssignmentTest.php Fix #5693 - revert fix for #2048 2021-05-01 21:13:42 -04:00
ArrayFunctionCallTest.php Fix array spread false negative that crashes (fixes #5431, reverts #2852) (#5432) 2021-03-19 21:51:36 -04:00
AssertAnnotationTest.php Fix object-like array keys when combining string and automatic keys (fixes #5427). (#5428) 2021-03-19 21:44:44 -04:00
AssignmentTest.php Fix object-like array keys when combining string and automatic keys (fixes #5427). (#5428) 2021-03-19 21:44:44 -04:00
AttributeTest.php Fix object-like array keys when combining string and automatic keys (fixes #5427). (#5428) 2021-03-19 21:44:44 -04:00
BadFormatTest.php
BinaryOperationTest.php ConcatAnalyzer improvements and non-falsy-string fixes. (#5544) 2021-03-31 23:16:21 -04: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 Prefer @psalm-template over @phpstan-template (#5713) 2021-05-05 21:47:01 -04: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
ClassStringTest.php allow $var::class on templates (#5484) 2021-03-26 21:21:38 -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 implement DTO for plugins (#4881) 2021-01-06 09:05:53 -05:00
CommentAnalyzerTest.php Remove (and prevent) unused uses (#5704) 2021-05-03 17:22:15 -04:00
ComposerLockTest.php allow libraries to provide psalm plugins (#5165) 2021-02-06 22:06:00 -05:00
ConstantTest.php Improve type resolution of class constants. (#5591) 2021-04-07 21:56:35 -04:00
ConstValuesTest.php Rename incorrectly-named test 2021-04-25 18:26:00 -04:00
DeprecatedAnnotationTest.php Fix object-like array keys when combining string and automatic keys (fixes #5427). (#5428) 2021-03-19 21:44:44 -04: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
EnumTest.php Support enums (#5699) 2021-05-03 17:54:09 -04:00
ErrorBaselineTest.php
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 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 Fix object-like array keys when combining string and automatic keys (fixes #5427). (#5428) 2021-03-19 21:44:44 -04:00
FunctionCallTest.php Strict int/float comparison for conditional types, improve range return type (#5601) 2021-04-09 11:28:48 -04:00
FunctionLikeDocblockParserTest.php Prefer @psalm-template over @phpstan-template (#5713) 2021-05-05 21:47:01 -04:00
GeneratorTest.php Fix object-like array keys when combining string and automatic keys (fixes #5427). (#5428) 2021-03-19 21:44:44 -04: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 Rename stub to avoid phpstorm conflict (#5213) 2021-02-13 18:42:34 -05: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 object-like array keys when combining string and automatic keys (fixes #5427). (#5428) 2021-03-19 21:44:44 -04:00
IssueBufferTest.php Remove (and prevent) unused uses (#5704) 2021-05-03 17:22:15 -04:00
IssueSuppressionTest.php Suppress issues emitted by MethodComparator at class level (#5711) 2021-05-05 21:46:29 -04:00
JsonOutputTest.php Support enums (#5699) 2021-05-03 17:54:09 -04: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 Checks the intersection type if the magic method does not exist (#5473) 2021-03-24 15:34:05 -04:00
MagicPropertyTest.php Fix object-like array keys when combining string and automatic keys (fixes #5427). (#5428) 2021-03-19 21:44:44 -04: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 Inherit class-level suppressions when checking methods (#5708) 2021-05-03 22:26:56 -04:00
MethodMutationTest.php
MethodSignatureTest.php Forbid rejecting named arguments when parent allows them (#5627) 2021-04-15 06:55:13 -04: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 Fix object-like array keys when combining string and automatic keys (fixes #5427). (#5428) 2021-03-19 21:44:44 -04: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 Remove (and prevent) unused uses (#5704) 2021-05-03 17:22:15 -04:00
PropertyTypeInvarianceTest.php Support template property invariance (fixes #5371) (#5414) 2021-03-19 21:55:50 -04:00
PropertyTypeTest.php Fix #5697 - don’t consider docblocks when checking for invariant properties 2021-05-02 10:45:55 -04:00
PsalmPluginTest.php
PureAnnotationTest.php Fix object-like array keys when combining string and automatic keys (fixes #5427). (#5428) 2021-03-19 21:44:44 -04: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
ReferenceConstraintTest.php Only check param-out when no exception is thrown 2021-03-27 09:50:20 -04:00
ReportOutputTest.php Remove (and prevent) unused uses (#5704) 2021-05-03 17:22:15 -04:00
ReturnTypeTest.php Infer never return type (#5710) 2021-05-05 01:22:29 -04:00
SelfOutTest.php
StubTest.php Allow multiple version-dependent method stubs (#5337) 2021-03-06 17:18:51 -05:00
SwitchTypeTest.php Fix object-like array keys when combining string and automatic keys (fixes #5427). (#5428) 2021-03-19 21:44:44 -04:00
TaintTest.php Taint through reset call 2021-03-28 13:14:35 -04:00
TestCase.php
TestConfig.php
ThrowsAnnotationTest.php
ThrowsInGlobalScopeTest.php
ToStringTest.php Infer never return type (#5710) 2021-05-05 01:22:29 -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 Fix #5696 - combinations of scalars should remove empty-scalar 2021-05-01 20:13:49 -04:00
TypeComparatorTest.php Remove (and prevent) unused uses (#5704) 2021-05-03 17:22:15 -04:00
TypeParseTest.php Support enums (#5699) 2021-05-03 17:54:09 -04:00
UnusedCodeTest.php Fix #5545 - throwing uses method 2021-04-04 21:17:12 -04:00
UnusedVariableTest.php Fix #5517 - don’t let a variable’s by-refness be overwritten by a @var docblock 2021-04-25 15:11:23 -04:00
VariadicTest.php Improve @no-named-arguments support and variadics. (#5455) 2021-03-22 19:58:22 -04:00