1
0
mirror of https://github.com/danog/psalm.git synced 2024-12-05 13:10:49 +01:00
psalm/tests
orklah 57fcc3968e
Merge pull request #8350 from Ocramius/fix/datetime-constructor-is-not-immutable
Added better stubs for `DateTimeImmutable`, highlighting how the constructor is **NOT** immutable
2022-08-07 22:57:43 +02:00
..
CommandFunctions Import instead of using fqn 2021-12-03 20:11:20 +01:00
Config Honour global function suppressions for UndefinedFunction 2022-02-13 00:22:55 +02:00
EndToEnd Increase composer timeout 2022-01-02 07:06:16 +02:00
FileManipulation chore: add another test 2022-05-22 18:38:18 +02:00
FileUpdates drop compatibility aliases 2022-01-19 19:29:16 +01:00
fixtures remove usage of totallyTyped internally 2022-02-12 09:51:06 +01:00
Internal Fix nullable return types for CallMap functions 2022-07-13 22:44:38 -05:00
LanguageServer Set number of lines before and after namespace. 2021-12-15 04:58:32 +01:00
Loop Set number of lines before and after namespace. 2021-12-15 04:58:32 +01:00
Progress Set number of lines before and after namespace. 2021-12-15 04:58:32 +01:00
ReturnTypeProvider Infer object shape when array or scalar is cast to object 2022-05-09 20:31:29 -05:00
Template update tests 2022-08-03 20:12:18 +02:00
Traits Specify required php version for test 2022-02-22 23:41:53 +02:00
Type Format declare(strict_types=1) 2021-12-15 04:42:37 +01:00
TypeReconciliation update tests 2022-08-03 20:12:18 +02:00
AlgebraTest.php Set number of lines before and after namespace. 2021-12-15 04:58:32 +01:00
AnnotationTest.php Merge pull request #7157 from nowaja/master 2021-12-15 18:37:26 +01:00
ArgTest.php Infer object shape when array or scalar is cast to object 2022-05-09 20:31:29 -05:00
ArrayAccessTest.php Set number of lines before and after namespace. 2021-12-15 04:58:32 +01:00
ArrayAssignmentTest.php Coerce null to empty string in array keys 2022-06-06 17:41:42 -04:00
ArrayFunctionCallTest.php add test case for implode() 2022-05-14 23:36:51 +09:00
AssertAnnotationTest.php Merge pull request #7309 from orklah/emptyStringKeyedArray 2022-01-06 09:37:28 +01:00
AssignmentTest.php Set number of lines before and after namespace. 2021-12-15 04:58:32 +01:00
AttributeTest.php Fix crash when redefining method with fewer params (fixes #8141). 2022-06-26 06:27:46 -05:00
BadFormatTest.php Set number of lines before and after namespace. 2021-12-15 04:58:32 +01:00
BinaryOperationTest.php Fix non-empty encapsed string check. 2022-06-24 20:28:04 -05:00
CallableTest.php Fix analysis when __invoke() exists 2022-01-06 21:22:18 +01:00
ClassLikeDocblockParserTest.php Set number of lines before and after namespace. 2021-12-15 04:58:32 +01:00
ClassLikeStringTest.php Set number of lines before and after namespace. 2021-12-15 04:58:32 +01:00
ClassLoadOrderTest.php Set number of lines before and after namespace. 2021-12-15 04:58:32 +01:00
ClassScopeTest.php Set number of lines before and after namespace. 2021-12-15 04:58:32 +01:00
ClassTest.php Set number of lines before and after namespace. 2021-12-15 04:58:32 +01:00
CloneTest.php Handle some partials 2021-12-04 21:55:53 +01:00
ClosureTest.php update tests 2022-08-03 20:12:18 +02:00
CodebaseTest.php Set number of lines before and after namespace. 2021-12-15 04:58:32 +01:00
CommentAnalyzerTest.php Set number of lines before and after namespace. 2021-12-15 04:58:32 +01:00
ComposerLockTest.php Set number of lines before and after namespace. 2021-12-15 04:58:32 +01:00
ConstantTest.php Fix object constant inference 2022-01-31 23:03:34 +03:00
ConstValuesTest.php Set number of lines before and after namespace. 2021-12-15 04:58:32 +01:00
CoreStubsTest.php Make DatePeriod implement Traversable oh PHP 7, rename constructor params 2022-07-25 17:11:36 +03:00
DeprecatedAnnotationTest.php allow marking enum cases as @deprecated 2021-12-22 06:16:42 +01:00
DocblockInheritanceTest.php Set number of lines before and after namespace. 2021-12-15 04:58:32 +01:00
DocCommentTest.php Set number of lines before and after namespace. 2021-12-15 04:58:32 +01:00
DocumentationTest.php Document @psalm-ignore-variable-* 2022-04-08 00:30:23 +02:00
EnumTest.php Update stub 2022-02-23 00:52:53 +02:00
ErrorBaselineTest.php Set number of lines before and after namespace. 2021-12-15 04:58:32 +01:00
ExtendsFinalClassTest.php Handle some partials 2021-12-04 21:55:53 +01:00
ExtensionRequirementTest.php Handle some partials 2021-12-04 21:55:53 +01:00
FileDiffTest.php Set number of lines before and after namespace. 2021-12-15 04:58:32 +01:00
FileReferenceTest.php Set number of lines before and after namespace. 2021-12-15 04:58:32 +01:00
ForbiddenCodeTest.php Handle some partials 2021-12-04 21:55:53 +01:00
FunctionCallTest.php fix test 2022-01-09 00:37:16 +01:00
FunctionLikeDocblockParserTest.php update test cases 2022-06-15 12:31:53 +02:00
GeneratorTest.php Set number of lines before and after namespace. 2021-12-15 04:58:32 +01:00
IfThisIsTest.php Fix self parsing for psalm-if-this-is and psalm-self-out 2022-01-16 16:11:40 +03:00
ImmutableAnnotationTest.php fix test 2021-12-30 22:39:30 +01:00
ImplementationRequirementTest.php Handle some partials 2021-12-04 21:55:53 +01:00
IncludeTest.php drop compatibility aliases 2022-01-19 19:29:16 +01:00
InterfaceTest.php Set number of lines before and after namespace. 2021-12-15 04:58:32 +01:00
InternalAnnotationTest.php Improve @psalm-internal and prevent usage of IssueBuffer::add(). 2022-06-25 02:09:40 -05:00
IntRangeTest.php Fix TypeCombiner::combine to not modify TIntRange arguments. 2022-06-02 12:36:41 -05:00
IssueBufferTest.php Strip colours from success message 2022-02-09 15:35:40 +02:00
IssueSuppressionTest.php allow suppressing unevaluatedCode 2021-12-29 00:44:48 +01:00
JsonOutputTest.php Set number of lines before and after namespace. 2021-12-15 04:58:32 +01:00
junit.xsd Validate junit output against xsd 2020-03-08 20:18:35 -05:00
ListTest.php allow SimpleTypeInferer to infer non empty lists 2022-02-24 20:57:29 +01:00
MagicMethodAnnotationTest.php AtomicStaticCallAnalyzer: clear tmp var from context (fix #7556) 2022-02-02 13:51:54 +01:00
MagicPropertyTest.php PHP 8.2: seal all properties by default, add configuration key for lower versions 2022-01-10 10:11:28 +01:00
MatchTest.php Set number of lines before and after namespace. 2021-12-15 04:58:32 +01:00
MethodCallTest.php Simplified DateTimeImmutable::format(): always returns a string 2022-08-05 13:21:28 +02:00
MethodMutationTest.php Set number of lines before and after namespace. 2021-12-15 04:58:32 +01:00
MethodSignatureTest.php Revert "PHP 8.1: Report missing typehints in overridden native methods" 2022-01-31 14:37:42 +02:00
MixinAnnotationTest.php AtomicStaticCallAnalyzer: clear tmp var from context (fix #7556) 2022-02-02 13:51:54 +01:00
NamespaceTest.php Set number of lines before and after namespace. 2021-12-15 04:58:32 +01:00
Php40Test.php Set number of lines before and after namespace. 2021-12-15 04:58:32 +01:00
Php55Test.php Set number of lines before and after namespace. 2021-12-15 04:58:32 +01:00
Php56Test.php Set number of lines before and after namespace. 2021-12-15 04:58:32 +01:00
Php70Test.php Set number of lines before and after namespace. 2021-12-15 04:58:32 +01:00
Php71Test.php Set number of lines before and after namespace. 2021-12-15 04:58:32 +01:00
ProjectCheckerTest.php Set number of lines before and after namespace. 2021-12-15 04:58:32 +01:00
PropertyTypeInvarianceTest.php Set number of lines before and after namespace. 2021-12-15 04:58:32 +01:00
PropertyTypeTest.php Set number of lines before and after namespace. 2021-12-15 04:58:32 +01:00
PsalmPluginTest.php drop compatibility aliases 2022-01-19 19:29:16 +01:00
PureAnnotationTest.php fix test 2022-01-07 19:39:24 +01:00
PureCallableTest.php Set number of lines before and after namespace. 2021-12-15 04:58:32 +01:00
ReadonlyPropertyTest.php #7731 - recognize @psalm-allow-private-mutation in PHP 8+ constructors 2022-07-29 16:50:56 +03:00
ReferenceConstraintTest.php Set number of lines before and after namespace. 2021-12-15 04:58:32 +01:00
ReportOutputTest.php Count Report Format 2022-07-10 17:50:50 -05:00
ReturnTypeTest.php update tests 2022-08-03 20:12:18 +02:00
somefile.php create real path for Psalm to stop ignoring suppressions 2021-08-19 19:31:58 +02:00
StubTest.php Set number of lines before and after namespace. 2021-12-15 04:58:32 +01:00
SuperGlobalsTest.php Handle some partials 2021-12-04 21:55:53 +01:00
SwitchTypeTest.php flag the context as "inside_conditional" when analyzing leftover cases to prevent emitting unused error 2021-12-23 22:18:27 +01:00
TaintTest.php Fix false positive for unused variable in try (fixes #7613). 2022-02-13 15:14:59 -06:00
TestCase.php More attribute fixes. 2022-03-14 14:15:07 -05:00
TestConfig.php Set number of lines before and after namespace. 2021-12-15 04:58:32 +01:00
ThisOutTest.php Set number of lines before and after namespace. 2021-12-15 04:58:32 +01:00
ThrowsAnnotationTest.php Set number of lines before and after namespace. 2021-12-15 04:58:32 +01:00
ThrowsInGlobalScopeTest.php Set number of lines before and after namespace. 2021-12-15 04:58:32 +01:00
ToStringTest.php Set number of lines before and after namespace. 2021-12-15 04:58:32 +01:00
TraceTest.php Set number of lines before and after namespace. 2021-12-15 04:58:32 +01:00
TraitTest.php Attribute analysis improvements. 2022-02-23 22:12:32 -06:00
TryCatchTest.php Set number of lines before and after namespace. 2021-12-15 04:58:32 +01:00
TypeAnnotationTest.php Set number of lines before and after namespace. 2021-12-15 04:58:32 +01:00
TypeCombinationTest.php Set number of lines before and after namespace. 2021-12-15 04:58:32 +01:00
TypeComparatorTest.php Set number of lines before and after namespace. 2021-12-15 04:58:32 +01:00
TypeParseTest.php Set number of lines before and after namespace. 2021-12-15 04:58:32 +01:00
UnresolvableIncludeTest.php Set number of lines before and after namespace. 2021-12-15 04:58:32 +01:00
UnusedCodeTest.php drop compatibility aliases 2022-01-19 19:29:16 +01:00
UnusedVariableTest.php update tests 2022-08-03 20:12:18 +02:00
VariadicTest.php Set number of lines before and after namespace. 2021-12-15 04:58:32 +01:00