1
0
mirror of https://github.com/danog/psalm.git synced 2024-11-27 12:55:26 +01:00
psalm/tests
Benjamin Morel 5748a4e25a
Fix PdoStatementReturnTypeProvider (#4683)
* Fix PdoStatementReturnTypeProvider

Methods returning scalars may return null as well.

* Fix tests
2020-11-23 18:41:12 -05:00
..
CommandFunctions
Config allow static return type in PHP8 (#4641) 2020-11-20 18:46:35 -05:00
EndToEnd Fix test 2020-11-20 19:07:48 -05:00
FileManipulation Fix test 2020-11-23 13:14:40 -05:00
FileUpdates Fix tests 2020-11-08 11:04:39 -05:00
fixtures Break apart complex method 2020-11-09 00:58:45 -05:00
Internal/Provider Fix #4464 - bust cache when Psalm’s version changes, not just composer’s 2020-11-01 09:01:53 -05:00
LanguageServer
Loop Fix #4467 - variables are only the same if they were set in the same location 2020-11-01 11:26:42 -05:00
Progress
Template Fix #4545 - allow intersections in more places 2020-11-13 09:43:30 -05:00
Traits Ensure Stringable is always available to tests that need it 2020-10-29 19:41:10 -04:00
TypeReconciliation Fix #4637 - prevent regression when negating function call with === false 2020-11-20 09:56:53 -05:00
AlgebraTest.php Fix overeager inference 2020-11-03 16:44:24 -05:00
AnnotationTest.php Fix int-mask-of expansion 2020-11-02 00:40:36 -05:00
ArgTest.php Allow named arguments to variadic functions (#4575) 2020-11-16 15:49:27 -05:00
ArrayAccessTest.php Detect trying to access to a list with a negative offset (#4552) 2020-11-15 20:26:50 -05:00
ArrayAssignmentTest.php Fix tests 2020-11-23 15:51:58 -05:00
ArrayFunctionCallTest.php Use more accurate comparison for non-empty-lists 2020-10-28 13:32:55 -04:00
AssertAnnotationTest.php Fix #4414 - allow multiple @psalm-assert-if-true on same var 2020-10-25 10:49:39 -04:00
AssignmentTest.php
AttributeTest.php Fix #4609 - add more attribute rules 2020-11-22 01:15:52 -05:00
BadFormatTest.php
BinaryOperationTest.php Narrow inference of $a <=> $b from "int" to "-1|0|1" (#4680) 2020-11-23 13:10:51 -05:00
CallableTest.php
ClassLoadOrderTest.php
ClassScopeTest.php
ClassStringTest.php
ClassTest.php Fix tests 2020-11-08 11:04:39 -05:00
CloneTest.php
ClosureTest.php Add descendant variables for closure uses 2020-11-09 15:20:28 -05:00
CodebaseTest.php
ComposerLockTest.php
ConstantTest.php Fix #4479 - use correct keys in message 2020-11-05 10:13:08 -05:00
DeprecatedAnnotationTest.php
DocblockInheritanceTest.php Fix #4537 - use more rigorous inerhitance for return and param types 2020-11-12 13:54:27 -05:00
DocCommentTest.php
DocumentationTest.php Break out TaintedInput issues into a lot of separate ones 2020-11-17 12:44:31 -05:00
EnumTest.php
ErrorBaselineTest.php
ExtendsFinalClassTest.php
ExtensionRequirementTest.php Initial proposal for psalm-require-{extends, implements} (#4361) 2020-10-19 15:08:18 -04:00
FileDiffTest.php
FileReferenceTest.php
ForbiddenCodeTest.php
FunctionCallTest.php
GeneratorTest.php
ImmutableAnnotationTest.php
ImplementationRequirementTest.php Initial proposal for psalm-require-{extends, implements} (#4361) 2020-10-19 15:08:18 -04:00
IncludeTest.php
InterfaceTest.php Fix #4537 - use more rigorous inerhitance for return and param types 2020-11-12 13:54:27 -05:00
InternalAnnotationTest.php
IssueBufferTest.php
IssueSuppressionTest.php
JsonOutputTest.php Fix #4349 - improve types for suggested unions 2020-10-16 17:56:31 -04:00
junit.xsd
ListTest.php
MagicMethodAnnotationTest.php
MagicPropertyTest.php
MatchTest.php Fix #4544 - improve handling of get_class in match 2020-11-13 11:55:42 -05:00
MethodCallTest.php Fix PdoStatementReturnTypeProvider (#4683) 2020-11-23 18:41:12 -05:00
MethodMutationTest.php
MethodSignatureTest.php Fix #4537 - use more rigorous inerhitance for return and param types 2020-11-12 13:54:27 -05:00
MixinAnnotationTest.php
NamespaceTest.php
Php40Test.php
Php55Test.php
Php56Test.php Fix int-mask-of expansion 2020-11-02 00:40:36 -05:00
Php70Test.php
Php71Test.php
ProjectCheckerTest.php
PropertyTypeTest.php Fix #4540 - use correct method when simulating property setting 2020-11-12 23:56:29 -05:00
PsalmPluginTest.php
PureAnnotationTest.php
PureCallableTest.php
ReferenceConstraintTest.php
ReportOutputTest.php Add SARIF as report output (#4582) 2020-11-17 13:23:20 -05:00
ReturnTypeTest.php Add support for @return never 2020-11-04 12:30:02 -05:00
SelfOutTest.php
StubTest.php Fix #4509 - treat expression-derived constants as mixed 2020-11-08 15:36:38 -05:00
SwitchTypeTest.php
TaintTest.php Move param taint sink addition after arguuments have been analysed 2020-11-22 19:39:40 -05:00
TestCase.php Add SARIF as report output (#4582) 2020-11-17 13:23:20 -05:00
TestConfig.php
ThrowsAnnotationTest.php
ThrowsInGlobalScopeTest.php
ToStringTest.php Ensure Stringable is always available to tests that need it 2020-10-29 19:41:10 -04:00
TraceTest.php
TraitTest.php Track final-ness of class when evaluating trait returns 2020-10-25 12:20:18 -04:00
TryCatchTest.php Fix #4418 - improve try analysis for mixed, too 2020-10-26 09:05:48 -04:00
TypeAnnotationTest.php Fix #4653 - prevent crash with recursive type in root namespace 2020-11-22 00:26:14 -05:00
TypeCombinationTest.php Don’t erase already-known literal ints 2020-11-21 18:26:13 -05:00
TypeParseTest.php Add support for int-mask<...> and int-mask-of<...> 2020-10-30 13:28:45 -04:00
UnusedCodeTest.php Fix #4386 - fix issues with property promotion 2020-10-21 14:41:15 -04:00
UnusedVariableTest.php Fix #4472 - if something flows into a byref var it’s used 2020-11-17 15:30:53 -05:00
VariadicTest.php