1
0
mirror of https://github.com/danog/psalm.git synced 2024-11-27 12:55:26 +01:00
psalm/tests
2024-01-10 13:07:32 -08:00
..
Cache Merge pull request #10289 from ging-dev/add-fix 2023-10-17 20:32:03 +02:00
Config fix psalm v4 hardcoded in tests 2023-12-12 07:51:21 +01:00
EndToEnd Update PsalmRunnerTrait.php 2023-07-01 16:47:42 +02:00
FileManipulation fix offset for type param changes 2023-05-21 18:56:54 +02:00
FileUpdates
fixtures More rector fixes 2023-10-21 20:45:09 +02:00
Internal Fix potential cache race conditions/cache not deleted with non-lowercase file paths and add missing docs 2023-11-18 08:55:20 +01:00
LanguageServer Fix auto-completion with declared static method by DocBlock 2023-10-27 09:35:30 +00:00
Loop Simplify 2023-12-01 17:57:50 +01:00
Progress
ReturnTypeProvider code style + update tests 2023-08-04 23:56:47 +02:00
Template Fix optional args not enforced in callable (fix for non-closure/arrow functions of https://github.com/vimeo/psalm/issues/8438) Fix array callables not treated as callable https://psalm.dev/r/23f3787207 (this is needed to fix the optional args enforcement for array callables too) 2023-11-18 08:55:20 +01:00
Traits revert 804087b of https://github.com/vimeo/psalm/issues/10026 2023-11-18 08:55:20 +01:00
Type
TypeReconciliation filter_input & filter_var return type more specific 2023-12-17 20:34:10 +01:00
AlgebraTest.php
AnnotationTest.php fix: #10496 #10503 2023-12-20 17:16:21 +07:00
ArgTest.php Fix optional args not enforced in callable (fix for non-closure/arrow functions of https://github.com/vimeo/psalm/issues/8438) Fix array callables not treated as callable https://psalm.dev/r/23f3787207 (this is needed to fix the optional args enforcement for array callables too) 2023-11-18 08:55:20 +01:00
ArrayAccessTest.php Fixed https://psalm.dev/r/7f112fd745 - MethodComparator only reported an error for this if the parent class was user defined (= not in stubs), which is wrong, since this will cause a fatal error when running the code 2023-11-18 08:55:20 +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 Fix literal string keys int not handled as int as PHP does 2023-12-13 00:24:50 +01:00
AssertAnnotationTest.php Merge pull request #10189 from boesing/feature/inherited-assertions-v2 2023-09-28 23:07:15 +02:00
AssignmentTest.php
AsyncTestCase.php More rector fixes 2023-10-21 20:45:09 +02:00
AttributeTest.php Add support for Override attribute 2023-12-15 11:14:53 +01:00
BadFormatTest.php
BinaryOperationTest.php Only the binary op 'plus' works with two arrays 2023-09-16 15:55:59 +01:00
ByIssueLevelAndTypeReportTest.php Introduce and use IssueData constants for severity 2023-05-31 12:38:15 +02:00
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 Add alias support to psalm-check-type 2023-10-08 17:46:59 +01:00
ClassLikeDocblockParserTest.php
ClassLikeStringTest.php Negated class_exist check on class-string converts to string instead of mixed 2023-10-08 15:48:48 +01:00
ClassLoadOrderTest.php
ClassScopeTest.php
ClassTest.php qa: modify tests since array keys are not mixed for ArrayObject 2023-09-10 16:06:56 +02: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 Updated docs for comments in Array Shapes with // in the key 2023-07-15 20:15:37 +02:00
ComposerLockTest.php
ConstantTest.php Change __LINE__ to a positive-int 2023-06-17 12:24:09 +01:00
ConstValuesTest.php
CoreStubsTest.php Allow Stringable in sprintf() values 2023-09-28 10:23:02 +02:00
DateTimeTest.php #10026 cleanup phpcs 2023-07-21 22:57:49 +02:00
DeprecatedAnnotationTest.php
DocblockInheritanceTest.php
DocCommentTest.php
DocumentationTest.php More rector fixes 2023-10-21 20:45:09 +02:00
EnumTest.php Fix for inferring enum case value from a class constant 2023-10-10 22:56:36 +02:00
ErrorBaselineTest.php Introduce and use IssueData constants for severity 2023-05-31 12:38:15 +02:00
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 Merge pull request #10500 from kkmuffme/callable-without-args-union-not-handled-correctly 2024-01-09 21:58:14 +01:00
FunctionLikeDocblockParserTest.php
GeneratorTest.php
IfThisIsTest.php
ImmutableAnnotationTest.php make tests work in PHP < 8.2 2023-12-19 11:37:14 +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 Introduce and use IssueData constants for severity 2023-05-31 12:38:15 +02:00
IssueSuppressionTest.php
JsonOutputTest.php
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
MagicPropertyTest.php
MatchTest.php Restore support for null coalesce on match expressions 2023-11-29 02:08:23 +01:00
MethodCallTest.php Fix memory explosion with calls to method_exists 2023-10-17 19:15:23 +01:00
MethodMutationTest.php
MethodSignatureTest.php Fixed https://psalm.dev/r/7f112fd745 - MethodComparator only reported an error for this if the parent class was user defined (= not in stubs), which is wrong, since this will cause a fatal error when running the code 2023-11-18 08:55:20 +01:00
MixinAnnotationTest.php
NamespaceTest.php
NativeIntersectionsTest.php
NativeUnionsTest.php
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 readonly does not have write access, therefore is safe as long as the type is contained in the parent type 2023-06-09 12:37:41 +02:00
PropertyTypeTest.php Omit property assignment tests for SimpleXMLElement 2024-01-10 13:07:32 -08: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 UnsupportedPropertyReferenceUsage 2023-05-12 14:12:12 -05:00
ReflectionTest.php
ReportOutputTest.php fix psalm v4 hardcoded in tests 2023-12-12 07:51:21 +01:00
ReturnTypeTest.php Add tests for never return type 2023-10-04 21:18:59 +02:00
somefile.php
StubTest.php fix psalm v4 hardcoded in tests 2023-12-12 07:51:21 +01:00
SuperGlobalsTest.php
SwitchTypeTest.php
TaintTest.php Cleanup 2023-11-26 19:46:45 +01:00
TestCase.php fix psalm v4 hardcoded in tests 2023-12-12 07:51:21 +01:00
TestConfig.php
TestEnvironmentTest.php
ThisOutTest.php
ThrowsAnnotationTest.php
ThrowsInGlobalScopeTest.php
ToStringTest.php Delete an invalid test 2023-09-29 11:27:36 +02:00
TraceTest.php
TraitTest.php
TryCatchTest.php
TypeAnnotationTest.php Fix test case for named variadic callable docblock 2023-10-07 16:59:43 +01:00
TypeCombinationTest.php dont combine empty string with numeric-string 2023-12-07 20:05:16 +01:00
TypeComparatorTest.php More rector fixes 2023-10-21 20:45:09 +02:00
TypeParseTest.php
UnresolvableIncludeTest.php
UnsupportedPropertyReferenceUsage.php GH-9825 2023-05-26 18:03:05 -04:00
UnusedCodeTest.php fix test 2023-11-13 20:37:48 +01:00
UnusedVariableTest.php Implement by-ref closure use analysis 2023-12-03 15:28:51 +01:00
ValueOfTest.php
VariadicTest.php