Skip to content

Commit 9c4f702

Browse files
Merge branch '4.4' into 5.1
* 4.4: Update .php_cs.dist Apply "visibility_required" CS rule to constants
2 parents 092d0d1 + c7ec912 commit 9c4f702

File tree

3 files changed

+14
-14
lines changed

3 files changed

+14
-14
lines changed

Dumper/PlantUmlDumper.php

+4-4
Original file line numberDiff line numberDiff line change
@@ -31,10 +31,10 @@ class PlantUmlDumper implements DumperInterface
3131
private const INITIAL = '<<initial>>';
3232
private const MARKED = '<<marked>>';
3333

34-
const STATEMACHINE_TRANSITION = 'arrow';
35-
const WORKFLOW_TRANSITION = 'square';
36-
const TRANSITION_TYPES = [self::STATEMACHINE_TRANSITION, self::WORKFLOW_TRANSITION];
37-
const DEFAULT_OPTIONS = [
34+
public const STATEMACHINE_TRANSITION = 'arrow';
35+
public const WORKFLOW_TRANSITION = 'square';
36+
public const TRANSITION_TYPES = [self::STATEMACHINE_TRANSITION, self::WORKFLOW_TRANSITION];
37+
public const DEFAULT_OPTIONS = [
3838
'skinparams' => [
3939
'titleBorderRoundCorner' => 15,
4040
'titleBorderThickness' => 2,

TransitionBlocker.php

+3-3
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,9 @@
1616
*/
1717
final class TransitionBlocker
1818
{
19-
const BLOCKED_BY_MARKING = '19beefc8-6b1e-4716-9d07-a39bd6d16e34';
20-
const BLOCKED_BY_EXPRESSION_GUARD_LISTENER = '326a1e9c-0c12-11e8-ba89-0ed5f89f718b';
21-
const UNKNOWN = 'e8b5bbb9-5913-4b98-bfa6-65dbd228a82a';
19+
public const BLOCKED_BY_MARKING = '19beefc8-6b1e-4716-9d07-a39bd6d16e34';
20+
public const BLOCKED_BY_EXPRESSION_GUARD_LISTENER = '326a1e9c-0c12-11e8-ba89-0ed5f89f718b';
21+
public const UNKNOWN = 'e8b5bbb9-5913-4b98-bfa6-65dbd228a82a';
2222

2323
private $message;
2424
private $code;

WorkflowEvents.php

+7-7
Original file line numberDiff line numberDiff line change
@@ -20,37 +20,37 @@ final class WorkflowEvents
2020
/**
2121
* @Event("Symfony\Component\Workflow\Event\GuardEvent")
2222
*/
23-
const GUARD = 'workflow.guard';
23+
public const GUARD = 'workflow.guard';
2424

2525
/**
2626
* @Event("Symfony\Component\Workflow\Event\AnnounceEvent")
2727
*/
28-
const ANNOUNCE = 'workflow.announce';
28+
public const ANNOUNCE = 'workflow.announce';
2929

3030
/**
3131
* @Event("Symfony\Component\Workflow\Event\CompletedEvent")
3232
*/
33-
const COMPLETED = 'workflow.completed';
33+
public const COMPLETED = 'workflow.completed';
3434

3535
/**
3636
* @Event("Symfony\Component\Workflow\Event\EnterEvent")
3737
*/
38-
const ENTER = 'workflow.enter';
38+
public const ENTER = 'workflow.enter';
3939

4040
/**
4141
* @Event("Symfony\Component\Workflow\Event\EnteredEvent")
4242
*/
43-
const ENTERED = 'workflow.entered';
43+
public const ENTERED = 'workflow.entered';
4444

4545
/**
4646
* @Event("Symfony\Component\Workflow\Event\LeaveEvent")
4747
*/
48-
const LEAVE = 'workflow.leave';
48+
public const LEAVE = 'workflow.leave';
4949

5050
/**
5151
* @Event("Symfony\Component\Workflow\Event\TransitionEvent")
5252
*/
53-
const TRANSITION = 'workflow.transition';
53+
public const TRANSITION = 'workflow.transition';
5454

5555
private function __construct()
5656
{

0 commit comments

Comments
 (0)