1
0
mirror of https://github.com/danog/psalm.git synced 2024-11-30 04:39:00 +01:00
psalm/tests
2024-02-06 16:07:48 -04: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 Try to fix template replacement edge case 2024-01-22 13:36:08 +03:00
Traits revert 804087b of https://github.com/vimeo/psalm/issues/10026 2023-11-18 08:55:20 +01:00
Type
TypeReconciliation Fix test by preloading interface 2024-01-29 22:43:05 +01:00
AlgebraTest.php Require trailing commas 2022-12-18 13:20:31 -06:00
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 Fix check-type when using reserved types from within a namespace 2024-02-03 18:09:23 +00:00
AssignmentTest.php Require trailing commas 2022-12-18 13:20:31 -06:00
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 Require trailing commas 2022-12-18 13:20:31 -06:00
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 Recognize casts from object-with-properties to array 2022-12-16 20:12:02 -04:00
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 Negated class_exist check on class-string converts to string instead of mixed 2023-10-08 15:48:48 +01:00
ClassLoadOrderTest.php Add codesniffer rules and expand php-cs-fixer to bin and test 2022-12-14 13:29:09 -06:00
ClassScopeTest.php Require trailing commas 2022-12-18 13:20:31 -06:00
ClassTest.php Fix ClassTest case 2024-01-19 16:59:45 +13:00
CloneTest.php Add codesniffer rules and expand php-cs-fixer to bin and test 2022-12-14 13:29:09 -06:00
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 Require trailing commas 2022-12-18 13:20:31 -06:00
ConstantTest.php Test for dynamic enum fetch 2024-02-05 21:56:30 +13:00
ConstValuesTest.php Add codesniffer rules and expand php-cs-fixer to bin and test 2022-12-14 13:29:09 -06:00
CoreStubsTest.php Fix ownerDocument type 2024-01-31 16:10:51 +06: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 Require trailing commas 2022-12-18 13:20:31 -06:00
DocCommentTest.php Indent docblocks in DocComment test 2023-01-20 18:15:07 -04:00
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 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 Require trailing commas 2022-12-18 13:20:31 -06:00
ExtensionRequirementTest.php Require trailing commas 2022-12-18 13:20:31 -06:00
ExtLibxmlStubTest.php Fix dom_import_simplexml() 2023-01-18 18:31:54 -05:00
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 Require trailing commas 2022-12-18 13:20:31 -06:00
ForbiddenCodeTest.php forbidden function bug and better get_defined_functions() signature 2022-12-24 12:34:40 -06:00
FunctionCallTest.php Suppress UndefinedClass in whatever_exists() 2024-02-05 20:44:09 +01:00
FunctionLikeDocblockParserTest.php Require trailing commas 2022-12-18 13:20:31 -06:00
GeneratorTest.php Require trailing commas 2022-12-18 13:20:31 -06:00
IfThisIsTest.php Require trailing commas 2022-12-18 13:20:31 -06:00
ImmutableAnnotationTest.php fix bugs in tests 2024-01-15 10:11:22 +01:00
ImplementationRequirementTest.php Require trailing commas 2022-12-18 13:20:31 -06:00
IncludeTest.php Handle included directory paths without crashing 2023-04-24 11:09:48 +12:00
InterfaceTest.php Require trailing commas 2022-12-18 13:20:31 -06:00
InternalAnnotationTest.php Require trailing commas 2022-12-18 13:20:31 -06:00
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 Require trailing commas 2022-12-18 13:20:31 -06:00
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 Add codesniffer rules and expand php-cs-fixer to bin and test 2022-12-14 13:29:09 -06:00
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 Flag stdClass::__construct() calls that have arguments 2024-02-06 01:24:18 +01:00
MethodMutationTest.php Require trailing commas 2022-12-18 13:20:31 -06:00
MethodSignatureTest.php Strip callmap prefixes from parameter names 2024-02-06 20:52:42 +01:00
MixinAnnotationTest.php Require trailing commas 2022-12-18 13:20:31 -06:00
NamespaceTest.php Add codesniffer rules and expand php-cs-fixer to bin and test 2022-12-14 13:29:09 -06:00
NativeIntersectionsTest.php Require trailing commas 2022-12-18 13:20:31 -06:00
NativeUnionsTest.php Require trailing commas 2022-12-18 13:20:31 -06:00
OverrideTest.php Apply suggestions from code review 2024-02-04 20:43:08 +01:00
Php40Test.php Add codesniffer rules and expand php-cs-fixer to bin and test 2022-12-14 13:29:09 -06:00
Php55Test.php Add codesniffer rules and expand php-cs-fixer to bin and test 2022-12-14 13:29:09 -06:00
Php56Test.php Add codesniffer rules and expand php-cs-fixer to bin and test 2022-12-14 13:29:09 -06:00
Php70Test.php Add codesniffer rules and expand php-cs-fixer to bin and test 2022-12-14 13:29:09 -06:00
Php71Test.php Add codesniffer rules and expand php-cs-fixer to bin and test 2022-12-14 13:29:09 -06:00
ProjectCheckerTest.php fix psalm v4 hardcoded in tests 2023-12-12 07:51:21 +01:00
PropertiesOfTest.php Require trailing commas 2022-12-18 13:20:31 -06:00
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 ownerDocument type 2024-01-31 16:10:51 +06:00
PsalmPluginTest.php Require trailing commas 2022-12-18 13:20:31 -06:00
PureAnnotationTest.php Fix static magic method pureness not being inherited from traits 2023-11-29 23:22:14 +01:00
PureCallableTest.php Add codesniffer rules and expand php-cs-fixer to bin and test 2022-12-14 13:29:09 -06:00
ReadonlyPropertyTest.php Require trailing commas 2022-12-18 13:20:31 -06:00
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 Reflection class stub updates 2022-12-18 14:35:41 -06:00
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 additional places where base_dir was broken due to missing separator 2024-02-01 20:11:06 +01:00
SuperGlobalsTest.php Merge pull request #9001 from fluffycondor/http_response_header-non-empty-list 2022-12-28 00:27:30 +01:00
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 Fix additional places where base_dir was broken due to missing separator 2024-02-01 20:11:06 +01:00
TestEnvironmentTest.php Added the test to validate test environment itself 2023-02-19 03:52:12 -04:00
ThisOutTest.php Require trailing commas 2022-12-18 13:20:31 -06:00
ThrowsAnnotationTest.php Fix MissingThrowsDocblock when documented interface is extended by thrown exception interface 2023-03-16 12:01:16 +01:00
ThrowsInGlobalScopeTest.php Require trailing commas 2022-12-18 13:20:31 -06:00
ToStringTest.php Delete an invalid test 2023-09-29 11:27:36 +02:00
TraceTest.php Require trailing commas 2022-12-18 13:20:31 -06:00
TraitTest.php PHP 8.2 attributes moved to 8.2 stub 2023-03-03 04:28:37 -04:00
TryCatchTest.php Require trailing commas 2022-12-18 13:20:31 -06:00
TypeAnnotationTest.php Allow typedef imports from any classlike type 2024-01-31 23:07:23 +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 Require trailing commas 2022-12-18 13:20:31 -06:00
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 Test for dynamic enum fetch 2024-02-05 21:56:30 +13:00
ValueOfTest.php feature: provide support for templated value-of enum values 2023-04-15 00:38:12 +02:00
VariadicTest.php Require trailing commas 2022-12-18 13:20:31 -06:00