1
0
mirror of https://github.com/danog/psalm.git synced 2024-12-02 09:37:59 +01:00
psalm/tests
2024-03-03 16:27:49 +01:00
..
Cache Fix additional places where base_dir was broken due to missing separator 2024-02-01 20:11:06 +01:00
Config Skip symlink test on Windows 2024-02-25 14:29:20 +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 Strip null used to signify completed iterations in foreach context 2024-02-27 01:04:03 +01:00
Progress
ReturnTypeProvider make basename & dirname return types more specific 2024-01-14 19:01:46 +01:00
Template Allow the test fixed in vimeo/psalm#10778 2024-03-03 15:16:39 +01:00
Traits Use PHP_VERSION_ID instead of version_compare() 2024-03-03 15:21:22 +01:00
Type
TypeReconciliation code style whitespace fixes including for unrelated tests 2024-02-20 22:28:12 +01:00
AlgebraTest.php
AnnotationTest.php @since annotations should only infer PHP version in .phpstub files or for @since 8.0.0 PHP 2024-03-02 11:52:51 +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 Set inside_isset false when analyzing ArrayDimFetch dim 2024-02-26 21:47:05 +13: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 Introduce and use IssueData constants for severity 2023-05-31 12:38:15 +02:00
CallableTest.php Initial support for named parameters for callables 2024-03-02 19:17:48 +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 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 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 Updated docs for comments in Array Shapes with // in the key 2023-07-15 20:15:37 +02:00
ComposerLockTest.php
ConstantTest.php Fix a false flag issue with InvalidConstantAssignmentValue being thrown for constants over a certain length. Usually happens with arrays or lists over 100+ entries in length. 2024-02-23 11:25:34 -07:00
ConstValuesTest.php
CoreStubsTest.php fix PHP 8 tests running with wrong --php-version=/phpVersion= if not explicitly specified 2024-03-03 15:10:03 +01: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 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
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 Set inside_isset = false when analyzing arguments 2024-02-27 22:30:10 +13:00
FunctionLikeDocblockParserTest.php
GeneratorTest.php Disabled wrong test 2024-02-27 01:04:03 +01:00
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 Namespace anonymous classes 2024-03-03 16:21:20 +01: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
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 Add more tests for native intersection types in class properties 2024-02-23 00:33:46 +01:00
NativeUnionsTest.php
OverrideTest.php Allow Override attribute to be used in pure contexts 2024-02-21 12:25:30 +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 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
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 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 Revert "Allow tainted numerics except for 'html' and 'has_quotes'" 2024-02-20 13:55:31 +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 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 Allow multiple spaces between type name and type definition 2024-02-15 23:34:17 +01:00
TypeCombinationTest.php Revert https://github.com/vimeo/psalm/pull/10039 and fix type and test 2024-02-19 14:14:24 +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 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