8000 bug #19849 [Workflow] Make PropertyAccess required dependency (OndraM) · symfony/symfony@a565fae · GitHub
[go: up one dir, main page]

Skip to content

Commit a565fae

Browse filesBrowse files
committed
bug #19849 [Workflow] Make PropertyAccess required dependency (OndraM)
This PR was merged into the 3.2-dev branch. Discussion ---------- [Workflow] Make PropertyAccess required dependency | Q | A | ------------- | --- | Branch? | master (3.2 is not yet released) | Bug fix? | yes | New feature? | no | BC breaks? | no | Deprecations? | no | Tests pass? | N/A | Fixed tickets | N/A | License | MIT | Doc PR | N/A Hi, when using Workflow as a standalone component (and instantiating new `Workflow()` instance), I'm getting errors like: ``` PHP Fatal error: Class 'Symfony\Component\PropertyAccess\PropertyAccess' not found in .../workflow-example/vendor/symfony/workflow/MarkingStore/PropertyAccessorMarkingStore.php on line 37 ``` The reason is the PropertyAccessorMarkingStore (and the ScalarMarkingStore as well) [uses](https://github.com/symfony/symfony/blob/master/src/Symfony/Component/Workflow/MarkingStore/PropertyAccessorMarkingStore.php#L14) PropertyAccess class. So it is basically not possible to use the component without the symfony/property-access. Is this correct @lyrixx? Commits ------- 5957412 [Workflow] Make PropertyAccess required dependency
2 parents c3ec1c2 + 5957412 commit a565fae

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Symfony/Component/Workflow/composer.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,12 +20,12 @@
2020
}
2121
],
2222
"require": {
23-
"php": ">=5.5.9"
23+
"php": ">=5.5.9",
24+
"symfony/property-access": "~2.3|~3.0"
2425
},
2526
"require-dev": {
2627
"psr/log": "~1.0",
2728
"symfony/event-dispatcher": "~2.1|~3.0",
28-
"symfony/property-access": "~2.3|~3.0",
2929
"twig/twig": "~1.14"
3030
},
3131
"autoload": {

0 commit comments

Comments
 (0)
0