|
31 | 31 | </ArgumentTypeCoercion> |
32 | 32 | </file> |
33 | 33 | <file src="src/Client/Schedule/Action/StartWorkflowAction.php"> |
34 | | - <DocblockTypeContradiction> |
35 | | - <code><![CDATA[parse]]></code> |
36 | | - <code><![CDATA[parse]]></code> |
37 | | - <code><![CDATA[parse]]></code> |
38 | | - </DocblockTypeContradiction> |
39 | 34 | <InaccessibleProperty> |
40 | 35 | <code><![CDATA[$workflowType->name]]></code> |
41 | 36 | </InaccessibleProperty> |
|
99 | 94 | <code><![CDATA[$this->excludeCalendarList]]></code> |
100 | 95 | <code><![CDATA[$this->excludeCalendarList]]></code> |
101 | 96 | </DeprecatedProperty> |
102 | | - <DocblockTypeContradiction> |
103 | | - <code><![CDATA[parse]]></code> |
104 | | - </DocblockTypeContradiction> |
105 | 97 | </file> |
106 | 98 | <file src="src/Client/ScheduleClient.php"> |
107 | 99 | <DeprecatedProperty> |
|
258 | 250 | <code><![CDATA[getID]]></code> |
259 | 251 | </PossiblyNullReference> |
260 | 252 | </file> |
261 | | - <file src="src/Exception/Client/ServiceClientException.php"> |
262 | | - <ImplementedReturnTypeMismatch> |
263 | | - <code><![CDATA[RepeatedField]]></code> |
264 | | - </ImplementedReturnTypeMismatch> |
265 | | - </file> |
266 | 253 | <file src="src/Exception/Client/WorkflowException.php"> |
267 | 254 | <UnsafeInstantiation> |
268 | 255 | <code><![CDATA[new static(null, $execution, $workflowType, $previous)]]></code> |
|
447 | 434 | </PropertyNotSetInConstructor> |
448 | 435 | </file> |
449 | 436 | <file src="src/Internal/Declaration/Graph/ClassNode.php"> |
450 | | - <ImplicitToStringCast> |
451 | | - <code><![CDATA[list<array{class-string, \ReflectionMethod}>]]></code> |
452 | | - </ImplicitToStringCast> |
453 | 437 | <InvalidReturnType> |
454 | 438 | <code><![CDATA[\Traversable<ClassNode>]]></code> |
455 | 439 | </InvalidReturnType> |
|
515 | 499 | </RedundantConditionGivenDocblockType> |
516 | 500 | <UnnecessaryVarAnnotation> |
517 | 501 | <code><![CDATA[\ReflectionMethod]]></code> |
| 502 | + <code><![CDATA[\Traversable<ClassNode, \ReflectionMethod>]]></code> |
| 503 | + </UnnecessaryVarAnnotation> |
| 504 | + </file> |
| 505 | + <file src="src/Internal/Declaration/Reader/NexusServiceReader.php"> |
| 506 | + <UnnecessaryVarAnnotation> |
| 507 | + <code><![CDATA[\Traversable<ClassNode, \ReflectionMethod>]]></code> |
518 | 508 | </UnnecessaryVarAnnotation> |
519 | 509 | </file> |
520 | 510 | <file src="src/Internal/Declaration/Reader/WorkflowReader.php"> |
|
533 | 523 | <code><![CDATA[$retry !== null]]></code> |
534 | 524 | </RedundantConditionGivenDocblockType> |
535 | 525 | <UnnecessaryVarAnnotation> |
536 | | - <code><![CDATA[\Traversable<class-string, \ReflectionMethod>]]></code> |
| 526 | + <code><![CDATA[\Traversable<ClassNode, \ReflectionMethod>]]></code> |
| 527 | + <code><![CDATA[\Traversable<ClassNode, \ReflectionMethod>]]></code> |
537 | 528 | </UnnecessaryVarAnnotation> |
538 | 529 | </file> |
539 | 530 | <file src="src/Internal/Declaration/WorkflowInstance/QueryDispatcher.php"> |
|
585 | 576 | <code><![CDATA[setDataConverter]]></code> |
586 | 577 | </UndefinedInterfaceMethod> |
587 | 578 | </file> |
588 | | - <file src="src/Internal/Mapper/WorkflowExecutionConfigMapper.php"> |
589 | | - <DocblockTypeContradiction> |
590 | | - <code><![CDATA[parse]]></code> |
591 | | - <code><![CDATA[parse]]></code> |
592 | | - <code><![CDATA[parse]]></code> |
593 | | - <code><![CDATA[parse]]></code> |
594 | | - <code><![CDATA[parse]]></code> |
595 | | - </DocblockTypeContradiction> |
596 | | - <RedundantConditionGivenDocblockType> |
597 | | - <code><![CDATA[parse]]></code> |
598 | | - </RedundantConditionGivenDocblockType> |
599 | | - </file> |
600 | 579 | <file src="src/Internal/Mapper/WorkflowExecutionInfoMapper.php"> |
601 | 580 | <ArgumentTypeCoercion> |
602 | 581 | <code><![CDATA[$execution->getRunId()]]></code> |
|
609 | 588 | <code><![CDATA[getBinaryChecksum]]></code> |
610 | 589 | <code><![CDATA[getMostRecentWorkerVersionStamp]]></code> |
611 | 590 | </DeprecatedMethod> |
612 | | - <DocblockTypeContradiction> |
613 | | - <code><![CDATA[parse]]></code> |
614 | | - <code><![CDATA[parse]]></code> |
615 | | - <code><![CDATA[parse]]></code> |
616 | | - <code><![CDATA[parse]]></code> |
617 | | - <code><![CDATA[parse]]></code> |
618 | | - </DocblockTypeContradiction> |
619 | | - <RedundantConditionGivenDocblockType> |
620 | | - <code><![CDATA[parse]]></code> |
621 | | - </RedundantConditionGivenDocblockType> |
622 | 591 | </file> |
623 | 592 | <file src="src/Internal/Marshaller/Mapper/AttributeMapper.php"> |
624 | 593 | <MissingClosureParamType> |
|
817 | 786 | </DeprecatedConstant> |
818 | 787 | <RedundantCondition> |
819 | 788 | <code><![CDATA[$nullEmpty && $seconds === 0 && $micros === 0]]></code> |
820 | | - <code><![CDATA[parse]]></code> |
821 | 789 | </RedundantCondition> |
822 | | - <TypeDoesNotContainNull> |
823 | | - <code><![CDATA[parse]]></code> |
824 | | - </TypeDoesNotContainNull> |
825 | | - <TypeDoesNotContainType> |
826 | | - <code><![CDATA[parse]]></code> |
827 | | - <code><![CDATA[parse]]></code> |
828 | | - <code><![CDATA[parse]]></code> |
829 | | - <code><![CDATA[parse]]></code> |
830 | | - </TypeDoesNotContainType> |
831 | 790 | </file> |
832 | 791 | <file src="src/Internal/Support/DateTime.php"> |
833 | 792 | <InvalidReturnStatement> |
|
924 | 883 | </ArgumentTypeCoercion> |
925 | 884 | </file> |
926 | 885 | <file src="src/Internal/Transport/Router/StartWorkflow.php"> |
927 | | - <PossiblyFalseArgument> |
928 | | - <code><![CDATA[\json_encode($param)]]></code> |
929 | | - <code><![CDATA[\json_encode($param)]]></code> |
930 | | - </PossiblyFalseArgument> |
931 | 886 | <UnnecessaryVarAnnotation> |
932 | 887 | <code><![CDATA[Input]]></code> |
933 | 888 | </UnnecessaryVarAnnotation> |
|
936 | 891 | <ArgumentTypeCoercion> |
937 | 892 | <code><![CDATA[$e->getMessage()]]></code> |
938 | 893 | </ArgumentTypeCoercion> |
939 | | - <InvalidArgument> |
940 | | - <code><![CDATA[$request]]></code> |
941 | | - <code><![CDATA[$request]]></code> |
942 | | - </InvalidArgument> |
943 | | - <MismatchingDocblockParamType> |
944 | | - <code><![CDATA[RequestInterface]]></code> |
945 | | - </MismatchingDocblockParamType> |
946 | 894 | </file> |
947 | 895 | <file src="src/Internal/Workflow/ActivityProxy.php"> |
948 | 896 | <ArgumentTypeCoercion> |
|
1003 | 951 | <code><![CDATA[$header ?? Header::empty()]]></code> |
1004 | 952 | </PropertyTypeCoercion> |
1005 | 953 | </file> |
| 954 | + <file src="src/Internal/Workflow/NexusOperationStub.php"> |
| 955 | + <ArgumentTypeCoercion> |
| 956 | + <code><![CDATA[$endpoint]]></code> |
| 957 | + <code><![CDATA[$service]]></code> |
| 958 | + </ArgumentTypeCoercion> |
| 959 | + </file> |
| 960 | + <file src="src/Internal/Workflow/NexusServiceProxy.php"> |
| 961 | + <ArgumentTypeCoercion> |
| 962 | + <code><![CDATA[$input->operation]]></code> |
| 963 | + </ArgumentTypeCoercion> |
| 964 | + </file> |
1006 | 965 | <file src="src/Internal/Workflow/Process/DeferredGenerator.php"> |
1007 | 966 | <UnevaluatedCode> |
1008 | 967 | <code><![CDATA[yield;]]></code> |
|
1060 | 1019 | <ArgumentTypeCoercion> |
1061 | 1020 | <code><![CDATA[$input->maxSupported]]></code> |
1062 | 1021 | <code><![CDATA[$input->minSupported]]></code> |
| 1022 | + <code><![CDATA[$input->operation]]></code> |
1063 | 1023 | <code><![CDATA[$input->type]]></code> |
1064 | 1024 | <code><![CDATA[$type]]></code> |
1065 | 1025 | <code><![CDATA[$type]]></code> |
|
1102 | 1062 | <code><![CDATA[$clone->trace = &$this->trace]]></code> |
1103 | 1063 | </UnsupportedPropertyReferenceUsage> |
1104 | 1064 | </file> |
| 1065 | + <file src="src/Nexus/Attribute/AsyncOperation.php"> |
| 1066 | + <DeprecatedClass> |
| 1067 | + <code><![CDATA[NamedArgumentConstructor]]></code> |
| 1068 | + </DeprecatedClass> |
| 1069 | + </file> |
| 1070 | + <file src="src/Nexus/Attribute/Operation.php"> |
| 1071 | + <DeprecatedClass> |
| 1072 | + <code><![CDATA[NamedArgumentConstructor]]></code> |
| 1073 | + </DeprecatedClass> |
| 1074 | + </file> |
| 1075 | + <file src="src/Nexus/Attribute/Service.php"> |
| 1076 | + <DeprecatedClass> |
| 1077 | + <code><![CDATA[NamedArgumentConstructor]]></code> |
| 1078 | + </DeprecatedClass> |
| 1079 | + </file> |
| 1080 | + <file src="src/Nexus/Handler/Internal/WorkflowRunStarter.php"> |
| 1081 | + <DeprecatedConstant> |
| 1082 | + <code><![CDATA[Header::OPERATION_ID]]></code> |
| 1083 | + <code><![CDATA[Header::OPERATION_ID]]></code> |
| 1084 | + </DeprecatedConstant> |
| 1085 | + </file> |
| 1086 | + <file src="src/Nexus/Handler/LinkCollection.php"> |
| 1087 | + <RedundantFunctionCall> |
| 1088 | + <code><![CDATA[\array_values]]></code> |
| 1089 | + </RedundantFunctionCall> |
| 1090 | + </file> |
| 1091 | + <file src="src/Nexus/WorkflowRunOperation.php"> |
| 1092 | + <ArgumentTypeCoercion> |
| 1093 | + <code><![CDATA[$decoded->workflowId]]></code> |
| 1094 | + </ArgumentTypeCoercion> |
| 1095 | + </file> |
1105 | 1096 | <file src="src/Promise.php"> |
1106 | 1097 | <InvalidArgument> |
1107 | 1098 | <code><![CDATA[$reasons]]></code> |
|
1182 | 1173 | </PossiblyNullArgument> |
1183 | 1174 | </file> |
1184 | 1175 | <file src="src/Worker/Transport/Codec/ProtoCodec.php"> |
1185 | | - <LessSpecificReturnStatement> |
1186 | | - <code><![CDATA[$frame->serializeToString()]]></code> |
1187 | | - </LessSpecificReturnStatement> |
1188 | | - <MoreSpecificReturnType> |
1189 | | - <code><![CDATA[string]]></code> |
1190 | | - </MoreSpecificReturnType> |
1191 | 1176 | <PossiblyInvalidArgument> |
1192 | 1177 | <code><![CDATA[$e->getCode()]]></code> |
1193 | 1178 | <code><![CDATA[$e->getCode()]]></code> |
|
1210 | 1195 | </PossiblyNullReference> |
1211 | 1196 | </file> |
1212 | 1197 | <file src="src/Worker/Transport/Codec/ProtoCodec/Encoder.php"> |
1213 | | - <PossiblyFalseArgument> |
1214 | | - <code><![CDATA[\json_encode($cmd->getOptions(), JSON_INVALID_UTF8_IGNORE | JSON_UNESCAPED_UNICODE)]]></code> |
1215 | | - <code><![CDATA[\json_encode($options)]]></code> |
1216 | | - </PossiblyFalseArgument> |
1217 | 1198 | <PossiblyNullArgument> |
1218 | 1199 | <code><![CDATA[$cmd->getFailure()]]></code> |
1219 | 1200 | </PossiblyNullArgument> |
1220 | 1201 | </file> |
1221 | | - <file src="src/Worker/Transport/Command/Client/FailedClientResponse.php"> |
1222 | | - <InvalidNullableReturnType> |
1223 | | - <code><![CDATA[\Throwable]]></code> |
1224 | | - </InvalidNullableReturnType> |
1225 | | - <NullableReturnStatement> |
1226 | | - <code><![CDATA[$this->failure]]></code> |
1227 | | - </NullableReturnStatement> |
1228 | | - </file> |
1229 | 1202 | <file src="src/Worker/Transport/Command/Client/SuccessClientResponse.php"> |
1230 | 1203 | <InvalidNullableReturnType> |
1231 | 1204 | <code><![CDATA[ValuesInterface]]></code> |
|
1360 | 1333 | <code><![CDATA[getUpdateContext]]></code> |
1361 | 1334 | </UndefinedInterfaceMethod> |
1362 | 1335 | </file> |
| 1336 | + <file src="src/Workflow/NexusOperationOptions.php"> |
| 1337 | + <ImpureMethodCall> |
| 1338 | + <code><![CDATA[assert]]></code> |
| 1339 | + <code><![CDATA[parse]]></code> |
| 1340 | + </ImpureMethodCall> |
| 1341 | + </file> |
1363 | 1342 | <file src="src/Workflow/QueryMethod.php"> |
1364 | 1343 | <DeprecatedClass> |
1365 | 1344 | <code><![CDATA[NamedArgumentConstructor]]></code> |
|
1492 | 1471 | <code><![CDATA[$message->getHeader()]]></code> |
1493 | 1472 | <code><![CDATA[$message->getPayloads()]]></code> |
1494 | 1473 | </PossiblyNullArgument> |
1495 | | - <TooManyTemplateParams> |
1496 | | - <code><![CDATA[$fields]]></code> |
1497 | | - <code><![CDATA[$meta]]></code> |
1498 | | - </TooManyTemplateParams> |
1499 | | - </file> |
1500 | | - <file src="testing/src/Transcript/WorkflowHistoryDumper.php"> |
1501 | | - <InvalidOperand> |
1502 | | - <code><![CDATA[$eventTime->getSeconds() + \round($eventTime->getNanos() / 1_000_000_000, 6)]]></code> |
1503 | | - <code><![CDATA[($sec - $startSec) * 1000]]></code> |
1504 | | - </InvalidOperand> |
1505 | | - <PossiblyInvalidOperand> |
1506 | | - <code><![CDATA[$eventTime->getSeconds()]]></code> |
1507 | | - </PossiblyInvalidOperand> |
1508 | 1474 | </file> |
1509 | 1475 | <file src="testing/src/WorkerMock.php"> |
1510 | 1476 | <DeprecatedMethod> |
|
0 commit comments