1
0
mirror of https://github.com/danog/psalm.git synced 2024-12-02 17:52:45 +01:00
psalm/tests
kkmuffme f035c00a21 Fix non-empty-lowercase-string handling with literal non-lowercase strings
* Fix https://github.com/vimeo/psalm/issues/9782 and related issues
* add explicit handling for non-falsy-string to not fallback non-falsy-string and 0 to string
2024-02-19 11:32:52 +01:00
..
Cache Fix additional places where base_dir was broken due to missing separator 2024-02-01 20:11:06 +01:00
Config fix psalm v4 hardcoded in tests 2023-12-12 07:51:21 +01:00
EndToEnd fix /src/psalm.xml not removed between tests and remove psalm.xml at the end of tests 2024-02-01 20:11:06 +01:00
FileManipulation Allow adding Closure as a native property type 2024-02-04 19:20:54 +01:00
FileUpdates Fix TemporaryUpdateTest cases 2024-01-19 16:59:38 +13:00
fixtures More rector fixes 2023-10-21 20:45:09 +02:00
Internal Strip callmap prefixes from parameter names 2024-02-06 20:52:42 +01:00
LanguageServer Partial revert "Fix auto completion by partial property or method" 2024-01-26 12:23:36 +00:00
Loop fix bugs in tests 2024-01-15 10:11:22 +01:00
Progress
ReturnTypeProvider make basename & dirname return types more specific 2024-01-14 19:01:46 +01:00
Template Use IssueBuffer::maybeAdd() instead of throwing 2024-02-13 09:11:11 +01:00
Traits Fix description InvalidCodeAnalysisWithIssuesTestTrait 2024-02-14 22:17:26 +00:00
Type
TypeReconciliation Fix test by preloading interface 2024-01-29 22:43:05 +01:00
AlgebraTest.php
AnnotationTest.php Improve parsing of psalm-type 2024-02-15 23:34:16 +01:00
ArgTest.php Prevent mixed|null when function param is mixed with a null default value 2024-02-08 20:22:57 +00:00
ArrayAccessTest.php unrelated fix spelling 2024-01-15 10:11:22 +01:00
ArrayAssignmentTest.php Fix literal string keys int not handled as int as PHP does 2023-12-13 00:24:50 +01:00
ArrayFunctionCallTest.php Fix param providers for native methods not working Fix array_filter params callable incorrect required params depending on the 3rd argument value (at this commit psalm doesn't report an error, due to https://github.com/vimeo/psalm/issues/8438, which gets fixed by this PR later on though) Fix https://github.com/vimeo/psalm/issues/3047 and further improve types for array_multisort and add errors for invalid params Fix SimpleTypeInferer failing on bitwise operations with constants 2023-11-18 08:55:20 +01:00
ArrayKeysTest.php Improve tests 2024-01-18 13:10:32 +01:00
AssertAnnotationTest.php Don't show backtrace in InvalidDocblock issue message 2024-02-08 01:20:57 +01:00
AssignmentTest.php
AsyncTestCase.php More rector fixes 2023-10-21 20:45:09 +02:00
AttributeTest.php Move Override tests to separate file 2024-02-04 21:07:27 +13:00
BadFormatTest.php
BinaryOperationTest.php ensure concat https://psalm.dev/r/323e33ae8a will be a non-falsy-string 2024-01-13 17:10:19 +01:00
ByIssueLevelAndTypeReportTest.php
CallableTest.php fix false positive ArgumentTypeCoercion for callback param when unsealed and all optional 2023-12-12 14:13:32 +01:00
CastTest.php
CheckTypeTest.php Support user defined types for psalm-check-type 2024-02-03 18:26:20 +00:00
ClassLikeDocblockParserTest.php Regression and fail tests 2024-02-06 17:01:28 +00:00
ClassLikeStringTest.php
ClassLoadOrderTest.php
ClassScopeTest.php
ClassTest.php Fix ClassTest case 2024-01-19 16:59:45 +13:00
CloneTest.php
ClosureTest.php Implement by-ref closure use analysis 2023-12-03 15:28:51 +01:00
CodebaseTest.php Emit UnusedPsalmSuppress issues for suppressed issues already removed by plugins 2023-12-03 11:45:17 +01:00
CommentAnalyzerTest.php
ComposerLockTest.php
ConstantTest.php Test for dynamic enum fetch 2024-02-05 21:56:30 +13:00
ConstValuesTest.php
CoreStubsTest.php Fix ownerDocument type 2024-01-31 16:10:51 +06:00
DateTimeTest.php
DeprecatedAnnotationTest.php Initial commit, issue-10490 2023-12-28 07:50:36 -05:00
DocblockInheritanceTest.php
DocCommentTest.php
DocumentationTest.php Add MissingOverrideAttribute issue 2024-02-04 21:07:22 +13:00
EnumTest.php Late binding of enum cases 2024-02-05 04:12:19 +01:00
ErrorBaselineTest.php
ExpressionTest.php Fix backtick analysis 2023-11-26 13:12:11 +01:00
ExtendsFinalClassTest.php
ExtensionRequirementTest.php
ExtLibxmlStubTest.php
FFITest.php
FileDiffTest.php More rector fixes 2023-10-21 20:45:09 +02:00
FileReferenceTest.php
ForbiddenCodeTest.php
FunctionCallTest.php Suppress UndefinedClass in whatever_exists() 2024-02-05 20:44:09 +01:00
FunctionLikeDocblockParserTest.php
GeneratorTest.php
IfThisIsTest.php
ImmutableAnnotationTest.php fix bugs in tests 2024-01-15 10:11:22 +01:00
ImplementationRequirementTest.php
IncludeTest.php
InterfaceTest.php
InternalAnnotationTest.php
IntersectionTypeTest.php
IntRangeTest.php fix failing test caused by psalm-suppress as this should be invalidCodeParse test 2023-11-13 19:08:04 +01:00
IssueBufferTest.php
IssueSuppressionTest.php
JsonOutputTest.php fix bugs in tests 2024-01-15 10:11:22 +01:00
junit.xsd
KeyOfArrayTest.php add error for invalid array key type in docblock 2023-12-13 00:23:14 +01:00
ListTest.php
MagicMethodAnnotationTest.php Failed and regression tests with suppression "UndefinedMethod" 2024-02-14 22:17:26 +00:00
MagicPropertyTest.php Failed and regression tests with creation of a list of issues 2024-02-13 17:25:16 +00:00
MatchTest.php Restore support for null coalesce on match expressions 2023-11-29 02:08:23 +01:00
MethodCallTest.php Failed and regression tests with creation of a list of issues 2024-02-13 17:25:16 +00:00
MethodMutationTest.php
MethodSignatureTest.php Failed and regression tests with creation of a list of issues 2024-02-13 17:25:16 +00:00
MixinAnnotationTest.php Failed and regression tests with creation of a list of issues 2024-02-13 17:25:16 +00:00
NamespaceTest.php
NativeIntersectionsTest.php
NativeUnionsTest.php
OverrideTest.php Apply suggestions from code review 2024-02-04 20:43:08 +01:00
Php40Test.php
Php55Test.php
Php56Test.php
Php70Test.php
Php71Test.php
ProjectCheckerTest.php fix psalm v4 hardcoded in tests 2023-12-12 07:51:21 +01:00
PropertiesOfTest.php
PropertyTypeInvarianceTest.php
PropertyTypeTest.php Fix ownerDocument type 2024-01-31 16:10:51 +06:00
PsalmPluginTest.php
PureAnnotationTest.php Fix static magic method pureness not being inherited from traits 2023-11-29 23:22:14 +01:00
PureCallableTest.php
ReadonlyPropertyTest.php
ReferenceConstraintTest.php Implement by-ref closure use analysis 2023-12-03 15:28:51 +01:00
ReferenceTest.php
ReflectionTest.php
ReportOutputTest.php fix psalm v4 hardcoded in tests 2023-12-12 07:51:21 +01:00
ReturnTypeTest.php Forbid constructors from returning any values 2024-02-10 01:34:51 +01:00
somefile.php
StubTest.php Fix additional places where base_dir was broken due to missing separator 2024-02-01 20:11:06 +01:00
SuperGlobalsTest.php
SwitchTypeTest.php fix bugs in tests 2024-01-15 10:11:22 +01:00
TaintTest.php Cleanup 2023-11-26 19:46:45 +01:00
TestCase.php Rename to TestCase::assertHasIssue 2024-02-14 15:42:44 +00:00
TestConfig.php Fix additional places where base_dir was broken due to missing separator 2024-02-01 20:11:06 +01:00
TestEnvironmentTest.php
ThisOutTest.php Process @psalm-this-out on __construct() as well 2024-02-11 01:53:30 +01:00
ThrowsAnnotationTest.php
ThrowsInGlobalScopeTest.php
ToStringTest.php
TraceTest.php
TraitTest.php
TryCatchTest.php
TypeAnnotationTest.php Allow multiple spaces between type name and type definition 2024-02-15 23:34:17 +01:00
TypeCombinationTest.php Fix non-empty-lowercase-string handling with literal non-lowercase strings 2024-02-19 11:32:52 +01:00
TypeComparatorTest.php More rector fixes 2023-10-21 20:45:09 +02:00
TypeParseTest.php Support parsing constants in shapes 2024-02-08 04:30:42 +01:00
UnresolvableIncludeTest.php
UnsupportedPropertyReferenceUsage.php
UnusedCodeTest.php fix test 2023-11-13 20:37:48 +01:00
UnusedVariableTest.php Test for dynamic enum fetch 2024-02-05 21:56:30 +13:00
ValueOfTest.php
VariadicTest.php