1
0
mirror of https://github.com/danog/psalm.git synced 2024-11-27 04:45:20 +01:00
psalm/tests
orklah 3bcfd2e726
allow psalter to add literal string/int in psalm phpdoc (#5844)
* allow psalter to add literal string/int in psalm phpdoc

* fix CS
2021-05-28 09:46:11 -04:00
..
CommandFunctions
Config update hardcoded Psalm version (#5783) 2021-05-17 08:27:08 -05:00
EndToEnd Resolve build issues 2021-03-22 19:37:49 -04:00
FileManipulation allow psalter to add literal string/int in psalm phpdoc (#5844) 2021-05-28 09:46:11 -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 Fix #5810 - detect properties that are never read 2021-05-21 09:25:57 -04:00
LanguageServer Remove (and prevent) unused uses (#5704) 2021-05-03 17:22:15 -04:00
Loop Fix #5298 - improve handling of method that may write properties 2021-05-23 16:22:52 -04:00
Progress
ReturnTypeProvider Support array of objects in array_column() (#5567) 2021-04-04 00:01:01 -04:00
Template Add example given in ticket and ensure that works too 2021-05-24 00:09:51 -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 Assert intersection type when two variables are compared (#5774) 2021-05-18 16:14:58 -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 Allow empty-string in first position of an type (#5814) 2021-05-22 12:36:02 -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 Transform bad offsets (#5817) 2021-05-23 14:43:30 -04:00
ArrayAssignmentTest.php Fix ##5795 - array casts should always be lists 2021-05-19 15:17:50 -04:00
ArrayFunctionCallTest.php Fix ArrayFillReturnTypeProvider - consider second param (#5770) 2021-05-14 20:12:39 -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 better inference of string increment (#5777) 2021-05-17 07:44:53 -05: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 quote offset value (#5760) 2021-05-14 17:19:23 -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 Check whether constructor is internal on new call (#5843) 2021-05-28 09:44:07 -04:00
IssueBufferTest.php Remove (and prevent) unused uses (#5704) 2021-05-03 17:22:15 -04:00
IssueSuppressionTest.php Fix/suppress failures 2021-05-19 15:30:36 -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 Fix #5809 - remove unnecessary issue suppression 2021-05-21 07:35:01 -04:00
MethodMutationTest.php
MethodSignatureTest.php Mixed contains everything (#5763) 2021-05-14 20:23:54 -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 update hardcoded Psalm version (#5783) 2021-05-17 08:27:08 -05: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 update hardcoded Psalm version (#5783) 2021-05-17 08:27:08 -05:00
ReturnTypeTest.php Fix combination of end states with never 2021-05-17 12:35:27 -05:00
SelfOutTest.php
StubTest.php update hardcoded Psalm version (#5783) 2021-05-17 08:27:08 -05:00
SwitchTypeTest.php Fix #5789 - prevent incorrect return type inference when all cases return 2021-05-18 08:52:41 -04:00
TaintTest.php [BUGFIX] Continue processing psalm-flow graph after first taint sink (#5832) 2021-05-26 16:04:22 -04:00
TestCase.php [BUGFIX] Continue processing psalm-flow graph after first taint sink (#5832) 2021-05-26 16:04:22 -04:00
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 combining never/empty twice gives never (#5756) 2021-05-12 18:46:37 -04:00
TypeComparatorTest.php Prioritize TCallableString handling to avoid simpler checks for TLowercaseString vs TString (#5811) 2021-05-21 07:44:26 -04:00
TypeParseTest.php Support enums (#5699) 2021-05-03 17:54:09 -04:00
UnusedCodeTest.php Fix #5810 - detect properties that are never read 2021-05-21 09:25:57 -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