1
0
mirror of https://github.com/danog/psalm.git synced 2024-12-02 09:37:59 +01:00
psalm/tests
2024-01-18 13:10:32 +01: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 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 fix bugs in tests 2024-01-15 10:11:22 +01:00
Traits revert 804087b of https://github.com/vimeo/psalm/issues/10026 2023-11-18 08:55:20 +01:00
Type
TypeReconciliation fix mixed test not actually checking mixed (since superglobals have a more specific type now) 2024-01-15 10:11:22 +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 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 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 ensure concat https://psalm.dev/r/323e33ae8a will be a non-falsy-string 2024-01-13 17:10:19 +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 Initial commit, issue-10490 2023-12-28 07:50:36 -05:00
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 FFI Stubs: Define a set of tests. 2023-02-21 23:08:58 +01:00
FileDiffTest.php More rector fixes 2023-10-21 20:45:09 +02:00
FileReferenceTest.php
ForbiddenCodeTest.php
FunctionCallTest.php fix bugs in tests 2024-01-15 10:11:22 +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 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 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 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 bugs in tests 2024-01-15 10:11:22 +01:00
MethodMutationTest.php
MethodSignatureTest.php fix bugs in tests 2024-01-15 10:11:22 +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 fix bugs in tests 2024-01-15 10:11:22 +01: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 fix bugs in tests 2024-01-15 10:11:22 +01:00
somefile.php
StubTest.php fix psalm v4 hardcoded in tests 2023-12-12 07:51:21 +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 fix psalm v4 hardcoded in tests 2023-12-12 07:51:21 +01:00
TestConfig.php
TestEnvironmentTest.php Added the test to validate test environment itself 2023-02-19 03:52:12 -04:00
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 PHP 8.2 attributes moved to 8.2 stub 2023-03-03 04:28:37 -04:00
TryCatchTest.php
TypeAnnotationTest.php Fix test case for named variadic callable docblock 2023-10-07 16:59:43 +01:00
TypeCombinationTest.php code style 2024-01-13 17:12:41 +01: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 bugs in tests 2024-01-15 10:11:22 +01:00
ValueOfTest.php feature: provide support for templated value-of enum values 2023-04-15 00:38:12 +02:00
VariadicTest.php