mirror of
https://github.com/Combodo/iTop.git
synced 2026-04-25 11:38:44 +02:00
Re-dump autoloader and composer.lock
This commit is contained in:
@@ -62,7 +62,7 @@ class WorkflowDumpCommand extends Command
|
||||
$this->definitions = $workflows;
|
||||
trigger_deprecation('symfony/framework-bundle', '6.2', 'Passing an array of definitions in "%s()" is deprecated. Inject a ServiceLocator filled with all workflows instead.', __METHOD__);
|
||||
} else {
|
||||
throw new \TypeError(sprintf('Argument 1 passed to "%s()" must be an array or a ServiceLocator, "%s" given.', __METHOD__, \gettype($workflows)));
|
||||
throw new \TypeError(\sprintf('Argument 1 passed to "%s()" must be an array or a ServiceLocator, "%s" given.', __METHOD__, \gettype($workflows)));
|
||||
}
|
||||
}
|
||||
|
||||
@@ -94,7 +94,7 @@ EOF
|
||||
|
||||
if (isset($this->workflows)) {
|
||||
if (!$this->workflows->has($workflowName)) {
|
||||
throw new InvalidArgumentException(sprintf('The workflow named "%s" cannot be found.', $workflowName));
|
||||
throw new InvalidArgumentException(\sprintf('The workflow named "%s" cannot be found.', $workflowName));
|
||||
}
|
||||
$workflow = $this->workflows->get($workflowName);
|
||||
$type = $workflow instanceof StateMachine ? 'state_machine' : 'workflow';
|
||||
@@ -108,7 +108,7 @@ EOF
|
||||
}
|
||||
|
||||
if (null === $definition) {
|
||||
throw new InvalidArgumentException(sprintf('No service found for "workflow.%1$s" nor "state_machine.%1$s".', $workflowName));
|
||||
throw new InvalidArgumentException(\sprintf('No service found for "workflow.%1$s" nor "state_machine.%1$s".', $workflowName));
|
||||
}
|
||||
|
||||
switch ($input->getOption('dump-format')) {
|
||||
|
||||
Reference in New Issue
Block a user