Skip to content

Commit b9c3e5a

Browse files
committed
minor #61040 chore: PHP CS Fixer fixes (keradus)
This PR was squashed before being merged into the 7.4 branch. Discussion ---------- chore: PHP CS Fixer fixes | Q | A | ------------- | --- | Branch? | 7.4 | Bug fix? | no | New feature? | no <!-- please update src/**/CHANGELOG.md files --> | Deprecations? | no <!-- please update UPGRADE-*.md and src/**/CHANGELOG.md files --> | Issues | Fix CS <!-- prefix each issue number with "Fix #", no need to create an issue if none exists, explain below instead --> | License | MIT with love by [PHP Coding Standards Fixer](https://cs.symfony.com/) Commits ------- 536986f2b37 chore: PHP CS Fixer fixes
2 parents c8c2b51 + d90ae1b commit b9c3e5a

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

DependencyInjection/FrameworkExtension.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1165,7 +1165,7 @@ private function registerWorkflowConfiguration(array $config, ContainerBuilder $
11651165
$workflow['definition_validators'][] = match ($workflow['type']) {
11661166
'state_machine' => Workflow\Validator\StateMachineValidator::class,
11671167
'workflow' => Workflow\Validator\WorkflowValidator::class,
1168-
default => throw new \LogicException(\sprintf('Invalid workflow type "%s".', $workflow['type'])),
1168+
default => throw new \LogicException(\sprintf('Invalid workflow type "%s".', $workflow['type'])),
11691169
};
11701170

11711171
// Create Workflow

Tests/DependencyInjection/PhpFrameworkExtensionTest.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -440,10 +440,10 @@ public function testValidatorEmailValidationMode(string $mode)
440440

441441
$this->createContainerFromClosure(function (ContainerBuilder $container) use ($mode) {
442442
$container->loadFromExtension('framework', [
443-
'annotations' => false,
444-
'http_method_override' => false,
445-
'handle_all_throwables' => true,
446-
'php_errors' => ['log' => true],
443+
'annotations' => false,
444+
'http_method_override' => false,
445+
'handle_all_throwables' => true,
446+
'php_errors' => ['log' => true],
447447
'validation' => [
448448
'email_validation_mode' => $mode,
449449
],

0 commit comments

Comments
 (0)