apply more cs rules for php-cs

This commit is contained in:
2023-10-17 13:27:03 +02:00
parent 0b0cbed9db
commit bc2041cbdd
1485 changed files with 8169 additions and 9620 deletions

View File

@@ -14,7 +14,6 @@ namespace Chill\TaskBundle\DependencyInjection\Compiler;
use Chill\TaskBundle\Event\Lifecycle\TaskLifecycleEvent;
use Chill\TaskBundle\Templating\UI\CountNotificationTask;
use Chill\TaskBundle\Workflow\TaskWorkflowManager;
use LogicException;
use Symfony\Component\DependencyInjection\Compiler\CompilerPassInterface;
use Symfony\Component\DependencyInjection\ContainerBuilder;
use Symfony\Component\DependencyInjection\Reference;
@@ -24,8 +23,7 @@ class TaskWorkflowDefinitionCompilerPass implements CompilerPassInterface
public function process(ContainerBuilder $container)
{
if (!$container->hasDefinition(TaskWorkflowManager::class)) {
throw new LogicException('The service ' . TaskWorkflowManager::class . ' is '
. 'not registered');
throw new \LogicException('The service '.TaskWorkflowManager::class.' is not registered');
}
$workflowManagerDefinition = $container->getDefinition(TaskWorkflowManager::class);