Skip to content

Commit 4581e55

Browse files
Merge branch '7.2' into 7.3
* 7.2: - - CS fixes
2 parents 238b84b + 3bcb0c8 commit 4581e55

File tree

3 files changed

+7
-8
lines changed

3 files changed

+7
-8
lines changed

DataCollector/WorkflowDataCollector.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ public function buildMermaidLiveLink(string $name): string
101101
'autoSync' => false,
102102
];
103103

104-
$compressed = zlib_encode(json_encode($payload), ZLIB_ENCODING_DEFLATE);
104+
$compressed = zlib_encode(json_encode($payload), \ZLIB_ENCODING_DEFLATE);
105105

106106
$suffix = rtrim(strtr(base64_encode($compressed), '+/', '-_'), '=');
107107

DependencyInjection/WorkflowValidatorPass.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@
1414
use Symfony\Component\Config\Resource\FileResource;
1515
use Symfony\Component\DependencyInjection\Compiler\CompilerPassInterface;
1616
use Symfony\Component\DependencyInjection\ContainerBuilder;
17-
use Symfony\Component\DependencyInjection\Exception\LogicException;
1817

1918
/**
2019
* @author Grégoire Pineau <[email protected]>

Tests/Dumper/MermaidDumperTest.php

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ public static function provideWorkflowDefinitionWithoutMarking(): iterable
104104
."transition4-->place6\n"
105105
."transition5[\"t6\"]\n"
106106
."place5-->transition5\n"
107-
."transition5-->place6",
107+
.'transition5-->place6',
108108
];
109109
yield [
110110
self::createWorkflowWithSameNameTransition(),
@@ -124,7 +124,7 @@ public static function provideWorkflowDefinitionWithoutMarking(): iterable
124124
."transition2-->place0\n"
125125
."transition3[\"to_a\"]\n"
126126
."place2-->transition3\n"
127-
."transition3-->place0",
127+
.'transition3-->place0',
128128
];
129129
yield [
130130
self::createSimpleWorkflowDefinition(),
@@ -140,7 +140,7 @@ public static function provideWorkflowDefinitionWithoutMarking(): iterable
140140
."linkStyle 1 stroke:Grey\n"
141141
."transition1[\"t2\"]\n"
142142
."place1-->transition1\n"
143-
."transition1-->place2",
143+
.'transition1-->place2',
144144
];
145145
}
146146

@@ -169,7 +169,7 @@ public static function provideWorkflowWithReservedWords(): iterable
169169
."place1-->transition0\n"
170170
."transition1[\"t1\"]\n"
171171
."place2-->transition1\n"
172-
."transition1-->place3",
172+
.'transition1-->place3',
173173
];
174174
}
175175

@@ -186,7 +186,7 @@ public static function provideStateMachine(): iterable
186186
."place3-->|\"My custom transition label 3\"|place1\n"
187187
."linkStyle 1 stroke:Grey\n"
188188
."place1-->|\"t2\"|place2\n"
189-
."place1-->|\"t3\"|place3",
189+
.'place1-->|"t3"|place3',
190190
];
191191
}
192192

@@ -212,7 +212,7 @@ public static function provideWorkflowWithMarking(): iterable
212212
."linkStyle 1 stroke:Grey\n"
213213
."transition1[\"t2\"]\n"
214214
."place1-->transition1\n"
215-
."transition1-->place2",
215+
.'transition1-->place2',
216216
];
217217
}
218218
}

0 commit comments

Comments
 (0)