1
0
mirror of https://github.com/danog/psalm.git synced 2024-11-27 04:45:20 +01:00
psalm/tests
RJ Garcia 5a008fe1e6
Tests for TypeAnalyzer::isContainedBy on classes (#2971)
- Added additional tests to showcase subtyping

Signed-off-by: RJ Garcia <rj@bighead.net>
2020-03-14 14:48:45 -04:00
..
command_functions Ensured resetting previous memory limit in after test has run. 2020-02-24 21:19:16 -05:00
Config Add params required for 7.1 2020-02-27 18:56:33 -05:00
EndToEnd Make config generation smarter 2020-02-17 22:05:58 -05:00
FileManipulation Fix #2857 - use correct location for byref vars 2020-02-21 00:42:52 -05:00
FileUpdates Fix differ 2020-03-12 21:40:45 -04:00
fixtures Fix #2890 - phpstorm.meta.php scanner should be insensitive to method names 2020-03-01 17:11:44 -05:00
Internal/Provider
LanguageServer
Loop Fix formatting 2020-01-24 14:08:01 -05:00
Progress
Template We can infer this type now 2020-03-11 15:43:44 -04:00
Traits Fix crlf 2020-03-10 13:03:51 -04:00
TypeReconciliation Tests for TypeAnalyzer::isContainedBy on classes (#2971) 2020-03-14 14:48:45 -04:00
AlgebraTest.php
AnnotationTest.php Fix #2914 - falsable functions who only expect true now produce errors 2020-03-09 14:25:18 -04:00
ArgTest.php Allow unpacking of list args with known elements 2020-01-21 10:13:37 -05:00
ArrayAccessTest.php Fix #2787 - make accessing undefined objectlike key an error 2020-02-22 00:29:59 -05:00
ArrayAssignmentTest.php Fix union-of-mixed array key creation 2020-02-22 21:13:14 -05:00
ArrayFunctionCallTest.php Fix #2942 - support array_splice properly for numeric-keyed arrays 2020-03-09 01:15:52 -04:00
AssertAnnotationTest.php Revert countable checks 2020-01-31 15:24:44 -05:00
AssignmentTest.php
BadFormatTest.php
BinaryOperationTest.php Fix #2940 - fix array offset assignment under ??= 2020-03-09 14:09:41 -04:00
CallableTest.php Fix #2871 - prevent keyed arrays from being interpreted as callables 2020-02-24 16:19:33 -05:00
ClassLoadOrderTest.php
ClassScopeTest.php Prevent self/static refs outside classes 2020-03-01 17:25:55 -05:00
ClassStringTest.php Fix #2952 - always be cloning 2020-03-09 18:59:56 -04:00
ClassTest.php Fix overriding of mapped property type visibility 2020-03-11 17:41:05 -04:00
ClosureTest.php
CodebaseTest.php
ComposerLockTest.php
ConstantTest.php Fix support for bitwise or in constant expressions 2020-03-09 00:54:26 -04:00
DeprecatedAnnotationTest.php Fix #2721 - only warn about deprecated classes exactly where they are used 2020-02-22 01:12:19 -05:00
DocblockInheritanceTest.php
DocCommentTest.php Dont add newline before return (#2969) 2020-03-13 12:40:08 -04:00
DocumentationTest.php Fix #2712 - allow __toString to have more specific type 2020-01-29 22:28:40 -05:00
EnumTest.php
ErrorBaselineTest.php Fix commas 2020-02-16 18:30:05 -05:00
FileDiffTest.php Remove some unnecessary errors 2020-02-06 23:10:18 -05:00
FileReferenceTest.php
ForbiddenCodeTest.php
FunctionCallTest.php Fix #2932 - don’t crash when trying to expand callable object-like array 2020-03-09 10:56:37 -04:00
ImmutableAnnotationTest.php Improve fix to #2805 2020-03-14 01:09:12 -04:00
IncludeTest.php make skipping of checks after invalid includes configurable 2020-02-27 18:49:23 -05:00
InterfaceTest.php
InternalAnnotationTest.php
IssueBufferTest.php Fix even more commas 2020-02-16 18:40:59 -05:00
IssueSuppressionTest.php Support suppressing all issues with @psalm-suppress all (#2584) 2020-01-12 10:38:32 -05:00
JsonOutputTest.php Fix #2875 - treat intersections more similarly than before 2020-02-27 18:42:15 -05:00
junit.xsd Validate junit output against xsd 2020-03-08 20:18:35 -05:00
ListTest.php
MagicMethodAnnotationTest.php No erroneous UndefinedMethod when accessing sealed class 2020-03-11 18:27:07 -04:00
MagicPropertyTest.php Add config flag to support properties without a magic getter 2020-02-02 14:23:38 -05:00
MethodCallTest.php Improve magic checks 2020-03-11 18:42:41 -04:00
MethodMutationTest.php Use MethodIdentifier object instead of string 2020-02-14 20:54:26 -05:00
MethodSignatureTest.php Fix abstract trait method implementation errors when using self 2020-01-24 11:15:35 -05:00
MixinAnnotationTest.php
NamespaceTest.php
Php40Test.php
Php55Test.php
Php56Test.php
Php70Test.php
Php71Test.php
ProjectCheckerTest.php
PropertyTypeTest.php Fix #2923 - remove hack to fix a template issue 2020-03-06 09:42:23 -05:00
PsalmInternalAnnotationTest.php
PsalmPluginTest.php
PureAnnotationTest.php Fix #2956 - treat Exception::getMessage as final and mutation-free 2020-03-10 15:12:55 -04:00
ReferenceConstraintTest.php Fix #2910 - prevent ternaries from ever being considered valid reference 2020-03-04 22:30:53 -05:00
ReportOutputTest.php Update test for info level change 2020-03-08 20:18:35 -05:00
ReturnTypeTest.php
StubTest.php Fix #2890 - phpstorm.meta.php scanner should be insensitive to method names 2020-03-01 17:11:44 -05:00
SwitchTypeTest.php Fix bad assertion 2020-02-06 16:32:26 -05:00
TaintTest.php
TestCase.php Minor: Rename function 2020-02-24 21:20:06 -05:00
TestConfig.php TestCase/TestConfig: Allow plugins to reuse these files 2020-02-24 21:20:06 -05:00
ThrowsAnnotationTest.php Ignore exceptions already caught by previous catch 2020-03-08 20:19:56 -05:00
ThrowsInGlobalScopeTest.php
ToStringTest.php Fix #2712 - allow __toString to have more specific type 2020-01-29 22:28:40 -05:00
TraitTest.php Fix location of traits 2020-03-02 23:07:21 -05:00
TryCatchTest.php
TypeAnnotationTest.php
TypeCombinationTest.php Fix #2932 - don’t crash when trying to expand callable object-like array 2020-03-09 10:56:37 -04:00
TypeParseTest.php Fix return type checks 2020-02-22 11:28:24 -05:00
UnusedCodeTest.php Fix #2966 - register constructor use for new $templated_class 2020-03-12 11:42:01 -04:00
UnusedVariableTest.php Fix #2954 - filter out used vars before checking params 2020-03-13 20:21:49 -04:00
VariadicTest.php #2579 TooManyArguments was triggered if the variadic function declared at the autoloader file. Fixed. (#2580) 2020-01-12 11:33:38 -05:00