1
0
mirror of https://github.com/danog/psalm.git synced 2024-12-11 08:49:52 +01:00
psalm/tests
orklah 0659967d05
Merge pull request #10429 from tscni/fix/trait-call-static
Fix static magic method pureness not being inherited from traits
2023-12-02 14:30:49 +01:00
..
Cache Merge pull request #10289 from ging-dev/add-fix 2023-10-17 20:32:03 +02:00
Config More rector fixes 2023-10-21 20:45:09 +02: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
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 Fix docblock mixed escape hatch 2023-11-21 13:01:55 +01:00
AlgebraTest.php
AnnotationTest.php #10026 fixed AnnotationTest 2023-07-19 22:52:15 +02: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 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
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
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 Fixed ReturnTypeWillChange false positive https://psalm.dev/r/91c6992bf1 with missing return type signature 2023-11-18 08:55:20 +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 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
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
CodebaseTest.php More rector fixes 2023-10-21 20:45:09 +02: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 Disallow never type for parameters 2023-10-08 20:47:37 +02:00
FunctionLikeDocblockParserTest.php
GeneratorTest.php
IfThisIsTest.php
ImmutableAnnotationTest.php
ImplementationRequirementTest.php
IncludeTest.php Handle included directory paths without crashing 2023-04-24 11:09:48 +12:00
InterfaceTest.php
InternalAnnotationTest.php
IntersectionTypeTest.php qa: introduce failing test for type-aliased intersection string 2023-04-11 20:29:08 +02:00
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
ListTest.php
MagicMethodAnnotationTest.php Add support for @psalm-no-seal-properties and @psalm-no-seal-methods 2023-04-20 07:47:50 +01:00
MagicPropertyTest.php Add support for @psalm-no-seal-properties and @psalm-no-seal-methods 2023-04-20 07:47:50 +01:00
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 Support project analysis with file diffing in tests 2023-06-24 14:29:28 +02: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 Fix #9997 2023-08-05 17:07:08 +02: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 fix @param-out with named arguments 2023-10-23 10:39:09 +03:00
ReferenceTest.php UnsupportedPropertyReferenceUsage 2023-05-12 14:12:12 -05:00
ReflectionTest.php
ReportOutputTest.php Introduce and use IssueData constants for severity 2023-05-31 12:38:15 +02:00
ReturnTypeTest.php Add tests for never return type 2023-10-04 21:18:59 +02:00
somefile.php
StubTest.php Remove tests for partially stubbed classes introduced in https://github.com/vimeo/psalm/issues/849, as this didn't work correctly and lead to errors not being reported at all in many cases (since the error was reported for the stubs file and therefore suppressed) 2023-11-18 08:55:20 +01:00
SuperGlobalsTest.php
SwitchTypeTest.php
TaintTest.php Cleanup 2023-11-26 19:46:45 +01:00
TestCase.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
TestConfig.php
TestEnvironmentTest.php
ThisOutTest.php
ThrowsAnnotationTest.php Fix MissingThrowsDocblock when documented interface is extended by thrown exception interface 2023-03-16 12:01:16 +01:00
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 Fix combination of non-falsy-string and falsy literal 2023-07-24 09:07:46 +02:00
TypeComparatorTest.php More rector fixes 2023-10-21 20:45:09 +02:00
TypeParseTest.php Rewrite 2023-04-21 15:49:37 +02:00
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 Fix docblock mixed escape hatch 2023-11-21 13:01:55 +01:00
ValueOfTest.php feature: provide support for templated value-of enum values 2023-04-15 00:38:12 +02:00
VariadicTest.php