1
0
mirror of https://github.com/danog/psalm.git synced 2024-12-12 09:19:40 +01:00
psalm/tests
2024-03-26 08:31:33 +13:00
..
Cache Fix additional places where base_dir was broken due to missing separator 2024-02-01 20:11:06 +01:00
Config MissingClassConstType 2024-03-14 14:44:11 -04:00
EndToEnd fix tests running with other than called PHP binary if called with a non-default PHP binary 2024-03-19 13:26:25 +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 fix bad class 2024-03-19 21:17:26 +01:00
Internal Fix https://github.com/vimeo/psalm/issues/7550 2024-03-14 00:55:49 +01:00
LanguageServer CS fix 2024-03-09 18:41:51 +01: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 Don't crash on invalid templates 2024-03-11 01:41:52 +01:00
Traits Use PHP_VERSION_ID instead of version_compare() 2024-03-03 15:21:22 +01:00
Type
TypeReconciliation further improve string-int juggling handling which was previously already improved by me in https://github.com/vimeo/psalm/pull/10481 2024-03-22 23:20:57 +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 Forbid named arguments for ArrayAcccess methods 2024-03-10 00:06:27 +01:00
ArrayAssignmentTest.php When inside isset, array fetch can return null 2024-03-20 02:18:31 +01:00
ArrayFunctionCallTest.php When inside isset, array fetch can return null 2024-03-20 02:18:31 +01:00
ArrayKeysTest.php scientific and underscore notation should be quoted too, since they won't be type juggled 2024-03-23 01:18:23 +01:00
AssertAnnotationTest.php Added test for #10807 2024-03-11 20:09:30 +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
CallableTest.php Merge pull request #10839 from kkmuffme/misc-class-callable-errors-not-reported 2024-03-20 05:51:34 +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 ParamNameMismatch not reported for __construct 2024-03-20 02:01:34 +01: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
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
DeprecatedAnnotationTest.php Initial commit, issue-10490 2023-12-28 07:50:36 -05:00
DocblockInheritanceTest.php
DocCommentTest.php
DocumentationTest.php MissingClassConstType 2024-03-14 14:44:11 -04:00
EnumTest.php Late binding of enum cases 2024-02-05 04:12:19 +01:00
ErrorBaselineTest.php
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 add support for named arguments for filter_var and filter_input 2024-03-13 09:11:17 +01: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
InterfaceTest.php
InternalAnnotationTest.php Namespace anonymous classes 2024-03-03 16:21:20 +01:00
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
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 report error for single param too since named args can even be used then 2024-03-13 19:27:57 +01:00
MethodMutationTest.php
MethodSignatureTest.php report error for single param too since named args can even be used then 2024-03-13 19:27:57 +01:00
MissingClassConstTypeTest.php MissingClassConstType 2024-03-14 14:44:11 -04: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 Don't emit MissingOverrideAttribute for implicit Stringable implementations 2024-03-26 08:31:33 +13: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
PropertyTypeTest.php Promoted properties missing in extended __construct should report PropertyNotSetInConstructor 2024-03-13 14:57:20 +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
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
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 Use wider class-string when combining class strings with intersections 2024-03-09 20:32:20 +01:00
TypeComparatorTest.php Allow more callable types as subtypes of callable 2024-03-10 22:23:01 +01:00
TypeParseTest.php Use wider class-string when combining class strings with intersections 2024-03-09 20:32:20 +01:00
UnresolvableIncludeTest.php
UnsupportedPropertyReferenceUsage.php
UnusedCodeTest.php report error for single param too since named args can even be used then 2024-03-13 19:27:57 +01:00
UnusedVariableTest.php Test for dynamic enum fetch 2024-02-05 21:56:30 +13:00
ValueOfTest.php
VariadicTest.php