DigitalState/Platform-Bpm-Camunda-Bundle

View on GitHub

Showing 1 of 4 total issues

Method _startInstance has 43 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    protected function _startInstance($processDefinitionId, array $variables = [])
    {
        $processDefinitionRequest = new sdk\entity\request\ProcessDefinitionRequest;
        $processDefinitionRequest
            ->setKey($processDefinitionId)
Severity: Minor
Found in Bpm/Api/CamundaApi.php - About 1 hr to fix
    Severity
    Category
    Status
    Source
    Language